- This topic has 5 replies, 2 voices, and was last updated 12 years, 3 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Place Fancy Display after all my single posts
Hello everyone,
I am new to this and don’t always know the language to look up the various things I want to do.
For example, right now I run Amazon ads after my single posts. (See an example here: http://www.scottishterriernews.com/2012/05/the-difficulties-of-training-a-scottish-terrier-puppy.html)
I want to place a fancy display there (the one in the top righthand corner will do to start).
Could you please point me towards the instructions on how to do this.
Thanks in advance,
AnnB
Two questions for you:
1. What shortcode did you use to place the fancy display product on the top right hand corner?
2. Did you edit your template file (single.php) to put that amazon ad there?
Hello again,
1. The short code is [wp_eStore_buy_now_fancy id=2]
2. Yes I edit the PHP to place ads there. I just don’t understand how to convert the eStore short codes into the format needed to place into the PHP. (And I also don’t seem to have the right language to describe the things I want to do)
Thx,
AnnB
Use the following PHP code where you placed your ad before:
<?php echo show_product_fancy_style("2"); ?>
2 is the product ID in this example so you will need to modify it to match with your product ID.
Alternatively, you can use the following:
<?php echo do_shortcode("[wp_eStore_buy_now_fancy id=2]"); ?>
Great thanks. I’ll give it a try.
It’s working well so of course now I have something else I have to do but I’m going to start a new thread called “Multiple fancy displays for the same product”