Title: Shortcode Not Working
Last modified: June 27, 2019

---

# Shortcode Not Working

 *  [codeepiphany](https://wordpress.org/support/users/codeepiphany/)
 * (@codeepiphany)
 * [7 years ago](https://wordpress.org/support/topic/shortcode-not-working-292/)
 * 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 7 years ago by [codeepiphany](https://wordpress.org/support/users/codeepiphany/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-not-working-292%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Jason Chong](https://wordpress.org/support/users/dantianhealth/)
 * (@dantianhealth)
 * [7 years ago](https://wordpress.org/support/topic/shortcode-not-working-292/#post-11690892)
 * 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](https://wordpress.org/support/users/joelcj91/)
 * (@joelcj91)
 * [7 years ago](https://wordpress.org/support/topic/shortcode-not-working-292/#post-11691044)
 * Hey [@dantianhealth](https://wordpress.org/support/users/dantianhealth/) & [@codeepiphany](https://wordpress.org/support/users/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.
 *  [Jason Chong](https://wordpress.org/support/users/dantianhealth/)
 * (@dantianhealth)
 * [7 years ago](https://wordpress.org/support/topic/shortcode-not-working-292/#post-11691096)
 * [@joelcj91](https://wordpress.org/support/users/joelcj91/) I have emailed you
 *  [hardwarehound](https://wordpress.org/support/users/hardwarehound/)
 * (@hardwarehound)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-working-292/#post-11741107)
 * 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 6 years, 11 months ago by [hardwarehound](https://wordpress.org/support/users/hardwarehound/).
 *  [metallikat36](https://wordpress.org/support/users/metallikat36/)
 * (@metallikat36)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-working-292/#post-11783960)
 * [@joelcj91](https://wordpress.org/support/users/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
 *  [metallikat36](https://wordpress.org/support/users/metallikat36/)
 * (@metallikat36)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-working-292/#post-11787571)
 * [@joelcj91](https://wordpress.org/support/users/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.
 *  [hardwarehound](https://wordpress.org/support/users/hardwarehound/)
 * (@hardwarehound)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-working-292/#post-11787597)
 * > 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/](https://www.hwhound.com/finding-the-best-cpu-cooler-comparisons/)
 * [@metallikat36](https://wordpress.org/support/users/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
    -  This reply was modified 6 years, 11 months ago by [hardwarehound](https://wordpress.org/support/users/hardwarehound/).
    -  This reply was modified 6 years, 11 months ago by [hardwarehound](https://wordpress.org/support/users/hardwarehound/).
 *  [metallikat36](https://wordpress.org/support/users/metallikat36/)
 * (@metallikat36)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-working-292/#post-11787611)
 * [@hardwarehound](https://wordpress.org/support/users/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 6 years, 11 months ago by [metallikat36](https://wordpress.org/support/users/metallikat36/).
 *  [hardwarehound](https://wordpress.org/support/users/hardwarehound/)
 * (@hardwarehound)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-working-292/#post-11787769)
 * 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://wordpress.org/plugins/easy-table-of-contents/](https://wordpress.org/plugins/easy-table-of-contents/)

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

The topic ‘Shortcode Not Working’ is closed to new replies.

 * ![](https://ps.w.org/disqus-conditional-load/assets/icon-128x128.png?rev=1643519)
 * [Disqus Conditional Load](https://wordpress.org/plugins/disqus-conditional-load/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/disqus-conditional-load/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/disqus-conditional-load/)
 * [Active Topics](https://wordpress.org/support/plugin/disqus-conditional-load/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/disqus-conditional-load/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/disqus-conditional-load/reviews/)

## Tags

 * [conflict](https://wordpress.org/support/topic-tag/conflict/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 9 replies
 * 5 participants
 * Last reply from: [hardwarehound](https://wordpress.org/support/users/hardwarehound/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-working-292/#post-11787769)
 * Status: not resolved