Thread Starter
pygo
(@pygo)
Hi tord,
I added the following to my ‘functons.php’ file and tags now work. Hopefully will work for you too…
function tordsthemename_taxonomy_queries( $query ) {
if (($query->is_category() || $query->is_tag())
&& $query->is_main_query() ) {
$query->set('post_type', array('post', 'your_custom_posttype_name_here'));
}
}
add_action('pre_get_posts', 'tordsthemename_taxonomy_queries');
Thread Starter
pygo
(@pygo)
Thanks for replies everyone!
Thread Starter
pygo
(@pygo)
I re-activated the default theme, seen the option to select templates under “Page Attributes”, re-activated my custom theme and the option is now there so don’t know why it wasn’t there, but it’s showing now anyway.
Thread Starter
pygo
(@pygo)
No I didn’t use a plugin for it, the option was always just there. You could select a template with sidebar or full width template or add your own.