Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Joel James

    (@joelcj91)

    Hi Jeffrey,
    Yes. Disqus comments replaces that with #disqus_thread. And here in our plugin, if you have enabled conditional load this will not work. If you disable conditional load it should work.
    Btw, thanks for the info. I will add this option (opening comments when clicking on #disqus_thread) on next update.

    Thread Starter jeffreyd000

    (@jeffreyd000)

    Thanks for the reply!
    I am using Genesis and I ended up just making action to add the correct anchor tag and added it to my functions.php inserting

    I’ll happily remove it when your next version includes the ‘fix’.

    My Code:

    /**add anchor tag for comments lazyload disqus**/
    
    function add_discus_lazy_load_anchor () {
      echo '<div class="disqus-anchor"><a name="respond"></a></div>';
    };
    add_action('genesis_after_entry_content', 'add_discus_lazy_load_anchor');

    Plugin Author Joel James

    (@joelcj91)

    Hi Jeffryd000,
    Please update the plugin and check. Issue is fixed. If still not working, enable “Output JavaScript in footer” in Disqus settings tab.

    Thread Starter jeffreyd000

    (@jeffreyd000)

    hi,

    still not working for me in either button or lazy load mode. ;(
    my anchor tag is #respond

    I’ll just leave my functions code in and consider it resolved..

    Plugin Author Joel James

    (@joelcj91)

    Did you check “Output javascript in footer” ?

    Thread Starter jeffreyd000

    (@jeffreyd000)

    I was checked to begin with. I toggled it off (saved) toggled it back on (saved again) and it’s working!!! Fabulous!!!! I’ve made a donation to you.

    Plugin Author Joel James

    (@joelcj91)

    Thank you so much jeffreyd000. Feel free to contact me for any help.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Change Anchor Tag’ is closed to new replies.