We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0adecec + d25c3db commit 1f2d158Copy full SHA for 1f2d158
src/classes/class-se-template-loader.php
@@ -56,7 +56,7 @@ public static function template_include( $template ) {
56
}
57
58
// Handle taxonomy archives for event categories.
59
- if ( is_archive( 'se-event-category' ) ) {
+ if ( is_tax( 'se-event-category' ) ) {
60
$theme_templates = array(
61
'archive-se-event.php',
62
);
@@ -105,7 +105,7 @@ public static function template_include( $template ) {
105
106
// Determine if standard se-event archive templates are available in the theme
107
// before replacing with the custom template in this plugin.
108
- if ( is_archive( 'se-event-date' ) ) {
+ if ( is_post_type_archive( 'se-event-date' ) ) {
109
110
111
0 commit comments