Support » Plugin: Nice Likes » Custom location don’t work

  • Resolved drac022

    (@drac022)


    Hola!

    Before and after locations works fine, but when I select “custom location” and I instert the code <?php do_action( ‘nice_likes_custom’ ); ?> where I want, the counter don’t appear.

    Nothing breaks in console…

    What I’m doing bad? Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Juanfra Aldasoro

    (@juanfra)

    Hi,

    Thank you for writing. I hope you are doing well.

    Have you tried adding this instead?

    do_action( 'nice_likes_custom_location' );

    Best,
    Juan.

    Nada!

    Doesn’t work!

    FYI: It’s a custom theme.

    • This reply was modified 1 year, 3 months ago by  drac022.
    Plugin Contributor Juanfra Aldasoro

    (@juanfra)

    Thanks for the follow-up.

    Ok, where are you adding the code? in a particular template? single template or another?

    Do you have the site online to take a look?

    Best,
    Juan.

    I’m adding the code in a single template.

    It’s a private site. Where can I send you login access?

    • This reply was modified 1 year, 3 months ago by  drac022.
    Plugin Contributor Juanfra Aldasoro

    (@juanfra)

    Thank you for the follow-up.

    Would you please send it to support@nicethemes.com ?

    Thank you,
    Juan.

    Plugin Contributor Juanfra Aldasoro

    (@juanfra)

    Hola Edu!

    Thanks for sharing your details with us.

    Please, check the template hierarchy of your theme, it seems that the single.php template is not executed when visiting the link you’ve shared with me. For example, if I add an HTML comment it is not rendered in the HTML. I can see you have different ‘single-*.php’ files in your theme. Please be sure that you add the action in the one that is actually being executed.

    Best,
    Juan.

    Finally, the last update of the plugin resolve the unkown problem.
    Thanks!

    Plugin Contributor Juanfra Aldasoro

    (@juanfra)

    Thanks for the follow-up 🙂

    That’s great news.

    Have a good day,
    Juan.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Custom location don’t work’ is closed to new replies.