', '' . esc_html( get_the_title() ) . '', ''; } /* ---------------------------------------------------------------------------------- BLOG CONTENT ---------------------------------------------------------------------------------- */ // Input post thumbnail / featured media function thinkup_input_blogimage() { global $post; $size = NULL; $link = NULL; $media = NULL; $output = NULL; $blog_lightbox = NULL; $blog_link = NULL; $blog_overlay = NULL; // Set image size for blog thumbnail $size = 'column3-2/3'; $featured_id = get_post_thumbnail_id( $post->ID ); $featured_img = wp_get_attachment_image_src($featured_id,'full', true); // Determine featured media to input $link = $featured_img[0]; $media = get_the_post_thumbnail( $post->ID, $size ); // Determine which links to show on hover $blog_lightbox = ''; $blog_link = ''; $blog_overlay .= '
'; // Output media on blog page if ( ! empty( $featured_id ) ) { $output .= '' . esc_html__( 'Read More', 'bolder') . '
'; } add_filter( 'excerpt_more', 'thinkup_input_readmore' ); add_filter( 'the_content_more_link', 'thinkup_input_readmore' ); /* ---------------------------------------------------------------------------------- INPUT BLOG META CONTENT ---------------------------------------------------------------------------------- */ // Add format-media class to post article for featured image, gallery and video function thinkup_input_blogmediaclass($classes) { if ( thinkup_check_isblog() ) { if( has_post_thumbnail() ) { $classes[] = 'format-media'; } else { $classes[] = 'format-nomedia'; } } return $classes; } add_action( 'post_class', 'thinkup_input_blogmediaclass'); // Blog meta content - Blog style 1 function thinkup_input_blogmeta() { echo ''; } /* ---------------------------------------------------------------------------------- INPUT POST META CONTENT ---------------------------------------------------------------------------------- */ function thinkup_input_postmedia() { global $post; // Set output variable to avoid php errors $output = NULL; if ( get_post_format() == 'image' ) { $output .= '