Linked Questions

1
vote
1answer
175 views

Tabbed content with Pagination

I've stumble across an issue on a site Im building. I have tabbed content each holding a category for price ranges in seprate loops. The tabs work great filtering the categories, however some of the ...
1
vote
1answer
163 views

How to make 2 tag feeds show up on 1 page?

I'm looking to create a page within my site that looks like this: Tag/Category: News News Post a News Post b News Post c Tag/Category: Events Event a Event b Event c I'm new to Wordpress. I may ...
0
votes
2answers
209 views

How to create an identical second loop for attachments?

I have one loop for big images, and I need the same loop with small images (thumbnails). This is where I am stuck. Use case: I am trying to implement the elastic image slideshow jQuery plugin with ...
2
votes
1answer
160 views

reference the current category being used in the category.php page

I have this code in my category.php file <?php query_posts( array('post_type'=>'featured' )); $featured = new WP_Query( array('posts_per_page'=>1, 'tax_query'=> ...
0
votes
1answer
158 views

Restrict query_posts by Date?

To display the most popular posts based on page views I am using this code (source): <?php query_posts('meta_key=post_views_count&orderby=meta_value_num&order=DESC'); if ...
0
votes
3answers
153 views

Order by title without taking into account 'the'

I currently have episodes from a TV Show that feature bands playing, so for example I have: Moby The Dandy Warhols The Kooks My wp_query looks like this: $loop = new WP_Query(array('post_type' ...
0
votes
2answers
118 views

How to Loop with the final result formatted differently?

I need to list post_title's in this specific format (note the last title in the list must not have a comma) "post_title","post_title","post_title" I thought a mini-loop might work. Here's what ...
0
votes
1answer
147 views

'category__and' for custom taxonomy?

I've a custom post type 'post-type-x' and three custom taxonomies attached with it 'taxonomy-1', 'taxonomy-2' and 'taxonomy-3'. I want to retrieve all the posts that have custom taxonomies ...
1
vote
0answers
188 views

Custom post type pagination - always return first page

I have custom post template archive-product.php for custom post type "product". In this template paging does not work: numbers are displayed all numbers links redirect to first page ...
0
votes
1answer
144 views

Filter posts by specific custom category and current tag

I have set up a custom post type (buyers_club) with a custom category (buyers-club) and custom tags (country). I'd like to show a list of related posts by specific category, FEATURED, and by the ...
1
vote
1answer
143 views

category.php displays ALL posts instead of just those with the current category

I'm simply trying to display a list of categorised posts (with the custom post type of 'project') on the default category.php page. I can't get it to work! If I simply use the base theme category.php ...
0
votes
2answers
180 views

How can I display only sticky posts from a parent category on the homepage?

On my homepage, I have 3 columns showing varying amounts of information from posts in specific categories (first 2 of them child categories, the third column displays posts from various child ...
0
votes
2answers
61 views

Wordpress: Loop Help

I was working on this site this morning and I ran into a bit of an issue with my static page. I have a "featured" post section and I use: <div id="featured"> <img src="<?php echo ...
2
votes
3answers
99 views

Explanation of WP_Query

Why am I able to use WP_Query methods without using an object of this class? Sometimes I see examples that are using the object: // The Query $the_query = new WP_Query( $args ); // The Loop ...
1
vote
2answers
126 views

Trying to find a way to query post like normal search would do. within search.php page

I have a costume search in a site i am making. When a user search a certain term, i want to display category list with a count of how many posts are found with in that category. I thought of a way ...

15 30 50 per page