Active comments in only especific category

Community Forums Forums General Discussion Active comments in only especific category

This topic is: not resolved

Tagged: ,

This topic contains 9 replies, has 2 voices, and was last updated by  bondia 1 year, 2 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #41328

    bondia
    Participant
    Post count: 5

    Hi!

    I’m doing a new page with Metro Child Theme. http://www.fundipau.org/fundipau

    I want, by default, in all new posts and pages the comments will be hide. And enable comment when I want for only some posts, or some categorys. Is that possible?

    Thanks!

    toni

    http://www.fundipau.org/fundipau
    #41425

    braddalton
    Participant
    Post count: 9212

    You can do this manually on every post edit screen


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #41985

    bondia
    Participant
    Post count: 5

    Hi Brad, and thanks,

    I know that, but when I have enabled the comments in Theme Settings in Genesis, I have to disable comments in every new post I have.

    And when I put disable in Theme Settings, then the comments in post doesn’t works. I active it manually, but not works.

    It is very important for me that the comments are by default disabled, because the 95% of the new post will be without comments.

    #42416

    bondia
    Participant
    Post count: 5

    Hello? Is there anybody out there?

    #42456

    braddalton
    Participant
    Post count: 9212

    Please copy this code from the view raw link and paste it at the end of your child themes functions.php file using a text editor like Notepad++.

    Replace the cat i.d with the i.d for the category you want to allow comments on.

    Code not displaying? Grab it on Github.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #42467

    bondia
    Participant
    Post count: 5

    It works!

    How can I allow comments in others specific category. Not now, but in future maybe I will need it.

    Thanks a lot.

    #42472

    braddalton
    Participant
    Post count: 9212

    Use the learn more link in the code.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #42473

    bondia
    Participant
    Post count: 5

    I did it yet, but error 404 :(

     

     

    #42477

    braddalton
    Participant
    Post count: 9212

    Are you sure? This link works fine for me http://wp.me/p1lTu0-9Xn


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #42483

    bondia
    Participant
    Post count: 5

    I see this: screenshot

     

     

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.