Viewing 5 replies - 1 through 5 (of 5 total)
  • I want this too… let me know if you find out… and I will if I find it.

    try this… add to posts-in-page/posts_loop_template.php
    Add just before <!– This is the output of the EXCERPT –>

    <?php
    if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
      the_post_thumbnail();
    }
    ?>

    Hi-

    I have a similar issue as the OP.

    When I’m writing my post I include the shortcode [ic_add_posts category=’travel]. “Travel is the category I want list posts for on my Travel Page.

    When I preview it includes the “Uncategorized” category posts as well. Why? Can’t figure out.

    What I want is for my page to display a list of posts from one category with a thumbnail for each and just an excerpt, not all the content of each.

    I feel like I’m missing something really obvious, but I can’t seem to get it.

    If anyone responds, please keep it simple. I’m really new to php and all that.

    Thanks!

    Do you have a typo in your post or your code?
    You have no closing ‘ at the end of travel in the shortcode.
    Add the php snippet about for the thumbnail.

    You probably want to swap the post for the except… I removed the post detail as I wanted no text.

    I wrote a typo in my question but the actual shortcode was correct. However, I think there is something wrong with the category of ‘travel’. I tried a different category, and it worked fine. Hooray!

    I’m prefer the layout to be a bit different though. Similar to this:

    https://101cookbooks.com/travel/

    A thumbnail size of my choosing, on the left, accompanied by the title and excerpt of the post (size also my choosing). Is this a difficult task to pull off. I’m not great at php but I can power through if necessary ??

    Thanks for anyone’s help!

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