WordPress.org

Ready to get started?Download WordPress

Forums

Independent Publisher
[resolved] remove comments on pages (2 posts)

  1. cgfern
    Member
    Posted 3 months ago #

    Great theme!

    I'm having some trouble finding which piece of code I need to remove from page.php to disable any commenting on pages.

    I want to keep it for blog posts, but not pages.

  2. Raam Dev
    Member
    Theme Author

    Posted 2 months ago #

    Hello,

    Here's the block of code on page.php that you'd need to remove:

    https://github.com/raamdev/independent-publisher/blob/master/page.php#L23-L28

Reply

You must log in to post.

About this Theme

About this Topic