';
return $link;
}
add_filter( 'excerpt_more', 'bolder_thinkup_input_readmore' );
add_filter( 'the_content_more_link', 'bolder_thinkup_input_readmore' );
/* ----------------------------------------------------------------------------------
INPUT BLOG META CONTENT
---------------------------------------------------------------------------------- */
// Add format-media class to post article for featured image, gallery and video
function bolder_thinkup_input_blogmediaclass($classes) {
global $post;
// Get theme options values.
$thinkup_blog_postswitch = bolder_thinkup_var ( 'thinkup_blog_postswitch' );
$featured_id = get_post_thumbnail_id( $post->ID );
// Determine featured media to input
if ( bolder_thinkup_check_isblog() ) {
if ( empty( $featured_id ) or $thinkup_blog_postswitch == 'option2' ) {
$classes[] = 'format-nomedia';
} else if( has_post_thumbnail() ) {
$classes[] = 'format-media';
}
}
return $classes;
}
add_action( 'post_class', 'bolder_thinkup_input_blogmediaclass');
// Blog meta content - Blog style 1
function bolder_thinkup_input_blogmeta() {
echo '
';
}
// Output featured items if set
if ( ! empty( $output ) ) {
echo $output;
}
}
// Add format-media class to post article for featured image, gallery and video
function bolder_thinkup_input_postmediaclass($classes) {
if ( is_singular( 'post' ) ) {
if ( get_post_format() == 'image' or get_post_format() == 'gallery' or get_post_format() == 'video' ) {
if( has_post_thumbnail() ) {
$classes[] = 'format-media';
}
} else {
$classes[] = 'format-nomedia';
}
}
return $classes;
}
add_action( 'post_class', 'bolder_thinkup_input_postmediaclass');
// Input meta data for single post
function bolder_thinkup_input_postmeta() {
echo '';
echo '
';
echo '';
}
/* ----------------------------------------------------------------------------------
SHOW AUTHOR BIO
---------------------------------------------------------------------------------- */
// HTML for Author Bio
function bolder_thinkup_input_postauthorbiocode() {
echo '