• Resolved listronosz

    (@listronosz)


    Hello,

    I’m using Novelist plugin and I love it. But there is one thing I would like to ask you. Is there a way to enable comments on a book single page? I can’t find ‘Discussion’ or ‘Comments’ in the screen options.
    Could you tell me what should I do to enable comments?

    Thank you in advance.

    Best regards,
    Kamil

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ashley

    (@nosegraze)

    Hi Kamil!

    You’d need to use the novelist/cpt/book-supports filter to modify the supports argument in the register_post_type() function. For example:

    function ag_novelist_book_supports( $supports ) {
        $supports[] = 'comments';
    
        return $supports;
    }
    add_filter( 'novelist/cpt/book-supports', 'ag_novelist_book_supports' );
    Thread Starter listronosz

    (@listronosz)

    Thank you very much for your quick answer.
    Now it’s working like a charm!

    Best regards,
    Kamil

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