WordPress.org

Ready to get started?Download WordPress

Forums

the_exceprt (1 post)

  1. bioshox
    Member
    Posted 1 year ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.