Skip to content

Snippet: How to Add “More” Link Inline for Blog Entries

By default the Total theme disables the "more" tag because it has built-in custom buttons for your blog entries. However, you can re-enable it with the following function

add_filter( 'wpex_excerpt_args', function( $args ) {
	if ( wpex_is_blog_query() ) {
		$args['more'] = '…<a href="'. get_permalink() .'">[more]</a>';
	return $args;
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend WPCode)
Back To Top