Archive Listings Filtered by Date Values in a Custom Field/Post Meta?
(Moderator’s Note: The original title was “using archive by date with a custom date”)
(Moderator’s Note: The original title was “using archive by date with a custom date”)
I have my own SQL string to select Custom Post Type posts with specific WHERE clause. I’ve used the offset and limit to return appropriate posts depending on a page being displayed. That’s working fine.
I’m having an issue creating an ajax search on my single post pages. I need to limit the search results to the custom post types “fod_videos” and “post” and category 12. My issue is the search is returning all the posts under those filters and not taking the search value. I’m guessing I’m missing something obvious but I can’ figure it out. Here’s my setup.
I’m trying to use WP Redis to cache entire $wp_query object with key is $query_vars_hash.
I’m trying to create a portfolio with WordPress using a Custom Post Type to display my projects. Each project I want to display on my static front page with a featured image as a thumbnail, and by clicking on a thumbnail would take me directly to the project.
I have a custom post type of image with a custom taxonomy called image_tag (it’s hierarchical like categories). Here are some examples of the tags that might be used:
In some cases it might be useful to use multiple post & page parameters in your WP_Query object. In my case, I would like to display children of a parent page including the parent page itself.
I know many people asked for this question but I didn’t find a proper way to do it. How to add a simple meta_query (product_cat) before the execution of the shop page’s query.
After some research I’ve managed to create a json file which I use as input for Twitter’s typeahead (prefetch). On my website I have several hundreds of events and several thousands of artists (both custom post types).
I’ve setup a CPT to act the same ways as posts but used to post event details.