Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #720444

    Hi,

    How to Insert the adsense code below the share buttons in blog post?

    Thanks

    #721427

    any idea, a solution please?

    #721780

    Hi,

    Thank you for using Enfold.

    Please use the “ava_after_content” action hook in combination with the is_single conditional function.

    add_action('ava_after_content', function($id, $content) {
    	if(is_single()){
    		?>
    		// code here
    		<?php
    	}
    });

    Best regards,
    Ismael

    #721943

    Hi ismael, thanks, use this code in functions.php?

    Thanks

    #721951

    I have placed it at the end of functions.php but appears text covering the buttons

    https://s30.postimg.org/5a7efpm2p/Sin_t_tulo_1.jpg

    thanks

    #722943

    Hey!

    Please post the code on pastebin.com and we’ll test it on our own installation. Or post the login details here.

    Cheers!
    Ismael

    #732070

    Hey Thanks Ismael,

    finally i put de Adsense code at the top of the related.post.php file and work prefect

    Thank you!

    #732459

    Hi,

    Great, glad you found a solution :-)

    Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

    #740940

    Ok close ticket

    #741596

    Hi,

    Thanks for that. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Insert code below the share buttons in blog post’ is closed to new replies.