The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
17 views

sorting posts (custom_posts) in author page

I want to sort posts (taxonomies) in my authors page, i want to sort them only by there one posts an have the right to edit them. I've try ed select elements but it shows results from search.php
0
votes
0answers
7 views

How to sort search results with a specific category first

I'm using the Zoner theme for Wordpress and would like properties categorized as "featured" to be first on the search/archive page. Is there a way to run the search query twice, such that the first ...
0
votes
2answers
40 views

How to order WP_Query to group results?

I have a list of products in WooCommerce that have titles like so: Please note: The "groups" are just for myself, they are not categories etc. All products are the same type of product, just two ...
0
votes
0answers
20 views

How To Sort and Filter Admin Custom Taxonomy Columns

I have a custom post-type with associated custom-taxonomies – how can I make these custom taxonomies sortable in the custom post-types admin/list view header (similar to how dates is sortable)? ...
0
votes
0answers
19 views

Create Searchfilter by Atribute

How to create a search filter by attributes in woocommerce? I like the default woocommerce layered nav widget but i want to build a searchfilter by attribute directly in the shoparchive just as i have ...
0
votes
1answer
24 views

display wordpress user who published a pending post of another user

I have a custom post type, when I view my posts of this type in the dashboard I see: Title Author Date Added as well as a few more I have added My question is how can I display (like the author ...
2
votes
1answer
45 views

How do I set the default admin sort order for a custom post type to a custom column?

SOLUTION AVAILABLE HERE I've set up a custom post type called clientarea, and set up several custom columns for it in the admin area - the custom columns are all custom meta fields, as you can see ...
-2
votes
1answer
33 views

How to resort my id in wordpress?

When i select id from my wordpress with command select id from wp_posts;,the output is such as following: | 1382 | | 1384 | | 1386 | | 1388 | | 1392 | | 1396 | | 1399 | | 1401 | | 1403 | | 1406 | ...
0
votes
0answers
9 views

How to keep the sort order or filter applied in prev/next navigation?

I have an online shop (apartments for rent) using Woocommerce in Flatsome theme. The viewer can sort using the Woocommerce sort by dropdown menu, and filter items using Woocommerce filter widgets. ...
1
vote
1answer
20 views

sort tags by tag ID in admin panel

I want to sort tags list by tag id in my WordPress admin panel. There is 1000s tag in admin tag list and I want to know which are the latest added tags, but there are options to sort with Name, ...
0
votes
1answer
56 views

Ascending & descending posts on same page with IF statement

I need to be able to display a list of events on 1 page. The top list would be for upcoming events and to be sorted with earliest event first and the second list would be for expired/past events and ...
1
vote
0answers
45 views

Sortable product selector

I am currently trying to find the best way to implement a 'sortable product selector' into a WordPress site. The best way to describe what I am trying to achieve is by uploading screens as an example. ...
0
votes
0answers
14 views

Update wp.media state (mainly order) of images in Add Media Modal

I have to mimic a feature that was part of Wordpress 3.5 but was removed in Wordpress 4.0. When I am seeing the files uploaded to a post in the Add Media Modal, if I chose "Uploaded to this post", I ...
0
votes
0answers
23 views

Custom field column sortable in admin post list?

I have custom field in my posts named "thumbnail_url" which contains url of image. And I wish to display that image in my post list in new column. I managed to do it with code bellow. Now, I would ...
0
votes
1answer
16 views

Sort / Filter Queries

I'm working on a website, that showcases products, and now I'm working on the query part. Basically I want to have one page, that displays a list of products as a normal query, and then on top of the ...
1
vote
1answer
55 views

Sorting and limitation with pre_get_posts

This is my third question regarding WP queries and pre_get_posts (sorry about that) but I cant give up one step before the full success :) So the story - my query is limiting front page posts to ...
0
votes
0answers
22 views

Sort custom fields in admin by last field added

