Skip to content

Commit cef6074

Browse files
committed
Only support posts by default
I haven’t run into too many situations where having this enabled on non-posts was useful.
1 parent 0f9bf86 commit cef6074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/template-entry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ function carelib_get_post_navigation( $args = array() ) {
610610

611611
$defaults = apply_filters( 'carelib_post_navigation_defaults',
612612
array(
613-
'post_types' => array(),
613+
'post_types' => array( 'post' ),
614614
'prev_format' => '<span class="nav-previous">%link</span>',
615615
'next_format' => '<span class="nav-next">%link</span>',
616616
'prev_text' => __( 'Previous', 'carelib' ) . esc_html( $name ),

0 commit comments

Comments
 (0)