8 reputation
2
bio website
location
age
visits member for 2 years, 3 months
seen May 21 at 17:13

Jan
14
awarded  Scholar
Jan
14
accepted How to exclude a specific categogy from a custom page template
Jan
14
comment How to exclude a specific categogy from a custom page template
Take that back, removing the quotes seemed to fix it! thanks buddy! :)
Jan
14
comment How to exclude a specific categogy from a custom page template
This is technically the blog template. The posts in that category are displaying on /blog/page/9/. --- I wonder if /blog/page/9/ is a different template?
Jan
14
comment How to exclude a specific categogy from a custom page template
Yeah that still didn't work :(
Jan
14
comment How to exclude a specific categogy from a custom page template
Yes, I tried that, and the posts in that category are still showing up on the page with the slug that I give it. also tried is_page_template('location-template.php'), but I'm not sure these will work in functions.php because functions.php is loaded before the page loads.
Jan
14
comment How to exclude a specific categogy from a custom page template
its a custom template called location-template.php. I used "pre_get_posts" in the functions.php file. This works to exclude the category from anywhere the wordpress loop is being used. I just want to exclude this category from being displayed in location-template.php
Jan
14
asked How to exclude a specific categogy from a custom page template
Feb
22
awarded  Student
Feb
21
asked Having some trouble with “List Category Posts” plugin