This topic has 3 replies, 2 voices, and was last updated 8 years by Radu.

  • Author
  • #113512
     alphateddy
    Participant

    When using the WordPress Blog Option and styling it through the Kleo Options, how to manage to have NO excerpts?

    #113620
     Radu
    Moderator

    Hi,

    I can provide you a css code that will hide the excerpt on that page, but please provide me the page url

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #113623
     alphateddy
    Participant

    Hi I play around with another them at the moment, which is why you don’t see it. So there is no way to not have a excerpt at all? In the post or site option? This makes the theme for me unusuable for this task I think.

    #113626
     Radu
    Moderator

    Hi,

    There are no option for what you need but you can try with this function

    Add this code to your child theme ( wp-content/themes/kleo-child/functions.php )

    COPY CODE
    
    function custom_excerpt_length( $length ) {
    	return 0;
    }
    add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
    
    

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?