Using on custom post type only
-
What would i need to add when I would like to use Aged Content Message only on a specific custom post type, eg ‘performance’.
Would I need to use this as a base (from your FAQ)?
/* Set condition for displaying message to include pages. */ function yourprefix_aged_content_message__the_content_condition() { return ! is_single() && ! is_page(); } add_action( 'aged_content_message__the_content_condition', 'yourprefix_aged_content_message__the_content_condition' );I would use it only on the custom post type.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Using on custom post type only’ is closed to new replies.