diff --git a/dist/class/theme/class-taxonomy-items-standard.php b/dist/class/theme/class-taxonomy-items-standard.php index ef7b26b4..799df329 100755 --- a/dist/class/theme/class-taxonomy-items-standard.php +++ b/dist/class/theme/class-taxonomy-items-standard.php @@ -4,7 +4,7 @@ * You can replace the occurences of the word s_tandar_d (without the underscores), rename this file, and then copy it in your theme folder * Or easier: just use Lumière admin interface to do it automatically * - * Version: 3.1.1 + * Version: 3.1.2 * * @package lumiere-movies */ @@ -23,7 +23,7 @@ * This template retrieves automaticaly all post related to an item taxonomy * It is a virtual page created when the appropriate rules are met * - * @see \Lumiere\Frontend\Taxonomy That build the taxonomy system and taxonomy pages + * @see \Lumiere\Alteration\Taxonomy That build the taxonomy system and taxonomy pages * * @since 4.0 Returns all Lumière taxonomies that can be clicked when visiting the item template page */ @@ -79,8 +79,15 @@ public function __construct() { /** * Static start + * @since 4.2.2 Run on taxonomy pages only */ public static function lumiere_static_start(): void { + + // Run on taxonomy pages only. + if ( is_tax() === false ) { + return; + } + $class = new self(); // Display the page. Must not be included into an add_action(), as should be displayed directly, since it's a template. diff --git a/dist/class/theme/class-taxonomy-people-standard.php b/dist/class/theme/class-taxonomy-people-standard.php index 57e74e38..4d2e8d74 100755 --- a/dist/class/theme/class-taxonomy-people-standard.php +++ b/dist/class/theme/class-taxonomy-people-standard.php @@ -4,7 +4,7 @@ * You can replace the occurences of the word s_tandar_d (without the underscores), rename this file, and then copy it in your theme folder * Or easier: just use Lumière admin interface to do it automatically * - * Version: 3.7.1 + * Version: 3.7.2 * * @package lumiere-movies */ @@ -27,7 +27,7 @@ * It is a virtual page created according to Lumiere taxonomy * If used along with Polylang WordPress plugin, a form is displayed to filter by available language * - * @see \Lumiere\Frontend\Taxonomy That build the taxonomy system and taxonomy pages + * @see \Lumiere\Alteration\Taxonomy Build the taxonomy system and taxonomy pages * @see \Lumiere\Frontend Trait to builds $this->link_maker var * * @since 4.1 Use of plugins detection, lumiere_medaillon_bio() returns larger number of characters for introduction, Polylang form with AMP works @@ -99,8 +99,15 @@ public function __construct() { /** * Static start + * @since 4.2.2 Run on taxonomy pages only */ public static function lumiere_static_start(): void { + + // Run on taxonomy pages only. + if ( is_tax() === false ) { + return; + } + $class = new self(); // Display the page. Must not be included into an add_action(), as should be displayed directly, since it's a template. diff --git a/src/class/theme/class-taxonomy-items-standard.php b/src/class/theme/class-taxonomy-items-standard.php index ef7b26b4..799df329 100755 --- a/src/class/theme/class-taxonomy-items-standard.php +++ b/src/class/theme/class-taxonomy-items-standard.php @@ -4,7 +4,7 @@ * You can replace the occurences of the word s_tandar_d (without the underscores), rename this file, and then copy it in your theme folder * Or easier: just use Lumière admin interface to do it automatically * - * Version: 3.1.1 + * Version: 3.1.2 * * @package lumiere-movies */ @@ -23,7 +23,7 @@ * This template retrieves automaticaly all post related to an item taxonomy * It is a virtual page created when the appropriate rules are met * - * @see \Lumiere\Frontend\Taxonomy That build the taxonomy system and taxonomy pages + * @see \Lumiere\Alteration\Taxonomy That build the taxonomy system and taxonomy pages * * @since 4.0 Returns all Lumière taxonomies that can be clicked when visiting the item template page */ @@ -79,8 +79,15 @@ public function __construct() { /** * Static start + * @since 4.2.2 Run on taxonomy pages only */ public static function lumiere_static_start(): void { + + // Run on taxonomy pages only. + if ( is_tax() === false ) { + return; + } + $class = new self(); // Display the page. Must not be included into an add_action(), as should be displayed directly, since it's a template. diff --git a/src/class/theme/class-taxonomy-people-standard.php b/src/class/theme/class-taxonomy-people-standard.php index 57e74e38..4d2e8d74 100755 --- a/src/class/theme/class-taxonomy-people-standard.php +++ b/src/class/theme/class-taxonomy-people-standard.php @@ -4,7 +4,7 @@ * You can replace the occurences of the word s_tandar_d (without the underscores), rename this file, and then copy it in your theme folder * Or easier: just use Lumière admin interface to do it automatically * - * Version: 3.7.1 + * Version: 3.7.2 * * @package lumiere-movies */ @@ -27,7 +27,7 @@ * It is a virtual page created according to Lumiere taxonomy * If used along with Polylang WordPress plugin, a form is displayed to filter by available language * - * @see \Lumiere\Frontend\Taxonomy That build the taxonomy system and taxonomy pages + * @see \Lumiere\Alteration\Taxonomy Build the taxonomy system and taxonomy pages * @see \Lumiere\Frontend Trait to builds $this->link_maker var * * @since 4.1 Use of plugins detection, lumiere_medaillon_bio() returns larger number of characters for introduction, Polylang form with AMP works @@ -99,8 +99,15 @@ public function __construct() { /** * Static start + * @since 4.2.2 Run on taxonomy pages only */ public static function lumiere_static_start(): void { + + // Run on taxonomy pages only. + if ( is_tax() === false ) { + return; + } + $class = new self(); // Display the page. Must not be included into an add_action(), as should be displayed directly, since it's a template.