Merge 2 args in one WP_Query and order it by date
I’m trying to merge 2 WP_Query in a new WP_Query and then order all posts in this new merged query by date descending. I can merge 2 WP_Query and work fine, but I can’t order the new query
I’m trying to merge 2 WP_Query in a new WP_Query and then order all posts in this new merged query by date descending. I can merge 2 WP_Query and work fine, but I can’t order the new query
EDIT 2: Rather than figuring out the real solution I’ve decided to use a workaround, and am simply setting the default value for book_in_series to ‘0’. Thanks to @eddiemoya for all his the time he spent looking at this with me!
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.
I want to have the ability to use pictures from the media library in a jquery slider on the home page so that it’s easy for someone else to update the pictures without having to hardcode it. I have attached a bunch of photos to a post and tried this
I would really appreciate if you could help me 🙂 I’m very stuck and don’t know how to proceed.
I am trying to combine two WordPress queries but it’s not working as well as pagination.
Is it possible to sort posts (custom post type) by category / taxonomy (name, desc)?
I have been days over this issue now. Initially it was, how to store a user’s follower data in database, for which I got couple of nice recommendations here at WordPress Answers. After, following the recommendations I have added a new table like this:
For future reference:
I am using the great Meta Box Plugin to help expedite meta box creation for my custom post types.
I’m using the following code to retrieve posts: