Best Premium and Free WordPress Themes › Forums › SuperMagPro › How insert adrotate in your theme
- This topic has 9 replies, 2 voices, and was last updated 6 years, 7 months ago by acmesupports.
July 24, 2016 at 9:15 am #6907
I Use AdRotate but can not enter the header banner of your theme.
The plugin provides me with the following codes for banners.
<?php echo adrotate_ad(1); ?> or [adrotate banner=”1″]
How do I put them?
Thank youJuly 24, 2016 at 10:28 am #6910
Thank for your question. You can add the header banner image from Appearance > Customize > Featured Section. Find Doc here.
If you want to add your own slider there, you have to customize the theme. You will find the codes on
acmethemes/hooks. You can customize the theme as your need too.
Note: Child Theme is recommended to customize theme.
Acme SupportsJuly 24, 2016 at 4:23 pm #6919
I have to enter the code that the plugin generates AdRotate me.
Why should I change the theme?
If I enter the code you see in siedbar.July 24, 2016 at 5:00 pm #6920
If you want to use it in sidebar, you can add the Widget
AT Advertisementwidget to paste that shortcode and that widget on the Sidebars available.
Go to Appearance > Customize > Widgets and add that widgets on the respected sidebars.
Hope, this will help you.
Thank youJuly 27, 2016 at 9:16 am #7050
You can not put a default widget potion as a banner at the top ??July 27, 2016 at 9:43 am #7053
You want to add the advertisement on the top section ? Is that options Customizer > Header Options > Header Advertisement is not suitable for you ? Please elaborate the issues.
Thank YouJuly 28, 2016 at 2:58 pm #7090
It is activated but if I want to put my code does not work.
In fact, you can not show us the AdRotate plugin bannerJuly 28, 2016 at 4:59 pm #7102
Try adding the code on text widget and place the widgets on the sidebar. If it will work, you can use it on other place of theme, either by widgets or from theme code.
Try once it and let us know about the result.
Thank YouJuly 31, 2016 at 8:44 am #7226
In the sidebar works.
If I enter the above code does not funzona …July 31, 2016 at 4:56 pm #7240
That shortcode may not support by the widget. Please add the this code
add_filter('widget_text', 'do_shortcode');in functions.php file and try adding the above shortcodes. Please have a look details about it here.
- You must be logged in to reply to this topic.