Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #496824

    I want show adsense ads above pagination.

    I’m use grid blog layout. Please help me.

    #497100

    Hey subrakavi!

    Thank you for using Enfold.

    You can modify the config-templatebuilder > avia-shortcodes > postslider.php file. Place the adsense somewhere before this line of code:

    if(!empty($avia_pagination)) $output .= "<div class='pagination-wrap pagination-slider'>{$avia_pagination}</div>";
    

    Best regards,
    Ismael

    #497652

    Thanks for your support..

    I’m placing adsense code with your guidance but it has error..

    Parse error: syntax error, unexpected ‘<‘ in /home/——/public_html/wp-content/themes/Enfold/config-templatebuilder/avia-shortcodes/postslider.php on line 443

    Please help me..

    Thanks.

    #497665

    Hi!

    Please add your code right above the line Ismael mentioned as following

    echo ' YOUR CODE HERE ';

    Cheers!
    Yigit

    #497691

    Thanks Yigit!

    Ads now showing but its showing at top of the page. I want show ads between content and pagination. Im awaiting for your replay. Thanks..

    #498112

    Friends.. I need your help..

    #498429

    Hey!

    Please find the code Ismael mentioned

    if(!empty($avia_pagination)) $output .= "<div class='pagination-wrap pagination-slider'>{$avia_pagination}</div>";

    and change it to following

    if(!empty($avia_pagination)) $output .= "YOUR CODE GOES HERE<div class='pagination-wrap pagination-slider'>{$avia_pagination}</div>";

    make sure to change all double quotes in your code to single quotes or you will crash your site.

    Regards,
    Yigit

    #498479

    Thanks for replaying.

    But it has error! (sorry!).
    Parse error: syntax error, unexpected ‘Botom’ (T_STRING), expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in /home/—-/public_html/wp-content/themes/Enfold/config-templatebuilder/avia-shortcodes/postslider.php on line 445

    Awaiting for your replay.

    Thanks

    • This reply was modified 9 years, 2 months ago by subrakavi.
    #498515

    Hi!

    Please post FTP access and admin logins here privately

    Regards,
    Yigit

    #498553

    Im providing login credential. Every time active visitors on my site is above 35+. So please take care my site to save my active users.

    • This reply was modified 9 years, 2 months ago by subrakavi.
    #498578

    Yigit! Im waiting for your support! Please..

    #498599

    Hi!

    When posting a message again, it goes last to the list, that is why Yigit could not assist faster.

    The code you posted is wrong. Please copy the code Yigit provided from the post and not from the email that arrived.

    Thanks a lot

    Cheers!
    Basilis

    #498673

    Using this plugin https://wordpress.org/plugins/wordpress-plugin-for-simple-google-adsense-insertion/ I generate short-code.

    Then I insert shortcode instead of “YOUR CODE GOES HERE” This is perfectly working.

    Finally the successful codes look likes if(!empty($avia_pagination)) $output .= "[wp_ad_camp_5]<div class='pagination-wrap pagination-slider'>{$avia_pagination}</div>";

    Thanks for awesome support.

    #498995

    Hi!

    Great! Glad you found the plugin. :)

    Cheers!
    Ismael

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Adsense ads above pagination.’ is closed to new replies.