I am working on a theme that has a custom post type called Languages
and it will have a custom taxonomy called Language
which will act as a category.
Now let's assume my Language
taxonomy has these 4 values for now, English
, French
, German
, Spanish
.
I would like to have something like this with this custom taxonomy/category on my sidebar...
English
- link to newest post
- link to 2nd newest post
- link to 3rd newest post
- link to 4th newest post
- All the way to the 10th post
- then a link to View all
French
- link to newest post
- link to 2nd newest post
- link to 3rd newest post
- link to 4th newest post
- All the way to the 10th post
- then a link to View all
German
- link to newest post
- link to 2nd newest post
- link to 3rd newest post
- link to 4th newest post
- All the way to the 10th post
- then a link to View all
Spanish
- link to newest post
- link to 2nd newest post
- link to 3rd newest post
- link to 4th newest post
- All the way to the 10th post
- then a link to View all
So as you can see, I just need to list all of a certain taxonomy, then under each one show the 10 newest post under that category ande provide a link to the view all page
Please help me do this someone
I know how to set up the taxonomy and custom post type, I just need help getting it to show each one and the 10 newest post for each one in a list like that