• Resolved michaljakubowski

    (@michaljakubowski)


    Hello
    First of all I love your theme and the great documentation!

    I followed the paragraph: “Display featured image thumbnail in archive views (index page, categories, etc.)”. When I copied content-with-thumbnail.php into child folder, on my main page I can see only posts with thumbnails and titles but i can’t see any posts’ content or excerpts.

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter michaljakubowski

    (@michaljakubowski)

    I’m sorry for my first post, I missunderstood the term of “excerpt”.

    What I’d like to do is to show full content of the posts on the homepage (blog page) when conent-with-thumbnail.php is working. I need this, because with previous version of the theme I was sucessfully using Easy Custom Auto Excerpt plugin. Plus I used smaller thumbnail image located on the left thanks to your content.php functionality.

    Theme Author Tomas Mackevicius

    (@tomasm)

    Actually, by mistake I kind of duplicated that feature in the new 2.2 version. I’ll try to clean it up in the upcoming versions.

    Now you don’t need that content-with-thumbnail.php, but instead see the Tip40 – Optional post thumbnail (Featured Image) on index views (style.css, inc/template-tags.php , template-parts/content.php) (can also be used in child themes). And you can enable in style.css.

    If you need to change the image size, you can adjust it by copying function tinyframework_post_thumbnail from inc/template-tags.php to your child’s functions.php and changing the size.

    Thread Starter michaljakubowski

    (@michaljakubowski)

    Thank you for your help. I copied tinyframework_post_thumbnail function to child’s functions.php. Then changed ‘medium_large’ to ‘medium’ and added ‘class’ => ‘alignleft’ param to the array. And it works great.

    One more question: There is <div class=”entry-thumbnail”> in content-with-thumbnail.php which wraps the thumbnail. When I added this div to tinyframework_post_thumbnail func nothing happend, posts look the same. Should I keep this tag in tinyframework_post_thumbnail() ?

    Theme Author Tomas Mackevicius

    (@tomasm)

    It looks that <div class=”entry-thumbnail”> can be safely discarded.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t see posts content’ is closed to new replies.