Recent posts (Show category name & Exclude a category)
-
Hello, I’m showing recent posts with this:
<ul><li><h2>Recent posts</h2><ul> <?php wp_get_archives('title_li=&type=postbypost&limit=15'); ?>
This code to me only display my 15 recent post titles (linked):
Postname1
Postname2
…
Postname151.
Now I want to display category name too, example:
category – postname1
category – postname2
…
category – postname32.
How to exclude posts from a category, example to exclude posts from category 88.Thank you.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Recent posts (Show category name & Exclude a category)’ is closed to new replies.