axgillette
Member
Posted 2 years ago #
Does anyone know how i can show all articles in a a category on a page?
I want all the items in a category to show up in a page. I tried to do it myself, but i cannot figure out how to do this.
If anyone has any info on this i would greatly appreciate it.
make a new page template with the below code :
if (is_page('page_id') ) {
$cat = array('category_id');
} else {
$cat = '';
}
axgillette
Member
Posted 2 years ago #
Hmm, not to sound noob or anything, but i looked in WP admin panel and cannot find a place to create a new page template.
Did you mean to create a page template with an editor, then upload it to wordpress? But how would i call this into WP to show up as a page?
I understand the code you shared with me. Just need a bit more explanation please.
thefox913
Member
Posted 2 years ago #
axgillette
Member
Posted 2 years ago #
thanks, the codex page provided a link to a great plugin. It sure helped. Thank you again.