The sort tag has no wiki summary.
0
votes
1answer
302 views
Native gallery sorting is ignored
On my website, I recently got a quite strange problem. I used to upload images via the nextGen Plugin. But since with this plugin google doesn't seem to index my pictures, I wanted to switch back to ...
1
vote
1answer
110 views
Sort posts by meta key that is serialised with other meta keys
I need price sorting, where price is a metakey that is serialisez with other metakeys and stored in wp_postmeta
I need something like this:
When user click on free (Anchor tag) it should show posts ...
3
votes
1answer
167 views
Sorting by tag or category
Here's the scenario:
A user clicks on a tag which takes them to a list of all those posts with that tag. There are hundreds of posts, so the user needs a way to filter these.
Here's the question:
...
2
votes
0answers
137 views
wp_list_pages sort order is different for different languages [closed]
I'm using the following code
wp_list_pages(array('exclude' => '','title_li' => '','sort_column' => 'menu_order'))
If I switch the language the sorting is different. One of the main menu ...
1
vote
1answer
67 views
Sort posts by most recently modified
Is there a way to list posts in the order in which they were modified?
For example;
A user posts 5 posts (#1 being the oldest and #5 being the newest), by default they would be listed with #5 being ...
2
votes
1answer
879 views
Custom sortable columns ordered by meta-value?
I have no idea why my sortable function does not sort my "events" my a custom post-meta. I have a custom-post-type named wr_event… I have my custom columns set up and my post-meta is shown in the ...
0
votes
1answer
160 views
Does wp track views for posts?
I want to do a query and sort posts by views. Is this possible? I'm not even sure where to start..
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
2answers
259 views
sort post types by amount of views
I have a custom post type that I want to do a type of news feed for, but I only want to show the ones with the most views. I know I can do a query for an "archive" of my post types, but my question is ...
0
votes
1answer
326 views
Sorting dynamic table content with jQuery
I've been trying to use numerous jQuery plugins for tabling sorting in WordPress and have had absolutely no luck. Can anyone make a suggestion for a plugin that sorts tables of dynamic content?
I'm ...
0
votes
2answers
205 views
Ascending sort order for monthly & category view, i.e. ?m=201204, ?cat=4
I have my posts ordered ascending (from oldest to newest) because I use Wordpress as a website to accompany a book published based on the original blog. To do this I put the following code just before ...
2
votes
0answers
791 views
query_posts with a custom post type, a meta_query and sorting by post date?
I've searched the archives and found questions similar to what I need, but haven't found exactly what I want.
I've got a bunch of products that are sorted by a meta_key of country, and I'd like to be ...
1
vote
4answers
815 views
Loop through all tags & output posts in alphabetical list
I have a bunch of posts that each have multiple tags, and I'm trying to find a way to output all of them on a single page, organized under an alphabetical listing of their respective tags. E.g. if ...
0
votes
1answer
344 views
ASC and DESC separately from orderby
So I got this to sort my posts and it works great:
<div class="sort">
Sort by
<select onclick="if (this.value) { document.location = this.value; }">
<option ...
0
votes
1answer
81 views
How to list post as buch of category, and all of them
I like my homepage not to list only one category, but to list all category, group by post. Here is the request :
Cat
1
2
3
4
5
and the post will be :
post
1 (cat=2)
2(cat=2)
3(cat=1)
...
1
vote
2answers
823 views
wp e-commerce group product by category
Sorry for my bad english.
I have WP 3.3.1 & wp-e-commerce.3.8.7.6.2. On the products page (which use wpsc-products_page.php template) I have list of products. I want to group this products by ...
3
votes
0answers
262 views
Plugin for sortable posts in grid [closed]
I'm looking for a plugin that will emulate this current php page:
Each flower to be a post with more info.
The dates to be sortable
Current blooming flowers to be featured in the widget sidebar ...
1
vote
1answer
664 views
How to build a directory with indexes in Wordpress
I am working on a site that is using posts as a way to manage glossary articles like the example site below. I would like to find a way to display articles alphabetically and grouped by a selected ...
0
votes
1answer
120 views
Can't seem to do combined query AND sort?
Below is the code I'm using to query multi-day events. The problem I'm having is that I can either sort by the start date (evstart_date) OR I can do a combined query against start date and end date ...
0
votes
3answers
670 views
How can I set a default listing order on the admin page for a custom taxonomy? (without plugins)
I'm researching this problem for days without any success... What I want is very simple: to see my custom taxonomy terms sorted by ID on the admin page. I can't believe that something this simple ...
2
votes
1answer
303 views
query_posts sort in multiple directions
I'm trying to improve my post sorting by using multiple criteria, but I want specific orders for different values. For example, I have a meta_key called 'featured' that I want to move any post up to ...
1
vote
1answer
112 views
How to display sorted posts in the 'All Posts' page
I've been following this tutorial to build a sorting page for my posts:
http://soulsizzle.com/jquery/create-an-ajax-sorter-for-wordpress-custom-post-types/
The sorting works fine, but the new sorting ...
0
votes
2answers
931 views
Sort results by name & asc order on Archive.php
I currently use the following code to list posts in Archive.php but I want the results to be ordered by name in ascending order, I have checked the codex but the answer isn't clear to me, how can I ...
3
votes
4answers
3k views
Sorting a query by custom field date
EDIT: Reworded the question for more clarity
I'm trying to sort by custom meta box data, which I am converting to a date using the strtotime function, but I'm having some difficulty.
My chief ...
0
votes
1answer
126 views
How to order posts by number of Vimeo Likes
I have number of posts that contain embeded video from Vimeo, I can get vimeo likes and display them inside the post using vimeo API but how can I order those posts by number of Vimeo likes?
0
votes
3answers
236 views
Sort my event calendar by date
Im currently building an event calendar on wordpres with custom post typ. Im using custom fields for date, description etc.
Now I want to sort the events by date.. So -->
january 3, 2012
january 10, ...
0
votes
1answer
139 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 ...
1
vote
1answer
903 views
Sort query_posts for Parent Pages to menue order or the count?
thanks to a member here i display my Parent Pages in a 2 column grid with title and excerpt. But for some reason i can't figure out how to sort all 5 Pages by the menu order for example or the order ...
5
votes
3answers
828 views
sortable custom column in media library
trying to make a custom column sortable in the media library. Found lots of examples for posts, and users but can't get them to work on the media library page.
function wpse_hook_isv_columns() {
...
0
votes
1answer
150 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
201 views
orderby ignored by wp_query
With the following code, I do not get the result set ordered by titles. No matter what values I give to 'orderby' and 'order', I get the same ordering. The parameters seem to be ignored (or ...
2
votes
0answers
326 views
sort order for a custom post-type [closed]
How do I specify a sort order for a custom post-type like I can do with the pages post-type?
All I have been able to find online is various plugins that do it for me, but I'd prefer not to use a ...
1
vote
1answer
567 views
Admin table list API?
wp-admin table lists - like post list
Is there a API or something to build table lists in wp-admin?
With table lists I mean like the list of posts for example. It has columns, sorting, paging and so ...
0
votes
1answer
551 views
How to sort posts based on the value (number) of a post's metadata?
I'm using the GD Star Rating plugin and the bbPress plugin. The first plugin do have a argument to sort posts by number of votes. But unfortunately, It doesn't work with WP_Query (and apparently the ...
2
votes
1answer
218 views
Sort posts by newest child while keeping hierarchy intact
I have the following hierarchy within my wordpress posts (e.g.):
-> Post 1 (pubdate: 2011-01-01)
--> Post 5 (pubdate: 2011-01-02)
---> Post 6 (pubdate: 2011-01-03)
----> Post 7 ...
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) {
...
1
vote
2answers
4k views
Setting Custom Sort Order of Posts within a Category
I've got this category setup that includes several posts. By design it's not a blog, but a staff listing. Currently all of the staff members have their own posts with the category. I'd like to be able ...
0
votes
1answer
213 views
What's an easy way of sorting custom post types manually?
I'm using the bbpress plugin. It has a custom post type called forums. I used to sort posts by changing its publishing date. But you can't do that with this custom post type.
Any suggestions?
3
votes
2answers
361 views
Sort X categories by last update and show image
I want to display X categories, and sort them by last update.
I also want to grab the image of the latest post with the category.
<img src="<?php echo ...
0
votes
1answer
445 views
Custom Post Type sorted by Title
I created a not-hierarchical custom post type and, as default, it's sorted by date published.
I know I can reorder them by Title with query_posts() in the archive template:
global $query_string;
...
1
vote
1answer
740 views
Order posts using a custom array
I have an array of post ids which I'm passing to query_posts using 'post__in'.
My question is how can I use the order from my array rather than ordering by 'date' etc?
0
votes
2answers
736 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
271 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 ...
1
vote
1answer
1k views
orderby field - list of available options?
I would like to sort items by the "order" field of the page attributes (see pic).
I've come across all kinds of "custom tag" solutions but not one listing all of the already available fields you ...
6
votes
1answer
6k views
How to query_posts using meta_query to orderby meta_key AND have a secondary sort by date?
I've been troubleshooting an issue over the past few days and keep going in circles. Could really use a fresh pair of eyes to help me answer this question...
So I'm working with a wordpress site ...
0
votes
1answer
454 views
How can I sort the order of multiple custom field values in a custom post type?
Here's the website: KunzlerIP
At the bottom of the website, you see a slider using Fancybox. Each thumbnail pops up some content from an individual custom post type post. For this custom post type, ...
1
vote
3answers
861 views
Control attachments menu order with jQuery Sortable
I've managed create a metabox that lets me upload and then fetch the images and then also been able to add jquery ui sortable to be able to sort the images, however I've no idea how to add actual ...
2
votes
1answer
296 views
Wordpress: Keep order of query_posts list of post ID's using post__in
I need to request a certain list of posts in the order I want. I'm getting the posts using:
query_posts('category_name'=>'cases', 'posts_per_page'=>5, 'post__in'=>$_SESSION['sorting'], ...
5
votes
5answers
709 views
Different post sort order within different categories
I need to give each post a unique post order for multiple Categories (per post) it is in. I can imagine a solution using custom fields whereby for each Category there is a corresponding custom field ...
0
votes
1answer
489 views
How can I sort my loop based on meta data, using a form?
I've created a custom post type called 'properties' with custom meta boxes of 'price' and 'rooms'.
I have a custom loop-property-archive.php to display the properties.
What I would love to have is a ...