Forums

Comments on Pages Not Blog (8 posts)

  1. hmu02344
    Member
    Posted 2 months ago #

    Hello.

    I am using "pages" rather than the blog feature for most of my content pages, but I still want users to be able to comment on items.

    If you look at http://www.newmuslimdhikr.co.uk/?page_id=23 , what's the most efficient way to have a comment function beneath each entry?

    Do I need a separate plugin or to change the way I'm using these pages?

    Many thanks in advance,

    Dean

  2. Otto42
    Moderator
    Posted 2 months ago #

    Generally, just edit your theme to have Pages call the comments_template in the same way that single post templates do.

    And make sure comments are enabled on those Pages, of course.

  3. hmu02344
    Member
    Posted 2 months ago #

    Great, thanks for the response - don't suppose you could provide a bit more info on how to do that? I'm a WP virgin...

  4. Otto42
    Moderator
    Posted 2 months ago #

    Take a look at your theme's page.php and the single.php. They won't be the same, but they should be similar enough to get the idea.

    Look for the comments_template() piece. Duplicate it from one to the other.

  5. hmu02344
    Member
    Posted 2 months ago #

    Right, I've got the comments to show up on every page in the right place - but I don't want them on every page. How do I disable comments on the pages I don't want them on?

  6. samboll
    moderator
    Posted 2 months ago #

    go to admi and edit a page you don't want comments
    scroll to bottom and check to disable comments for that page

  7. hmu02344
    Member
    Posted 2 months ago #

    Ah, muchos gracias. Thanks for the quick response.

  8. hmu02344
    Member
    Posted 2 months ago #

    Hmm.. on a related note, how do I get a 'post' page to appear as one of the 'pages' in the menu? Or is there a way to import the same functionality into a single page?

Reply

You must log in to post.

About this Topic

Tags

No tags yet.