Chris
Sophomore
Just Getting Started
Member Likes (0)
Hi,
I have a classifieds website and would like to add a Social Marketing free ad coupon option to one of the pages (static template) that are displayed when posting an ad. I would have to add the code to the template.php file. Is there a way to do this perhaps using an "if function exists" etc. call?

Responses (3)
Inactive (joined February 2012) Likes (0)
Hello Chris,
Welcome to the Forum!
Can the page render WordPress functions? If so you can create a Social Marketing Ad and use it in this fashion:
<?php echo do_shortcode('[wdsm_ad id="171" class=" " ]'); ?>of course replacing the shortcode with yours.
Let me know how that goes. Good luck!
Member (joined May 2012) Likes (0)
Perfect! Toitally awesome and thank you for the quick help!
Inactive (joined February 2012) Likes (0)
Great, glad to hear that :)
Enjoy your weekend!
Become a member