The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
48 views

Exclude the first 'n' number of posts of a tag from home page?

Use case (example): Using a separate, custom query my website's home page shows 5 featured posts, tagged 'Highlights (highlights)', followed by the latest posts, from the main query. I don't want the ...
0
votes
2answers
271 views

Conditionally exclude post from specific category on home page sidebar?

I want to exclude posts from one category. These posts should not show in the sidebar on the homepage only when I explicitly don't want that particular posts to show. In all other cases these posts ...
0
votes
1answer
95 views

I need to exclude from a query a category and a few custom taxonomies

I need to exclude from a query a category and a few custom taxonomies. Is this code right? This query don't exclude any post, the one with the category, or the custom taxonomy. What am I doing wrong? ...
0
votes
1answer
63 views

How to display elements of different post types?

What happens is: I have a custom post type called "placas" and have an associated custom taxonomy called "firmas" and this taxonomy is the terms "LG", "AOC", "Panavox". I want to show a certain ...
0
votes
1answer
178 views

exclude custom taxonomy term posts from custom post loop

I have a custom post type set up called 'projects' with a custom taxonomy called 'categories' that has a number of terms. For one of them called 'archive' i would like to remove its associated posts ...
0
votes
1answer
56 views

remove term from custom taxonomy list

I have the terms of a custom taxonomy presented in a list like this: <?php $taxonomy = 'categories'; $tax_terms = get_terms($taxonomy); ?> <ul> <?php foreach ...
0
votes
1answer
124 views

How do I exclude posts by custom field value?

I need to exclude posts that have a custom field 'city' value of 'Melbourne'. After much searching I think the solution might consist of 2 parts. In functions.php : A function to get the post IDs ...
0
votes
1answer
433 views

Exclude a 'portfolio' custom category?

I have a custom post type called 'portcat' and I want to exclude one portcat category ('weather' - ID='5') from the page. I've tried 'category__not_in' => array( 5 ) but apparently this doesn't work ...
0
votes
1answer
106 views

Paginate wp_query while utilizing post__not_in

I'm currently running a wp_query like this: <?php $the_query = new WP_Query( array( 'post_type' => 'photos', 'posts_per_page' => '2', ...
0
votes
1answer
107 views

Exclude Authors based off date of last post

I have several writers that range from frequent to one-time writers for my blog. On my Author page, I would like to separate out writers that have not posted an article in 6 months. It would be nice ...
1
vote
0answers
100 views

Exclude image titles from search results

I would like to exclude image titles from search results. For instance, if I have an image called image-wikipedia.jpg, right now, if I search for Wikipedia the story that uses that image is returned ...
1
vote
0answers
284 views

Exclude posts with taxonomy term from appearing on home page query

I am really confused about this one, I am usually pretty good at working out basic queries but I can't seem to work this one out. Please see below my index.php query. Now it is not your basic query ...
0
votes
0answers
36 views

How to exclude a taxonomy term using url alone

This may have been answered somewhere but I may not be searching for the right wording or my concept is just way off :-) In a nutshell: If I have a url like this: ...
0
votes
0answers
102 views

Exclude Categories from wp_list_categories()

in before: I already searched for this answer her but couldn't find a thing that worked for me. I have a Lot of Categories and Child Categories. I use them to give a Location, Country, Type of ...
0
votes
0answers
36 views

Exlude tag (but not whole post) from related posts list

I display related posts under each post, depending on tags. The problem is, I use tag 'featured' for my top featured slider. So 'featured' tag is the most popular tag on my website. And here is the ...