WordPress.org

Support

Support » Themes and Templates » the_exceprt

the_exceprt

  • Hi Guys

    I am using:

    function new_excerpt_more($more) {
           global $post;
    	return '<br/><br/><a href="'. get_permalink($post->ID) . '"><span style="font-size: small;"><strong>READ MORE ></strong></span></a>';
    }
    add_filter('excerpt_more', 'new_excerpt_more');

    but I have some posts that don’t meet the minimum criteria to display my Read More, is there any way to force it no matter the length of post?

  • The topic ‘the_exceprt’ is closed to new replies.
Skip to toolbar