Read more length

hi how can I set the summary of articles always of the same length in the Blog Right Sidebar template? I have just created a child template page. Thanks

Comments

  • edited November 6
    HI 
    Thanks for contacting to us.
    For this  you need To  insert more tag  into the post editor   content   where you want to  show read  more button . 
    Regarding  more tag 
    refer this link 

    Let  me know for any confusion .

    Thanks

  • Hi yes this, I know I wanted to know if there was a way to set it by default in the Blog Right Sidebar template? For example through the function

    function mytheme_custom_excerpt_length( $length ) {
    <span style="font-weight: bold;">return 2<span style="font-size: 13.3333px;">0;</span></span>&nbsp;}
    add_filter( 'excerpt_length', 'mytheme_custom_excerpt_length', 999 );
  • edited November 11
    HI 
    Yes it is possible.
    For  this simply follow the given below instruction.

    1 Find the content.php file located in your theme folder .
    2 Open it and find the below line of code on line no 49.

    the_content( __( 'Read More' , 'appointment' ) );

    3 And replace it with below line of code. 

    echo get_home_blog_excerpt();

    Let me know for any confusion.

    Thanks
    AKhilesh
Sign In or Register to comment.