I’m using the mysql GREATEST() function to compare two table fields and display in a […]
Tag: query-posts
Multiple instances of nivo slider plugin
Iâm using WordPress as a CMS for this site http://www.seadragon.co.uk/new_site/portfolio.html …and itâs the first time […]
Query on custom field count?
I have the following code: <div id=”pc” class=”smartbar-content”> <ul class=”smartbar-items”> <?php $paged = ( get_query_var(‘paged’) […]
list child page items (1 level with meta keys)
I need to have a index page and it can pull out the title (with […]
how to query posts by category and tag?
I am trying to show a list of posts that are related to category X […]
Query posts by category AND custom field, then ORDERBY another custom field – help!
OK I need to query posts using the following criteria: category_name=office, meta_key=featured_post, meta_value=Yes and order […]
query_posts exclude a meta key
<?php query_posts(array(‘showposts’ => 1000, ‘post_parent’ => $post->ID, ‘post_type’ => ‘page’, ‘orderby’ => ‘title’, ‘order’ => […]
How to call a custom post with get_posts() instead of query_posts()?
I currently use query_posts to show these custom posts but I’m pretty sure that I […]
meta_compare seems to be treating values as strings instead of integers as expected
Trying to use meta_compare as suggested in the codex: query_posts(‘meta_key=miles&meta_compare=<=&meta_value=22’); Here is my code: global […]
Select category in custom query
I’m sure this question is asked alot, but I cannot figure it out, since all […]
No More Posts Available.
No more pages to load.