The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
48 views

Archive page - display specific post first

This is something I haven't heard of before but must be fairly easy to do? In the archive.php file, Given the id of a certain post (probably passed as a variable through the url) I want to know how I ...
0
votes
1answer
48 views

Sort categories by meta value

How can I make a list of categories with 4 last posts in each where every category is sorted by meta_value. For example, template without sorting by meta_value is http://pastebin.com/AeH6vx9b It ...
0
votes
1answer
98 views

Gallery shortcode numerical sorting

When I try to sort a Gallery created through the [gallery] shortcode by numerical titles I get them sorted in alphabetical order. That means that they are sorted like so: 1, 3, 34, 4, 56, 6, etc. ...
0
votes
1answer
51 views

Multidimensional array sort?

If i have a set of years, retrieved by the loop, for every years can be more post ID. Like: 2008 => 3,7,8 2009 => 4,5,6 2010 => 9 the code is: ...
0
votes
1answer
170 views

query_posts and custom taxonomy posts order

i have a custom taxonomy defined for "Projects" and a page that shows all the projects. In this page there's a jquery filtering menu (isotope). Initially the page must show all the projects but ...
0
votes
0answers
37 views

WordPress Multisite - Sort site / blog column

I use WordPress Multisite and made a plugin that adds columns with some data. Code example My code is based on the function: http://wpengineer.com/2188/view-blog-id-in-wordpress-multisite/ Key ...
0
votes
2answers
175 views

get_terms orderby name as numbers

I have a custom taxonomy filled with terms such as 'volume 1', 'volume 2', 'issue 1', 'issue 2', 'issue 10' and get_terms orderby name returns list as: issue 1, issue 10, issue 2 though I need it to ...
0
votes
1answer
110 views

ISOTOPE - Missing/Invalid Arguement Get Terms

I am trying to use the isotope plugin for sorting on my taxonomy page and even though I don't know much about how to set it up, I tried using some advice found on here. Wordpress and isotope ...
0
votes
1answer
148 views

Filter/Sort Post Form On Taxonomy page

I am trying to create a form on the taxonomy template that will be able to filter the posts the current user is viewing. I want to use a few drop downs and submit button to do so. My code looks like ...
0
votes
1answer
111 views

Select custom posts by meta_value and sort by a different meta value

