Updates next and previous page design.

This commit is contained in:
mateuswetah 2020-07-28 18:37:25 -03:00
parent 96ed6e9fa8
commit 67312b0304
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ function tainacan_interface_the_breadcrumb() {
if ( is_category() || is_day() || is_month() || is_year() || is_search() || is_tag() || is_author() ) echo ')';
}
if (get_theme_mod('tainacan_single_item_show_navigation_options', false)) {
if (is_single() && get_theme_mod('tainacan_single_item_show_navigation_options', false)) {
$adjacent_links = tainacan_get_adjacent_item_links();
$previous = $adjacent_links['previous'];