• I have attempted to use both provided shortcodes on a custom post type, and neither are actually pulling up Disqus comments (or the ability to write them). Based on where they are put in the code, I’d expect them to appear right above the Author block at the bottom of the story.

    have tried both of these with the same result:

    
    <?php
    echo do_shortcode('[js-disqus]');
    ?>
    
    <?php
    echo do_shortcode('[dcl-comments]');
    ?>

    Let me know if you need further WP access to diagnose! Thank you in advance for taking a look.

    Best,
    Sean

    • This topic was modified 5 years, 5 months ago by codeepiphany.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • I am having a similar issue with the shortcode on pages only.
    The shortcode works fine on posts.
    Disqus loads fine on pages if I don’t use the shortcode.
    When using shortcode on pages I see the code loaded in page source, but nothing displays on page.
    Hope to see some resolution on this soon!

    Plugin Author Joel James

    (@joelcj91)

    Hey @dantianhealth & @codeepiphany,

    Can anyone of you create a staging copy of your site and share the credentials with me? I couldn’t reproduce this even after multiple attempts. You can contact me through me [at] joelsays [dot] com.

    @joelcj91 I have emailed you

    Was there an easy answer to this? I’m having the same issue trying to get the shortcode to work on a pillar content page I want comments to load with.

    • This reply was modified 5 years, 4 months ago by hardwarehound.

    @joelcj91 I sent you a staging copy months ago over these same issues. I think you must have missed it. I am emailing you another staging copy momentarily. My issues are as follows:

    1. Like others, I used to have no plugin update notifications coming through until I reinstalled DCL comments.
    2. The DISQUS thread does not load on posts so long as I have another plugin called CM Table Of Contents Pro active. However, custom text I have added above the thread does load at the bottom of my posts. Once I deactivate the plugin, the thread once again loads fine on posts.
    3. In any case, shortcode does not work on pages. No custom text above the thread appears on any pages either. I have tried the multiple shortcode commands you have mentioned in other threads.

    Official DISQUS plugin does not conflict with my other plugin. DCL-comments used to not conflict with the other plugin. If DCL can’t be fixed, do you know how I can get the official DISQUS plugin to load comments on pages?

    Thanks,
    David

    @joelcj91 Update: I found how to fix a part of the problem. If I go to my Pages on my WordPress dashboard, and then Quick Edit a page, I have an option to check a box “Allow Comments”. If I do that, the comment thread reappears on the page. So the shortcode works. Perhaps one of the DCL plugin updates disabled this setting on all pages, as it used to work.

    However, I still face the issue of a pluginc conflict that prevents the thread from loading until I deactivate the other plugin. This issue only appeared after an update.

    Update: I found how to fix a part of the problem. If I go to my Pages on my WordPress dashboard, and then Quick Edit a page, I have an option to check a box “Allow Comments”. If I do that, the comment thread reappears on the page. So the shortcode works. Perhaps one of the DCL plugin updates disabled this setting on all pages, as it used to work.

    This fixed my issue entirely. My comments are now loading on the page I wanted, as well as my posts. Here’s the link just to see the page I’m talking about. https://www.hwhound.com/finding-the-best-cpu-cooler-comparisons/

    @metallikat36 Did you try disabling your plugins one by one to see if there’s one particular one causing your problem? I assume you probably did, but doesn’t hurt to ask.

    Sorry your issue is still there though. Thank you a ton for at least getting a fix for one of us. =D

    @hardwarehound Happy to help. At least now though if I use the official DISQUS plugin things work. That will be my fix until someone figures out the other issue.

    Yes, I did discover there is a conflict with a plugin called CM Table of Contents. If I disable it, DCL loads. This conflict appeared after a DCL update.

    • This reply was modified 5 years, 4 months ago by metallikat36.

    Oh duh! If I read your previous reply I would have seen that you said that already. Sorry for making you type it out again.

    I’m using Easy Table of Contents and it doesn’t cause any problems with DCL. Don’t know if Easy ToC would work for your environment, but here’s the plugin link.

    https://www.ads-software.com/plugins/easy-table-of-contents/

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Shortcode Not Working’ is closed to new replies.