How would I change the page template for a categories page?
-
I’m new to wordpress and this is the first design I’ve made for wordpress (http://scoobydooobyd00.com/).
My site has all my tutorials, and sources to my tutorials. You’ll notice that under that Navigation there’s a link to the Videos page (which is a category) but I want it to have its own page style like this page (http://scoobydooobyd00.com/videos) – this page is an actual page
At first I Tried to make the videos page (not the category) load all the post under the category “videos”, but after searching the forums I realized I needed to use a category but when I do that I can’t specify the page template I want.
Also I don’t want my tutorials/videos to show up on the home page so I used this script to exclude the posts from the home page
function exclude_category($query) { if ( $query->is_home ) { $query->set('cat', '-19'); } return $query; } add_filter('pre_get_posts', 'exclude_category');Thanks in advance, ScoobyDooobyD00
-
You are in the wrong forum. Your blog is not hosted at wordpress.COM – see the stick at the top of the forum. https://en.forums.wordpress.com/topic/please-read-me-first-before-posting?replies=1
-
- The topic ‘How would I change the page template for a categories page?’ is closed to new replies.