I have my query set up like this: $article_query = new WP_Query(array( 'meta_key' => 'issue', 'meta_value' => $post->ID , 'post_type' => ...
0
votes
1answer
46 views

How can users sort multiple pages?

I'm using the following code to display a list of properties on multiple pages. I would like to give users the option of sorting the results by custom fields (perhaps city, or property name, or ...
0
votes
1answer
130 views

How to Sort posts by Vote Count?

Does anyone know how to automatically sort posts by Vote Count? I am using a plugin called WP Voting where a visitor can vote on a post. The plugin keeps track of how many votes each post has. The ...
0
votes
0answers
79 views

get_option( $options ) for multiple options in an array [closed]

I have created a sortable bar where with different options of orderby queries, like Random, Most Recent and others. The code looks like this: $orderby_sort = array( 'date' => __( 'Most ...
0
votes
0answers
14 views

How do I sort multiple pages? [duplicate]

Possible Duplicate: How do I sort multiples pages? I would like my users to be able to sort a list of posts with a drop-down. But I'm having problems because the results are on multiple ...
0
votes
2answers
58 views

Filter and Search

I am working on my site which is a WordPress based site. It is a sweepstakes site well winprizesonline.com is the site which inspired me most. Now I want a dynamic search like that site on my site but ...
0
votes
1answer
135 views

WP_Query -> sort results by relevance (= most tags / taxonomy terms in common)

I'm trying to write a new "related posts" widget (for the single post view) for my custom post type, filtering by custom taxonomy terms that the related posts should have in common with the current ...
0
votes
1answer
57 views

How can I sort posts ascending by post title for a specific post type, but on a category archive template?

How can I sort posts ascending by post title for a specific post type, but on a category archive template? My schema involves a "video" custom post type and multiple subcategories of the ...
0
votes
1answer
98 views

How to sort queried pages by an array of page ids?

I'm creating a one page wordpress website, and I need my 'home', 'about', 'portfolio', 'services' and 'contact' pages to all be on my front page. I created the following page template for my front ...
0
votes
1answer
206 views

Sorting custom post types in edit.php : Post disappear

I've got a few custom post types with different taxonomies and I have a function that adds certain categories to post list view in edit.php admin screen. Everything good there. I've also added a ...
0
votes
1answer
26 views

Link to most recently created category of custom taxonomy in primary navigation menu

I have a custom taxonomy called Issues (like magazine issues) with categories named after the title of each issue. I created a page called "Current Issue" and added a link to it in the main ...
0
votes
0answers
26 views

sorting links in single category by date [closed]

I would like to sort links in a single blogroll category by date. I no nothing about coding and would therefore prefer to use a small plugin or extension. Any ideas?
0
votes
1answer
23 views

list pages by custom_field?

Is there a way for me to sort these posts alphabetically according to the custom field I have defined (last_name)? <?php $page_id = get_the_ID(); $args = array('sort_order'=>'DESC', ...
0
votes
0answers
85 views

Custom Post Type post per page sort and sortby [closed]

I´d like to: 1. 'orderby' => 'rand' and 'order' => 'title' (doesn´t work for me yet) 2. show unlimited posts_per_page (at the moment just 10 posts will be displayed) The page should looks ...
0
votes
1answer
58 views

Adding Sorting to Website?

I would like to add sorting but don't have any idea how ot go about it. I would like to be able to sort by: Date, Title, Price (custom field), Comments, Views, ASC + DESC What would be the ...
0
votes
1answer
327 views

How to sort by custom field value?

I am using these code to sort most Commented, Most viewed Posts <?php $params = $_GET; unset($params['orderby']); unset($params['order']); unset($params['v_orderby']); unset($params['v_sortby']); ...
0
votes
1answer
186 views

Query Posts with MetaValue & MetaKey & SortOrder works, but it doesn't override category order [closed]

I have a query, ordered correctly by the meta_key in ascending order, but they are devided into groups of their category. This example shows the postorder in the WP category editor: Cat 6 - sub 1 - - ...
0
votes
1answer
75 views

Simple Data Table Update and Page Integration

There are a variety of tables (page-level, not database) in a website I manage that need to be regularly updated. The difficult issue is that this information is often only one or two data columns, so ...
0
votes
2answers
112 views

Sorting posts by specific order

I have a custom post type and I want to be able to control the order that the posts are displayed by defining the order in an array, and then checking the posts meta_value against the array to see ...
0
votes
1answer
100 views

Sort by category and then date?

I'll try to be as clear as possible. My Wordpress site has multiple custom categories and posts types all which need to be displayed on the home page blogroll. But I need the first post on the ...
0
votes
2answers
165 views

Custom Taxonomy Sort For a Custom Query

I am trying to custom sort taxonomies on a custom query I have written for one of my website I cannot use any custom plugin as I have tried and they do not work with my current setup. ...
0
votes
1answer
137 views

Query posts alphabetically within this function

I've been given some code to tidy up and edit a bit and the client wants to organize a custom post type named "plans" alphabetically. It's not a straight forward query and I've never come across ...
0
votes
1answer
149 views

Archive with specific keyword by category sorted by date

I need help to create a template for an archive with specific a keyword by category sorted by date. This is the code for my archive page so far: http://pastebin.com/WEjNGhJ1 My client wants every ...
0
votes
1answer
115 views

Sorting tags by name

I'm displaying a lit of tags when they have a description. I'd like to sort them by name instead of by post quantity. Is there a way to do this? <?php $tags = get_tags(); if ($tags) { ...
0
votes
2answers
732 views

Sort posts after filtering them through multiple taxonomies

I'm using scribu's Query Multiple Taxonomies to filter posts through multiple taxonomies (which works great!). However, I'd like to allow people to perform further sorting on the results based on ...
0
votes
1answer
270 views

Category sorting via The Loop [closed]

I have this code trying to sort by a specific category. I keeps saying it has an unexpected $end on line 39. What did I do wrong in the code. I've been playing with it and reading the codex for a ...
0
votes
0answers
232 views

Sorting loop by 'orderby' 'modified' not working?

I'm trying to build a photostream that sorts the loop by the modified date of a post type. The goal being that as a post is updated with new attachments, it gets pushed to the front of the loop. My ...
-1
votes
0answers
48 views

Sort post in a category alphabeticaly with the stick in that category on top?

I need to be able to sort posts in categories alphabetically with the sticky posts in that category listed first on top also sorted alphabetically. Apple* Banana* Watermelon* Coconut Grape Orange ...
-1
votes
1answer
36 views

Search from Post on the basis of custom fields

I have shown all the Post on a page. Where i want to add Filter for sorting Like Date and other Custom Fields. So how can i Do this Please Help me.
-1
votes
1answer
162 views

Sort author list alphabetically

I have narrowed the code down to this: <?php $authors = $wpdb->get_results('SELECT DISTINCT post_author FROM '.$wpdb->posts); if($authors): foreach($authors as $author): ...
-2
votes
0answers
30 views

Get all posts starting with first two letters in Wordpress

I have a plugin in which an alphabetical list is posted where people can click on a letter and they get the posts with that letter. So if they click on A, they see all post titles starting with the ...
-3
votes
0answers
46 views

Sorting posts by date, title or keyword. [closed]

I want to give the site users the ability to sort posts by title, date, or keyword. How can I do that in WordPress?

1 2 3 4