If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #5651


    Please can you help me figure out the code I need to create the Latest News column as featured in the demo?

    From the demo, I see that a post has a featured image, from which a thumbnail is created with the title and an excerpt from the post. I got as far as creating the title and excerpt (see below) which is included in the footer column widget, but got stuck with the resizing of the image. Please can you help?!

    Any help is very much appreciated. Thank you!

    <?php query_posts('category_name=news-and-updates&showposts=5'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <li><a href="<?php the_permalink(); ?>">
    <?php the_title('<h4>', '</h4>'); ?>
    <?php the_content("Continue reading " . the_title('', '', false)); ?>
    </a> </li>
    <?php endwhile; ?>



    what is wrong with the Avisio Sidebar News widget? It shows exactly what you need, the thumbnail is the featured image connected to the post.


    Okay, that’s what I needed! I didn’t notice the widget, duh. Thank you!


    Glad that Chris could help you :)

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

The topic ‘Create Latest News column as featured in the demo’ is closed to new replies.