Skip to content

Commit 2914a90

Browse files
committed
Force CPT in Tag Archives
1 parent 4b61000 commit 2914a90

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ Release pending.
225225
* Added: Fade out WB REST CACHE Icon @ Admin Bar
226226
* Added: Disable UpdraftPlus @ Admin Bar
227227
* Fixed: Content Type Return @ WP REST CACHE
228+
* Fixed: Force CPTs in Tag Archives
228229
* Changed: Remove Mastodon Account @ Federated Comment extended with Mentions
229230

230231
### 0.8

unmus_archives.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
function unmus_custom_post_types_archives($query) {
2222

23-
if ( $query->is_author OR $query->is_date ) {
23+
if ( $query->is_author OR $query->is_date OR $query->is_tag ) {
2424

2525
$query->set( 'post_type', array(
2626
'ello',

0 commit comments

Comments
 (0)