Linked Questions

1
vote
1answer
341 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 ...
0
votes
2answers
159 views

How do I automate multiple category loops?

I've asked this question already on the WordPress forum, but it sank like a stone, which isn't at all unusual. I've set up a general Articles page with multiple loops, in order to display the first ...
0
votes
2answers
393 views

Stop loading more posts if none left AJAX

I'm using the following JavaScript to load more pages in #work_items (see live at http://mtthwbsh.com): jQuery(document).ready(function($){ $('.older a').live('click', function(e) { ...
1
vote
1answer
183 views

How to know which one is the main query?

I just did an action on the query using pre_get_posts and it didn't work. When I removed the $query->is_main_query() it did work. So, how do you know that what is the main query. I know there is ...
0
votes
1answer
235 views

3 random images from custom post type, each in a div with a diffrent class

I'm trying to build a loop using query posts to display 3 featured images from the custom post type 'portfolio'. My problem is that each picture has to be in a div with a diffrent class, so i was ...
0
votes
2answers
299 views

Disable (or limit) queries when certain content (or data) is not needed (or showed)

Currently I am making a custom design for a site. The problem I'm seeing in Wordpress is about almost all data pulled out from the database. While in certain pages - like front-page.php - it only ...
-2
votes
2answers
380 views

Show post titles only on the homepage

Is there any way to show a list of all posts without any preview of the content on the homepage?
0
votes
1answer
294 views

Custom page template, not acting as page

I have defined several page templates on my site http://178.21.128.82/. When I set my pages to use one of these page templates, wordpress seems to stop treating it as a page: It is not accepted in ...
0
votes
2answers
176 views

why to use query_posts() in custom page?

Hi i am new in wordpress and want to know about query_posts() function. If there is index page or home page than there is no need this function to display post but if i made custom page than there ...
0
votes
2answers
224 views

older blog posts not showing in new theme

I have a new, custom theme that I've uploaded on a pre-existing site/blog. Everything seems to be working ok, with the exception of the older blog posts not showing up. Any ideas what I can do to fix? ...
0
votes
3answers
77 views

How to publish a Page and Posts using single template

Does anyone know how to structure a WP template in the loop by: Publishing the page content on top, immediate followed by certain category posts underneath the page content? Seems like it should be ...
0
votes
2answers
268 views

Get all custom post types excepted some…

I stack since a few hours now and I'm sure that this is not so complicated. I would like to get all custom post types into this $posts = query_posts( ...
0
votes
2answers
267 views

Trying to query all posts in category 4

I have the following template page. I am attempting to output all of the articles from the category 4. However I am only getting some of the posts, about 20% of them. Not sure what would be causing ...
1
vote
1answer
156 views

Show Posts From Same Category OR Same Tag

Assume a post is categorized in "Fruit" and tagged with "Apple". The following code shows posts with category "Fruit" AND tag "Apple" $args = array( 'tag__in' => $tag_in, ...
0
votes
3answers
319 views

shortcode for recent custom type post

I'm not a coder so I may have done some "coding" crimes, apologies. I've bought a theme who has shortcodes for last posts but not for last "custom post type". So I tried to create last "custom post ...

15 30 50 per page