• Resolved Nico

    (@gooloode)


    Hi, i can’t add wpDiscuz on Glossary Pages, even though that would be a great place to get questions from readers (i use it for cosmetic ingredients). I’ve contacted the Developer and they say it’s on your behalf to add the comments_template funtion.

    “Hello,

    You should contact the Glossary plugin support and ask them to support the WordPress native (core) <?php comments_template() ?> function, so the wpDiscuz will work fine. The wpDiscuz can’t be loaded without the function.”.

    See here: https://www.ads-software.com/support/topic/wpdiscuz-on-glossary/#post-16057806

    Please update that, so that wpDiscuz/Comments can be loaded on Glossary Pages. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Our post type disabled the comments, so you can add that support with this tiny php snippet:

    function comment_support_for_my_custom_post_type() {
       add_post_type_support( 'glossary', 'comments' );
    }
    
    add_action( 'init', 'comment_support_for_my_custom_post_type' );

    After this, that plugin will be able to add the comments.

    Thread Starter Nico

    (@gooloode)

    Thank you very much, worked perfectly! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add’ is closed to new replies.