Documentation / Thematic / Thematic PHP constants

Thematic PHP constants

Cristian Antohe
Last Updated: 27/01/11

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.

From the blog

Related Articles

what-is-wordpress-ver-2

Beginner’s Guide to: What Is WordPress?

Author: Cristian Antohe
Last Updated: February 15th, 2017

Ever now and again the question arises with new clients that aren't really tech savvy: "What Is WordPress?" What I'm hoping to achieve with this post is to drop the technical jargon for a minute and explain in down to earth words what is WordPress, how can it help you, what is WordPress.com, what's a […]

Continue Reading

How to Eliminate WordPress Spam Registrations (Step-by-Step Guide)

Author: Adrian Spiac
Last Updated: December 11th, 2019

Looking for a way to cut down on WordPress spam registrations? If your WordPress site is set to allow user registration (like a membership site or WooCommerce store), then it's probably vulnerable to user registration spam from spam-bots. Finding a way to eliminate, or at least reduce, WordPress spam registrations is important so that you can focus your efforts and resources on your real users. No matter what type of site you're running, there are some tried-and-true tactics that you can apply to stop spam registrations in their tracks, and they're all available in one single plugin.

Continue Reading

WordPress User Registration

Author: Cristian Antohe
Last Updated: February 24th, 2020

Have you hit a road block when it comes to WordPress user registration? You probably would like to have new users register before being able to take certain actions (for example, posting reviews or commenting) but do not want them to have access to the WordPress Dashboard? Truth is, WordPress User Registration doesn't have to […]

Continue Reading

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.