mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-19 14:33:32 +09:00
Fix archive descriptions for subsequent pages
This commit is contained in:
@@ -101,10 +101,6 @@ class Display_Featured_Image_Genesis_Description {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( get_query_var( 'paged' ) >= 2 ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$term = is_tax() ? get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ) : $wp_query->get_queried_object();
|
||||
|
||||
if ( ! $term ) {
|
||||
@@ -174,10 +170,6 @@ class Display_Featured_Image_Genesis_Description {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( get_query_var( 'paged' ) >= 2 ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$intro_text = apply_filters( 'display_featured_image_genesis_cpt_description', genesis_get_cpt_option( 'intro_text' ) );
|
||||
|
||||
if ( $intro_text ) {
|
||||
|
||||
Reference in New Issue
Block a user