• Resolved treefit

    (@treefit)


    Hi,
    thank you for your work, i love your theme ??

    I just wanna know if it’s possible (and how) to have a shorter preview of the posts in the main page. Now it shows the entire last posts, but i’d prefer to show only previews of them with the “keep reading” link or similar at the end of each.

    I’ve basis of html and php, so you could just suggest me where to put hand ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Caroline Moore

    (@sixhours)

    The easiest way to do this without modifying the theme is to add a <!--more--> tag to your posts wherever you want to create a “read more” link.

    If you want to modify the theme, you can create a child theme, then copy and paste the parent theme’s content.php into your child theme. Modify content.php and use a conditional check (probably ! is_single()) to output the_excerpt() instead of the_content() when on the blog/archive pages.

    Thread Starter treefit

    (@treefit)

    Thanks a lot! I used the first method with perfect results.
    I’ll try the second one to practice anyway ??

    Theme Author Caroline Moore

    (@sixhours)

    Awesome, happy to help!

    Hi!

    Thank you for this theme! I also like it! ??
    I have a question similar to this. At first I was actually looking for this problem and with the “<!–more–>” tag it was solved!
    But there’s still one thing bothering me. Is there a way to enable a image preview that you put in your post as a “Featured Image” ?

    Here’s how the post would look when looking at it on the “home” page as a latest post. Not reading the post, just seeing it with the “continue reading” link/button.

    Image (Featured image preview)

    Text text text text text text text text

    Continue reading ling/button.

    How would I do this? Cause my featured image does not seem to show up even if I have the posts format set to standard or any other format for that matter, which btw is the format I want. Oh btw, I can’t access the css or php or html or whatever as I have not upgraded my wordpress to the Custom Design thingy.

    Regards.

    Theme Author Caroline Moore

    (@sixhours)

    @bonenose: It sounds like you’re using WordPress.com (Custom Design is specific to WP.com), which is a slightly different version of the theme — if so, please post your question on https://en.forums.wordpress.com/forum/themes/

    In short, the featured image will only display if you set the post format to Image. With a Standard post, you’d need to add the image to your content area. This can’t be changed on WP.com, but could be customized if you’re on a self-hosted install.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shorter posts preview’ is closed to new replies.