Support » Theme: Travelify » Number of Row in Slider

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Silkalns


    You can create excerpt length filter to automate this process. Here is one example

    function custom_excerpt_length( $length ) {
    	return 20;
    add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );

    Or read more about it here:

    Much simpler solution is to use add text manually in “Excerpt” field which you can find under each Post edit field. If this options is not there, you can enable it via “Screen Options” if it is not there by default.

    This way WordPress will display the entire text as Excerpt no matter of its length. 1 word or entire post.

    Thank you Silkalns,

    I use only Pages and not Post, this functionnality provided by wordpress seems works only for Post.

    Can I call the function from a Page and if yes, how ?


    in fact I added your code at the end of the functions.php file of the theme and it works fine.

    Thank you


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Number of Row in Slider’ is closed to new replies.