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.
-
AuthorPosts
-
July 24, 2016 at 9:15 am #6907
Riccardo
Participanthttps://it.wordpress.org/plugins/adrotate/
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 #6910acmesupports
ModeratorHello Riccardo,
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 onacmethemes/hooks
. You can customize the theme as your need too.Note: Child Theme is recommended to customize theme.
Warm Regards,
Acme SupportsJuly 24, 2016 at 4:23 pm #6919Riccardo
ParticipantI 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 #6920acmesupports
ModeratorIf you want to use it in sidebar, you can add the Widget
Text
orAT Advertisement
widget 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 you
July 27, 2016 at 9:16 am #7050Riccardo
ParticipantYou can not put a default widget potion as a banner at the top ??
July 27, 2016 at 9:43 am #7053acmesupports
ModeratorYou 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 You
July 28, 2016 at 2:58 pm #7090Riccardo
ParticipantIt is activated but if I want to put my code does not work.
In fact, you can not show us the AdRotate plugin banner
July 28, 2016 at 4:59 pm #7102acmesupports
ModeratorTry 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 You
July 31, 2016 at 8:44 am #7226Riccardo
ParticipantIn the sidebar works.
If I enter the above code does not funzona …July 31, 2016 at 4:56 pm #7240acmesupports
ModeratorThat 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.Thank You
-
AuthorPosts
- You must be logged in to reply to this topic.