This topic has 9 replies, 2 voices, and was last updated 8 years by sharmstr.

  • Author
  • #104985
     aimkbe
    Participant

    Hello Kleo Devs!

    My landing page is the where all the latest blogs are displayed. It would be great if the blogs displayed fully rather than a masonry or excerpts.

    What i need is all the blogs to display completely. Is there an option to do that with Kleo?

    #105302
     sharmstr
    Moderator

    If by landing page, you mean you have Your latest posts selected in Settings > Reading, then do this:

    1 – Theme Options > Blog: Display type = Standard.

    2 – Put this in your child theme’s functions.php file. It overrides the excerpt for the front page and will return the full content instead.

    COPY CODE
    \[[^\]]*\]
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #106152
     aimkbe
    Participant

    @sharmstr

    Wow thank you so much for that help. I also want to display the social share as it displays in blog post. Can you please help? Thank you!

    #106198
     sharmstr
    Moderator

    That’s not possible in this type of setup.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #106300
     aimkbe
    Participant

    @sharmstr

    is there a php or shortcode i can add to the actual post content for those social share links?

    #106303
     sharmstr
    Moderator

    No. The social share is injected via an php include. I tried to get it to display by appending to the full excerpt, but it didnt work. I belive (though not certain) that even if you did get that to work, you’ll still have issue with the share grabbing the correct image and link since all of the post are on the same page. I dont believe the code will know which link to share (if that makes sense)

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #106618
     aimkbe
    Participant

    @sharmster

    I just realized there is a social share shortcode I can actually add to the content. It displays now. Thank you for all your help

    #106853
     sharmstr
    Moderator

    I’m embarrassed to say that I’m the one who wrote that shortcode. Totally forgot about that. Sorry :/

    What’s even worse is that I only added a few weeks ago. In my defense, I’m working 3 jobs and decided to go back to school full time. 🙂

    Glad you got it sorted.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #107018
     aimkbe
    Participant

    @sharmstr

    No need to be sorry! Thanks for all your help. Another question.

    How can I display full blogs on a page? For example, I have a page with content, and I also want to display 4 of my most recent posts, but display the full content.

    #107051
     sharmstr
    Moderator

    In the code I gave you, change

    COPY CODE
    
     if ( is_front_page() ) {
            return the_content();
        }
    <pre>
    
    to
    
    <pre>
    return the_content();
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 10 posts - 1 through 10 (of 10 total)

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

Log in with your credentials

Forgot your details?