Continue Reading →', $more_link ); } /** Returns a "Continue Reading" link for excerpts */ function blogtina_continue_reading_link() { return '

Continue Reading →

'; } /** Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and blogtina_continue_reading_link(). */ add_filter( 'excerpt_more', 'blogtina_auto_excerpt_more' ); function blogtina_auto_excerpt_more( $more ) { return ' …' . blogtina_continue_reading_link(); } /** Adds a pretty "Continue Reading" link to custom post excerpts. */ add_filter( 'get_the_excerpt', 'blogtina_custom_excerpt_more' ); function blogtina_custom_excerpt_more( $output ) { if ( has_excerpt() && ! is_attachment() ) { $output .= ' …' . blogtina_continue_reading_link(); } return $output; } /** Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link. */ add_filter( 'wp_page_menu_args', 'blogtina_page_menu_args' ); function blogtina_page_menu_args( $args ) { $args['show_home'] = true; return $args; } /** Remove Gallery CSS */ add_filter( 'gallery_style', 'blogtina_remove_gallery_css' ); function blogtina_remove_gallery_css( $css ) { return preg_replace( "##s", '', $css ); } ?>