I want to include the php code plugin reference WP Pro Advertising System in the home of my site, the code that the team plugin says that we must place it is <?php echo do_shortcode(“[pro_ad_display_adzone id=310]”); ?>, but I can not locate that file do,
http://wordpress-advertising.tunasite.com/docs/using-template-tag/
” The “template tag” is the solution to add adzones to places on your website where you can’t use shortcodes or widgets. It allows you to hard code the adzone into your theme files on the exact location where you want the adzone to be.
You can find the template tag for each adzone in the advertising menu under Adzones -> Get Code -> Template Tag.
Note: The template tag requires some PHP knowledge. It has to be added into your theme files so if you don’t know how to add the template tag contact your theme developer, provide him the template tag and ask where it should be added to show the adzone where you want it to be.”
Hi,
s the instructions go from the plugin provider, you have to provide us with the information where you want to ad to be. You mentioned your homepage, but that is not enough. Where on your homepage?
If you want to add it inside the homepage post content, you will have to add the shortcode through visual composer, not through the theme files.
Please provide more details to where you want the ad.
Thank you!
Hi,
If you want to add it in the sidebar you will have to ask the plugin author for a method of implementing it into a wordpress sidebar. There is no simple way of adding a do_shortcode on a specific sidebar. This plugin is not tested so i cannot provide any official implementation methods. Ask the plugin author for a sidebar implementation guide. We have no idea of the plugin functionality and we cannot provide ni implementation methods. The one described above using do_shortcode will not work in a sidebar. it will work on post templates and inside the page content, but not on a sidebar. Except for the case in which the sidebar is added through visual composer on a split row. Then you can ad the shortcode inside the sidebar of that page, but not on a sidebar created in the widgets section of WP.
Thank you!
