$args = array(
'before' => '
' . esc_html__('Pages:', THEME_NAME),
'after' => '
'link_before' => '',
'link_after' => '',
'next_or_number' => 'number',
'nextpagelink' => esc_html__('Next page', THEME_NAME),
'previouspagelink' => esc_html__('Previous page', THEME_NAME),
'pagelink' => '%',
'echo' => 1
);
wp_link_pages($args);
?>
news.php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
wp_reset_query();
$counter = new df_custom_counter;
$counter->reset_count(1);
?>
if(is_author()) {
get_template_part(THEME_SINGLE."about-author");
}
?>
$counter = new df_custom_counter;
$counter->plus_one();
?>
max_num_pages); ?>
news-single.php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
wp_reset_query();
$video = get_post_meta( $post->ID, "_".THEME_NAME."_video_code", true );
$slider = get_post_meta( $post->ID, THEME_NAME."_gallery_images", true );
$audio = get_post_meta( $post->ID, "_".THEME_NAME."_audio", true );
$image = get_post_thumb($post->ID,0,0);
$votes = get_post_meta( $post->ID, "_".THEME_NAME."_total_votes", true );
if(isset($_COOKIE[THEME_NAME.'_rating_'.$post->ID])) {
$voteCookie = $_COOKIE[THEME_NAME.'_rating_'.$post->ID];
} else {
$voteCookie = null;
}
?>
ID); ?>
>
ID)==true) || (df_option_compare("postComments","postComments", $post->ID)==true && comments_open()) || ($ratingsAverage) || df_option_compare("postAuthor","postAuthor", $post->ID)==true || (df_option_compare('showLikes','showLikes',$post->ID)==true && ($video || $audio || $slider || df_option_compare('show_single_thumb','show_single_thumb',$post->ID)!=true && $image['show']!=true))) { ?>
} else {
$full_meta = false;
}
?>
style="padding:0px;">
$args = array(
'before' => '' . esc_html__('Pages:', THEME_NAME),
'after' => '
',
'link_before' => '',
'link_after' => '',
'next_or_number' => 'number',
'nextpagelink' => esc_html__('Next page', THEME_NAME),
'previouspagelink' => esc_html__('Previous page', THEME_NAME),
'pagelink' => '%',
'echo' => 1
);
wp_link_pages($args);
?>