I hope somebody with muchos php knowledge will be able to help me. What I’d like to be able to do is show one main post, followed by a list of the five most recent posts (NOT including the main post) AND exclude a certain category from those links.
From studying the codex I’ve been able to use “$posts = get_posts” and set an offset value to display the five most recent posts, minus the already displayed main post but haven’t figured out how to exclude a category.
I’ve tried using “query_posts”, which allows me to exclude a category but I can’t figure out how to offset the most recent posts by 1.
Am I just missing something obvious?
- The topic ‘Problem Displaying Recent Posts’ is closed to new replies.