How to feed WP data to the main index.php page
-
Hello there, I’m trying to pull off something interesting here and I’m stuck. Let me begin by saying I am by no means a coder and my PHP experience is 0. I am pretty good with xhtml and css though.
Anyways, I have an index.php page, that displays the homepage of my website. Banner, navigation, etc is all located here. What I would like is to feed the ‘latest # of posts’ into the news <div> tag, which I think I already know how to do. Problem is that I also want to feed another piece of information such as Top 10 Songs, that would get updated frequently, into my sidebar.
What would be the simplest way to create a ‘top 10’ page in WP and then feed it over into a <div> tag in my sidebar?
Sorry if it sounds confusing, I’ll simplify as needed.
Thanks.
- The topic ‘How to feed WP data to the main index.php page’ is closed to new replies.