ThemeShaper Forums » Thematic



(7 posts)
  • Started 10 years ago by krowchuk
  • Latest reply from krowchuk
  • This topic is resolved
  1. Hi,

    found in page.php...

    // calling the comments template
    if ( get_post_custom_values('comments') ) {
    // Add a key/value of "comments" to enable comments on pages!
    } else {

    So, I decided to give this a spin and made a custom key/value of comments, which did not turn comments on for that page.

    Is there something else I need to add into my child functions.php to activate this feature?

    Posted 10 years ago #
  2. read the release notes sticky

    it says exactly how to enable thematic compatible comments (as well as body classes, etc)

    Posted 10 years ago #
  3. That's already in my functions.php!

    I popped it all in there when I grabbed the dynamic classes.
    So... is there something else I need to add or is this supposed to be it?

    // Unleash the power of Thematic's dynamic classes
    // Unleash the power of Thematic's comment form
    // Unleash the power of Thematic's feed link functions
    Posted 10 years ago #
  4. It looks like we left one out in that thread.



    to restore the custom field activated page comments.

    Posted 10 years ago #
  5. Thanks em hr,

    I have added that one as well, but I don't see any change. Perhaps I am not understanding how this works...

    I added a custom field key of comments with the value of comments as per

    // Add a key/value of "comments" to enable comments on pages!

    but I still have to tick the comments on box? which I could do without this function added...

    What am I misunderstanding here?


    Posted 10 years ago #
  6. Hi Chris,

    With Thematic and earlier if you wanted comments on "Pages" you would need to:

    1. set the "Discussion" settings to allow comments on on the Admin>Pages>EditPages or Admin>Pages>NewPage screen.
    2. add a custom field/key of comments to have Thematic display the comment form and comments on that page.

    So step one was enabling comments via WP. Step two was enabling comments display via the theme.

    Being able to have a master switch that turned off comment display on "Pages" by default and allow custom field control over comments on a per-page basis was intended to be a feature of Thematic.

    This was later disabled by default in Adding the constant enables the older feature set again.


    Posted 10 years ago #
  7. Ah thanks Gene for the explanation.

    I guess in a nutshell, because I started using Thematic after this was disabled in I don't really need to concern myself with it? I can just use the WP function to tick the allow comments box for specific pages. Yes? At any rate, that works for me.

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.