WP archive by restaurant
WP archive by restaurant
Out of context: Reply #3
- Started
- Last post
- 3 Responses
- acescence0
replace the number 26 in...
is_category('26')
with the number associated with your restaurants category, and replace...
meta_key=date
with whatever you name the custom field that holds the restaurant names.
then paste the whole snippet in your archive template above the loop, which is the part that starts with:
if(have_posts()) :