' . get_the_excerpt() . '
';
}
}
// Page/Post Title
if( ! function_exists( 'ilovewp_helper_display_featured_image' ) ) {
function ilovewp_helper_display_featured_image($post) {
if( ! is_object( $post ) ) return;
$themeoptions_display_post_featured_image = esc_attr(get_theme_mod( 'theme-display-post-featured-image', 0 ));
if ( $themeoptions_display_post_featured_image == 0 ) {
return;
}
if ( has_post_thumbnail() ) {
echo '';
the_content();
wp_link_pages(array('before' => '
' . __('Pages', 'newstoday') . ': ', 'after' => '
', 'next_or_number' => 'number'));
echo '
';
}
}
// Post Tags
if( ! function_exists( 'ilovewp_helper_display_tags' ) ) {
function ilovewp_helper_display_tags($post) {
if( ! is_object( $post ) ) return;
if ( get_post_type($post->ID) == 'post' ) {
the_tags( '';
$output .= '
' . get_previous_post_link( '' . __('Previous Article', 'newstoday') . '' . '%link', '%title', true ) . '
';
$output .= '
' . get_next_post_link( '' . __('Next Article', 'newstoday') . '' . '%link', '%title', true ) . '
';
$output .= '
';
return $output;
}
}
}
// Category RSS Feed Link
if( ! function_exists( 'ilovewp_helper_display_category_rss_feed' ) ) {
function ilovewp_helper_display_category_rss_feed() {
if ( is_category() ) {
$themeoptions_display_category_rss = esc_attr(get_theme_mod( 'theme-display-category-rss', 0 ));
if ( $themeoptions_display_category_rss == 0 ) {
return;
}
$category = get_category( get_query_var('cat') );
if ( ! empty( $category ) ) {
return '