Using loop functions to call specific data
-
I’m using word press to control the news feed on my website. I have had no problem creating my own template, which works great as the news homepage of the website.
However, I want to have posts from specific categories show up on the main home of my website (outside of the news section). For example I have about 7 categories but I want only the latest post from categories 3 and 4 to show up on the homepage of my website.
I started out writing my own code to query the information from the word press database but I would much rather use word press functions.
Is there some function I can call that will only get the latest post from a specific category?
Thanks,
David
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Using loop functions to call specific data’ is closed to new replies.