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

  • Author

    Tagged: , ,

  • #164524
     cd690767
    Participant

    Hi,

    I’m trying to set up my posts page and I can’t get it completely as I’d like:

    1- The excerpt (from the excerpt box in post edit screen) is only displaying in the “standard” format- how can I display it in the “grid masonry” and “small left thumbnail” format?

    2- I’d like to move the display of the category to above the title-particularly for “grid masonry” and “small left thumbnail”- can this be done?

    Thanks for the help,

    Cathy

    #164623
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #164879
     Radu
    Moderator

    Hi,

    I don’t understand exactly what you want to achieve, can you please provide screenshots that point places where you need the excerpt? and also for the second point show me a screenshot

    Cheers
    R.

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

    Hi Radu,

    Thanks for the help with this! I’ve attached some jpegs of one of my posts with notes to show what I’m referring to.

    1- All I want to do is display the excerpt for all three of the post types on the blog page (not using a posts shortcode within a VC element)- right now it only displays for the standard post format.

    2- I’ve attached a pic of showing how I would like to move the category to above the post title.

    Regards,
    Cathy

    #165287
     Radu
    Moderator

    Hi,

    Add the attached files to : /Applications/XAMPP/htdocs/kleo/wp-content/themes/kleo-child/page-parts

    Let me know

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #165290
     Radu
    Moderator

    NOTE : Child theme needs to be installed and activated.

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

    Hi Radu,

    Thanks for the help with this!

    I don’t know what XAMPP/htdocs is, so I put the files in /wp-content/themes/page-parts/kleo-child. When put there, they almost work, but not completely. The excerpt is not displayed. For the categories, they are duplicated, not moved, above the title, and spacing is off (category 1,category 2) compared with spacing of the category list below the title (category 1,(space)category 2).
    Also, with the masonry format, the categories above the title extend beyond the border of the post box. With the small thumbnail format the categories look great above the title.

    I’ve attached a picture of the new blog page with masonry format so you can see what I’m referring to.

    Regards,
    Cathy

    #165315
     cd690767
    Participant

    Sorry, I put them in /wp-content/themes/kleo-child/page-parts not in /wp-content/themes/page-parts/kleo-child.

    #165538
     Radu
    Moderator

    Hi,

    Just open the files from /wp-content/themes/kleo-child/page-parts and look for this line

    COPY CODE
    
    <small class="meta-category"><?php echo get_the_category_list(',');?></small>
    

    and add a space there after the ,

    Example

    COPY CODE
    
    <small class="meta-category"><?php echo get_the_category_list(', ');?></small>
    

    Then you should de-activate the category info from wp-admin -> theme options -> blog (see screenshot)

    Let me know

    Cheers
    R.

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

    Hi Radu,

    Thanks so much for the help- categories look great now! About the excerpt- can it be displayed or is that not possible with the masonry and left thumbnail formats?

    Thanks
    Cathy

    #166012
     Radu
    Moderator

    Hi,

    They should be displayed by default, can you please provide admin credentials in a private reply to check ?

    Cheers
    R.

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

    Hi Radu,

    Sorry for the delayed reply, I was out of town. Here is login info for the admin account:

    I usually have to login several times before I can access /wp-admin. I don’t know why this happens; maybe it is Jetpack-related?

    login: https://www.precisionmedicinecommunity.com/jointhecommunity
    username: supportuser
    password: 1234!@#$Mysiteisgr8

    Thanks for the help,
    Cathy

    #167168
     Radu
    Moderator

    Hi,

    In quick CSS of the theme, it’s this CSS rule that prevents excerpts to be shown.

    COPY CODE
    
    .post-item .post-info {
        display: none;
    }
    

    So you can delete it can have the excerpt in the category.

    Cheers
    R.

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

    Hi Radu,

    Thanks so much for figuring this out! Sorry to bother you since this was some of my CSS causing the problem.

    Cathy

    #167424
     Radu
    Moderator

    Hi,

    Have a nice day !!

    You’re welcome

    Cheers
    R.

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

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

Log in with your credentials

Forgot your details?