Viewing 5 replies - 1 through 5 (of 5 total)
  • Yes, i agree, this would be great
    Is it possible to do it?

    Paulo

    You can edit the value the_title to the <?php the_titlesmall('', '...', true, '33')?>
    and put this on your function:

    // Title Slider
    function the_titlesmall($before = '', $after = '', $echo = true, $length = false) { $title = get_the_title();
    
    	if ( $length && is_numeric($length) ) {
    		$title = substr( $title, 0, $length );
    	}
    
    	if ( strlen($title)> 0 ) {
    		$title = apply_filters('the_titlesmall', $before . $title . $after, $before, $after);
    		if ( $echo )
    			echo $title;
    		else
    			return $title;
    	}
    }

    I hope this is what your need,

    Hi zkenstein ,

    probably you didn’t get the point correctly , we need to add read more link at end of expert , you have paste something regarding editing title..

    try adding this function, tested and worked for me

    function themeprefix_excerpt_read_more_link( $output ) {
    	global $post;
    	return $output . ' <a href="' . get_permalink( $post->ID ) . '" class="more-link" title="Read More">Read More</a>';
    }
    add_filter( 'the_excerpt', 'themeprefix_excerpt_read_more_link' );

    It’s the theme that presumably uses the ellipsis (…) instead of “read more” So the plugin just uses what the theme has..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add a "Read More" button to slider posts Template 1’ is closed to new replies.