Thematic PHP constants

With Thematic 0.9.7.7 there are a couple of changes made to the way it works. One of those changes was the inclusion of a few constants, that based on their value lets you chose whether you want the default WordPress functionality or the more powerful (and complex) Thematic functionality.

I’m talking here about whether you want to make use of the following:

  • Thematic body class
  • Thematic post class
  • Thematic comment form
  • Thematic feedlinks
  • Thematic’s handling of comments

These constants should be setup inside your childtheme’s functions.php file like so:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Unleash the power of Thematic's dynamic classes
// 
 define('THEMATIC_COMPATIBLE_BODY_CLASS', true);
 define('THEMATIC_COMPATIBLE_POST_CLASS', true);
 
// Unleash the power of Thematic's comment form
//
 define('THEMATIC_COMPATIBLE_COMMENT_FORM', true);
 
// Unleash the power of Thematic's feed link functions
//
 define('THEMATIC_COMPATIBLE_FEEDLINKS', true);
 
// Unleash the power of Thematic's comment handling
//
 define('THEMATIC_COMPATIBLE_COMMENT_HANDLING', true);

Hope someone finds these things useful.

Subscribe to get early access

to new plugins, discounts and brief updates about what's new with Cozmoslabs!

Leave a Reply

Your email address will not be published. Required fields are marked *