[There: thesource] help with recent posts
-
Hello guys, I think this it’s a simple soluiton to my problem but I’m a n00b, so maybe is here somone who can help me.
I use this theme: http://www.elegantthemes.com/preview/TheSource/
as you can see there is Recent Posts and in the right Popular Posts and random posts. I want to have for example Recent Posts 1 and recent news 2. Recent news 1 to show posts from page A and recent news 2 to show posts from page B. I hope you understand.
Look what I have done: http://oi58.tinypic.com/24688bm.jpg
The problem is that both “news 1” and “news 2” show the recent posts from the same page A.
Now i just need the correct code so Recent news 1 to show posts from page A and recent news 2 to show posts from page B.
The code i have in home.php now is:
<div id=”main-content-wrap”>
<div id=”main-content” class=”clearfix”>
<div id=”recent-posts” class=”clearfix”>
<h4 class=”title”><?php esc_html_e(‘news 1′,’TheSource’); ?></h4>
<?php get_template_part(‘includes/entry’); ?>
</div>
<div id=”recent-posts” class=”clearfix”>
<h4 class=”title”><?php esc_html_e(‘news 2′,’TheSource’); ?></h4>
<?php get_template_part(‘includes/entry’); ?>
</div> <!– end #recent-posts –>
- The topic ‘[There: thesource] help with recent posts’ is closed to new replies.