Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Social buttons like GP Hooks

Home Forums Support Social buttons like GP Hooks

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #343881
    Jose Antonio

    Hi! How are you?

    I want to use social buttons generated with Elementor Page Builder before and after of the posts of a blog. I write this code in GP Hooks (In “After Entry Title” and “After Content”) but don’t appears nothing in screen.

    <?php if ( is_single() ) {
    echo do_shortcode(“[elementor-template id=”254021″]”);
    } ?>

    What’s wrong? Where is error?

    Thanks!

    GeneratePress 1.3.48
    GP Premium 1.3.1
    #344003
    Leo
    Staff
    Customer Support

    Hi there,

    Wrong quotation I think. Try this:

    <?php if ( is_single() ) { 
        echo do_shortcode("[elementor-template id='254021']");
    } ?>

    Let me know.

    #344341
    Jose Antonio

    Yes! It’s right! All is working now! Thank you! 🙂

    #344503
    Leo
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.