I'm trying to sort custom fields in admin post by last added fields but it sorted by words and number example my add is 3 , 6 , 4 , 7 , 5 , 1 when admin post save my custom sorted by number be ...
1
vote
1answer
53 views

Creating a category page by alphabet

i'm new to wordpress, and i don't know how to code. I would like to make a page where all my animes are sorted by alphabet, like in this image I've heard about the wp_list_category function, so i ...
0
votes
0answers
23 views

Static front page and orderby

I have setup a Wp_Query on a page template that queries woocommerce products. When not set as the front page my orderby filtering works perfectly. However when trying to use orderby on a static front ...
0
votes
0answers
17 views

Child categories by post date

I have created a parent category called " Shows " and have 8 different programs under it. I want to display the most recent post from all categories on first block of my template page. The code I am ...
0
votes
0answers
30 views

“meta_value_num” not working when value is wrapped in html tags

I should start by saying I have little to no knowledge of PHP, nut I am responsible for managing a wordpress site for a restaurant. I have the menu items listed in order of price using the following ...
0
votes
0answers
133 views

Woocommerce: custom product attribute sorting not working (backend)

I am having a problem sorting the product attributes in the backend. I have a product attribute called "size" which has numerical and string values (36, 37, 38 .. XS, S, M, L). Because they were not ...
2
votes
2answers
79 views

What is the most efficient way to search users by their display name?

Initially I thought I'd use get_users() but it turned out it doesn't support the display_name field. Then I've read about using WP_User_Query, but when I do it always exhausts the allowed memory size ...
1
vote
3answers
91 views

Orderby meta_value only returns posts that have existing meta_key

