mirror of
https://github.com/Frumph/comic-easel.git
synced 2026-07-19 13:29:13 -04:00
make sure landing pages comic and comic blog post don't show up if the archive is not on page 1
This commit is contained in:
@@ -60,7 +60,7 @@ function ceo_display_comic_area() {
|
||||
ceo_display_comic_wrapper();
|
||||
endwhile;
|
||||
ceo_unprotect();
|
||||
} elseif (is_archive() && (isset($wp_query->query_vars['taxonomy']) && isset($wp_query->query_vars['chapters'])) && ($wp_query->query_vars['taxonomy'] == 'chapters') && function_exists('comicpress_themeinfo') && ceo_pluginfo('enable_chapter_landing')) {
|
||||
} elseif (is_archive() && (isset($wp_query->query_vars['taxonomy']) && isset($wp_query->query_vars['chapters'])) && ($wp_query->query_vars['taxonomy'] == 'chapters') && function_exists('comicpress_themeinfo') && ceo_pluginfo('enable_chapter_landing') && !is_paged()) {
|
||||
ceo_protect();
|
||||
$order = (ceo_pluginfo('enable_chapter_landing_first')) ? 'asc' : 'desc';
|
||||
$comic_args = array(
|
||||
@@ -302,7 +302,7 @@ function ceo_display_comic_post_home() {
|
||||
wp_reset_query();
|
||||
if(class_exists('Jetpack') && Jetpack::is_module_active('minileven') && wp_is_mobile()) echo '</div>';
|
||||
echo '<div id="blogheader"></div>';
|
||||
} elseif (is_archive() && (isset($wp_query->query_vars['taxonomy']) && isset($wp_query->query_vars['chapters'])) && ($wp_query->query_vars['taxonomy'] == 'chapters') && function_exists('comicpress_themeinfo')) {
|
||||
} elseif (is_archive() && (isset($wp_query->query_vars['taxonomy']) && isset($wp_query->query_vars['chapters'])) && ($wp_query->query_vars['taxonomy'] == 'chapters') && function_exists('comicpress_themeinfo') && !is_paged()) {
|
||||
if (ceo_pluginfo('enable_chapter_landing') && ceo_pluginfo('enable_blog_on_chapter_landing')) {
|
||||
$order = (ceo_pluginfo('enable_chapter_landing_first')) ? 'asc' : 'desc';
|
||||
$comic_args = array(
|
||||
|
||||
Reference in New Issue
Block a user