How to remove "Continue reading" button?
-
hi bro, how to remove continue reading button?
if ( ! function_exists( 'follet_continue_reading' ) ) : /** * Return a continue reading kind of text. * * Take on this function by declaring it before this file is loaded. * * @param boolean $display If false, the text will be printed. * @param boolean $excerpt Whether the text is gonna be used next to an excerpt. * * @return string Text for "continue reading". * @since 1.0 */ function follet_continue_reading( $display = false, $excerpt = true ) { $bootstrap = _follet_bootstrap_active(); // Create link in case this is gonna be used next to an excerpt. if ( $excerpt ) { add_filter( 'follet_continue_reading', '_follet_continue_reading_excerpt_link' ); } $continue_reading = sprintf( __( '%1$sContinue reading %2$s', 'follet' ), sprintf( '<span class="meta-nav%s">', $bootstrap ? ' btn btn-primary btn-lg btn-block' : '' ), sprintf( '%s</span>', apply_filters( 'follet_continue_reading_icon', ' <span class="icon icon-next"></span>' ) ) ); $continue_reading = apply_filters( 'follet_continue_reading', $continue_reading ); if ( $display ) { echo $continue_reading; } return $continue_reading; } endif;
- The topic ‘How to remove "Continue reading" button?’ is closed to new replies.