I have the following wp_query: $args = array( 'post_type' => 'news', 'orderby' => 'meta_key', 'order' => 'ASC', 'meta_key'=>'custom_author_name', ...
0
votes
1answer
84 views

Sort and paginate custom post taxonomies alphabetically

I need to sort and paginate custom taxonomy post types. i have a page where i have next and previous link. on clicking next and previous link next or previous brand(custom taxonomy) should load. I ...
0
votes
0answers
35 views

Filter to order Admin Custom Post List makes template query come up empty

In my template I query the posts like so: query_posts(array( 'post_type' => 'homeslide', 'meta_key' => 'slide_order', 'orderby' ...
0
votes
1answer
60 views

Custome column sort by date not title

I've created a custom column. Currently they are automatically sorting by title however i want them to sort by date. I've tried adding a "query_post" like: ...
1
vote
1answer
41 views

Sorting Media Library by Author Name

When attempting to sort my media library uploads by author's name, it appears that WordPress will only sort by author ID ( ...
0
votes
1answer
50 views

wordpress custom loop ascending descending posts by custom field

I am developing wordpress site that is depend upon price so i add custom filed named 'price' <?php while ( have_posts() ) : the_post(); echo $price = get_post_meta($post->ID, 'price', TRUE); ...
0
votes
1answer
45 views

Sorting Posts by custom field

I'm trying to sort my posts by the custom field artwork_title. When I use the following code, I just end up with one particular category of posts no matter what category archive I'm on. Also ...
0
votes
1answer
25 views

Advanced sorting of content in wordpress [closed]

Let's just say that I have website about cars. I have already created several categories, depending on which brand the cars are. My question is simple. I would like to implement some advanced type of ...
0
votes
2answers
45 views

Sort Wordpress Posts Meta value by Week not Day

Right now I have a metakey called 'epicredvote', it sorts my posts by this epicredvote number. It is doing it on a daily basis at the moment, so if I have 2 posts the post with the highest epicredvote ...
0
votes
1answer
22 views

Sortby parameter to sort users

So for my post list, currently these are sortby post_count. Now, I am trying to sort the posts by "most newest" or "recent" Here is how the shortcode works [sortby=post_count] Other parameters ...
0
votes
0answers
44 views

group search results by post type with relevanssi

I have 3 post types: post lesson series When a user searches on my site, I want the results to be sorted by post type into different containers. I am using the Tabs from Zurb Foundation for my ...
0
votes
1answer
83 views

How to make in WordPress admin panel sortable column for the custom field, that count the number of page impressions?

Good day! I try to make display post counter for WordPress. Output count of views function getPostViews($postID){ $count_key = 'post_views_count'; $count = get_post_meta($postID, $count_key, true); ...
0
votes
1answer
35 views

Sort posts by first content letter

Question title completely reflects my issue. I'm build non-profit collection of poems, and want sort them alphabetical. Native Wordpress sorting in this case is unsuitable. Must sort poems by first ...
0
votes
1answer
140 views

group search results by post type?

My site has 3 unique post types: Default Blog posts ("post") custom type "lesson" custom type "series" When the user searches the site, I would like pertinent results from all 3 post types to show ...
0
votes
1answer
29 views

sort Posts by custom user filed

So I'm trying to sort the posts by custom user filed, I'll explain... So I have added users filed to the registration page, The fields are checkboxes, they allow the user to choose what topic he is ...
0
votes
2answers
65 views

Custom post type taxonomy not sorting correctly

i created a custom post type and also some taxonomy to be able to perform sorting on the display list. It is all working well on my local testing installation but as soon as i put on the production ...
1
vote
0answers
65 views

Best Practices for a Completely Customizable Homepage - without plugins

Let's say you have a homepage where you want to be able to feature 10 posts of various types (posts, pages, and Custom Post Types). You have hundreds of these posts to choose from. What would be the ...
0
votes
0answers
33 views

Previous Next Post Link by Post Rank Value Stored in Another Table

I'm using the Q2W3 WordPress plugin to sort posts by category. This plugin allows a drag-drop interface to change the default post order and modifies the standard taxonomy output so that posts on the ...
0
votes
0answers
16 views

how to sort post in admin column by recently

i have created custom post type my problem is: in admin column, posts are sorted by ID how can change it to date. In other words, i want to sort post by recently
0
votes
0answers
40 views

Sorting posts to make those with post thumbnail show up first

I am trying to sort post with If have post thumbnail list posts show first(i need the posts without thumbnail to show after it) by title. $args = array( 'post_type' => 'post', 'meta_key' ...
0
votes
1answer
107 views

wordpress sorting using array merge by price in ascending order but price with 0 must be show last

I'm using below code to filter the query on page and sort the post in ascending order by price. I'm getting desire output but my concern is , i want all price with 0 at last. <?php global ...
1
vote
0answers
106 views

Sort alphabetically by custom field

I'm trying to change the sort order of a custom field in a custom post type. I want it to be be alphabetical by the 'location' name. It's sorting by location, but not keeping them in alphabetical ...
0
votes
1answer
55 views

Query Set Order By Author

I am attempting to orderby the author_name when you click on the Author arrow on a list of tickets. When you click the arrow, the names are ordering by something I cannot identify. I want them to ...
0
votes
1answer
208 views

Sort Custom Post Type by Category ID then Post Name

I'm creating a custom post type archive page, and I have the posts sorted by category. However, I need the categories to be listed by ID, and the posts to be listed by name. Here is what I have so ...
4
votes
1answer
98 views

How to get order of posts?

How can I get the order through which the query is done? For example, my woocommerce product archive page is querying by ordering according to the order_by select box (as seen below). How can I get ...
0
votes
0answers
30 views

Sorting posts alphabetical that have single digits

I have post titles that are like this: Episode 1 Episode 2 Episode 6 Episode 10 Episode 14 I try to list posts alphabetically but it ends up showing like this: Episode 1 Episode 10 Episode 14 ...
0
votes
3answers
66 views

Order posts randomly, not by date

I'd like to know how to order by "random" instead of by "date". Can someone help me modify this so it gets posts randomly instead of by date? $posts = ...