This topic has 1 reply, 2 voices, and was last updated 9 years by Andrei.

  • Author
  • #48519
     sd2014
    Participant

    I would like to use “Kleo Post Grid” to display a list of posts with the meta data and the excerpt. Therefore I would prefer not to use the native “WP Recent Posts”. Please tell me

    1. How to disable the thumbnail? (The only options available are standard, grid, or small left thumb)
    2. How to truncate the excerpt to fewer words.

    Many thanks!

    #48793
     Andrei
    Moderator

    Hi, please note that there are no out of the box options to achieve what you want, and that you’ll need some programming skills in order to make this modifications.

    Firstly, based on the listing style that you chose, you’ll have to edit some of the following template files:

    – standard listing are formatted from files you can find directy in the theme folder named “content-xxx.php”, where xxx is the format of that post.
    – grid will use the masonry listing which can be founded here “kleo/page-parts/post-content-masonry.php”
    – small left thumb will use the following template file “kleo/page-parts/post-content-small.php”

    Secondly in order to modify the way the excerpt is made limited, you will have to redefine the following function in your functions.php file, and modify it’s defaults.

    COPY CODE
    \[[^\]]*\]

    Let me know if I can help you with something else.
    Cheers

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

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?