prakash_j
Member
Posted 1 year ago #
Hello Gurus,
1st of all thanks to wordpress and all contributors for making superb blogging platform.
Well I have query ... please help to to solve....
I want to display (X) number of latest posts/pages from all categories on my home page.
I want to show it exactly like the site http://www.tokiohotelamerica.com is displaying.
It has 5 latest posts from each category, and 1st post is showing except or 1st few lines from that particular post.
I want exactly like that, please help me..
prakash_j
Member
Posted 1 year ago #
can anyone please help me.. i'll be very thankful.
prakash_j
Member
Posted 1 year ago #
Hello Gurus,
please help me on this.... it wont take your more than 5mins..
Hi,
I was trying to do something similar. There's a nice howto on this page, hope it helps:
http://www.corvidworks.com/articles/wordpress-content-on-other-pages
Regards,
nev7n.
prakash_j - that tokio hotel site uses the revolution pro-10 theme so see if you can find that to download and get an idea of how it's done.
You will likely find that theme uses a series of the template tag, query_posts(), to display each set of posts.
Hello! That is my site! Thank you for liking something about it.
:p
Here is the code I use.
<h2>Recent posts from all sections</h2>
<ul id="recentposts">
<li id="recent-posts">
<ul>
<?php get_archives('postbypost', 10); ?>
</ul>
</li>
</ul>
</div>