thetvstop
Member
Posted 2 years ago #
Hi all,
In the images section on this page: http://www.thetvstop.com/nbc/the-office/the-office-season-six-episode-6-02-the-meeting-promotional-photos/
I would like to show the latest four post with a certain tag.
So what I am looking to accomplish is:
In the images section of the single post page, display the last four post with the tag images from each category.
How do I go about getting that area to call specific tag related content there?
thetvstop
Member
Posted 2 years ago #
thetvstop
Member
Posted 2 years ago #
Okay. but how do I get the thumb and title of the last four post to show in that section?
thetvstop
Member
Posted 2 years ago #
okay I got category specific post titles to display how I want them,
http://www.thetvstop.com/fox/terminator-the-sarah-connor-chronicles/terminator-the-sarah-connor-chronicles-behind-the-scenes-pictures/ under recent full episodes.. how do I make the first image of each post show, with the title under neath it.
<div class="singlepost">
<div class="singlepostloop">
<?php
$topbox = get_posts('numberposts=4&category=568');
foreach($topbox as $post) :
setup_postdata($post);
?>
<h2>
<a href="<?php the_permalink(); ?>" id="post-<?php the_ID(); ?>">
<?php the_title(); ?></a></h2>
<?php endforeach; ?>
</div>
</div>
is my current code.
thetvstop
Member
Posted 2 years ago #