Okay
  Public Ticket #3100859
Comments
Closed

Comments

  • Nathan started the conversation

    I added the wpDiscuz plug-in to enable comments. It does work with the pages but when I tried to add comments to a Sonaar playlist it does not seem to show them.

    I followed the wpDiscuz support suggestions but still it does not work. As a last resource they recommended to add the following, but I am not sure what should the 'my post type' be and where should I add this code if it is the way to fix the problem: (thank you)

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


  •  669
    Alexandre replied

    Hello Nathan,

    The post type name is "sr_playlist"

    Thanks,


    Alexandre from the Sonaar.io Crew

  •   Nathan replied privately
  •  669
    Alexandre replied

    Hello Nathan,
    I didnt try it, so I cant tell if this will work.
    Please activate the sonaar child-theme if this is not already the case. 
    In the child theme folder, edit the function.php file.
    Insert your code at the end

    Thanks,


    Alexandre from the Sonaar.io Crew

  •   Nathan replied privately