Declaring Posterno support in themes

If you wish to disable all templates overrides ( taxonomy pages, single listing page template ), Posterno provides a way for themes to declare custom supports.

If you do not declare Posterno support in your theme, Posterno will assume the theme is not designed for Posterno compatibility and will use custom templates to display it's content.

Declaring Posterno support is straightforward and involves adding one function in your theme's functions.php file.

function mytheme_add_posterno_support() {
	add_theme_support( 'posterno' );
}
add_action( 'after_setup_theme', 'mytheme_add_posterno_support' );

Make sure you are using the after_setup_theme hook and not the init hook. Read more about this at the documentation for add_theme_support.