Support » Plugin: Sideways8 Private Pages » Adding comments to custom page template

  • Resolved wmetellus



    Thanks so much for this awesome plugin. I am currently using it to build a client portal, where clients can log into a page just for them and comment on images uploaded by an admin.

    I was able to add the comment PHP to the custom template but the comments keep showing up as closed. Do you know what I might be missing? I tested this out on pages that aren’t using S8 Private Pages and the comments worked normally.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor David Wood


    Comments are currently not supported, I will look into adding this as an option in a future update. Until then, in the plugin files in ‘s8-private-pages.php’ around line 91 shortly after the line saying ‘function register_cpt() {‘ there will be a line that says 'supports' => array( 'title', 'editor' ),, simply change that to 'supports' => array( 'title', 'editor', 'comments' ), and since you already have the comments added to your template they should start working. Hope this helps!

    Hi David,

    Thanks so much for getting back to me. I was actually able to get this to work by using a custom template I named client-page.php and disqus plugin. Instead of using the native WP comment php block I used the one for disqus and that worked perfectly.

    Thanks again for this great plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding comments to custom page template’ is closed to new replies.