How insert adrotate in your theme - Acme Themes

Best Premium and Free WordPress Themes Forums SuperMagPro How insert adrotate in your theme

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #6907
    Riccardo
    Participant

    https://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 you

    #6910
    acmesupports
    Moderator

    Hello 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 on acmethemes/hooks. You can customize the theme as your need too.

    Note: Child Theme is recommended to customize theme.

    Warm Regards,
    Acme Supports

    #6919
    Riccardo
    Participant

    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.

    #6920
    acmesupports
    Moderator

    If you want to use it in sidebar, you can add the Widget Text or AT 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

    #7050
    Riccardo
    Participant

    You can not put a default widget potion as a banner at the top ??

    #7053
    acmesupports
    Moderator

    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 You

    #7090
    Riccardo
    Participant

    It is activated but if I want to put my code does not work.

    In fact, you can not show us the AdRotate plugin banner

    #7102
    acmesupports
    Moderator

    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 You

    #7226
    Riccardo
    Participant

    In the sidebar works.
    If I enter the above code does not funzona …

    #7240
    acmesupports
    Moderator

    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.

    Thank You

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.