All Questions
53
questions
0
votes
0
answers
22
views
Display posts based on the selected category when no subcategory is chosen
The following code displays posts based on subcategory. First dropdown is a custom taxonomy category, second dropdown narrows down the search to subcategories associated with selected category. My ...
0
votes
0
answers
51
views
Search and filter terms of a custom post type only and display results
I am creating an archive-newsroom.php for my /newsroom page and custom post type. I have the custom post type working, but now I am trying to have a search input to display the custom post type ...
0
votes
0
answers
140
views
ajax select parent show child in another select and show posts in another select-ajax filter search
I'm on wordpress and I created a search filter shortcode which user can select province and show towns on another html select base on province and when user select town, in another html select it must ...
0
votes
0
answers
52
views
AJAX multiple search boxes not merging with array merge
this is a very frustrating problem.
I have some search boxes for different feilds on my site. some are acf meta fields, another is for title, and another for a keyword taxonomy.
But on the front end, ...
0
votes
1
answer
522
views
Woocommerce - Include custom user meta in order 'filter by registered customer' Ajax search
I am trying to include a users custom meta named 'sageaccountnumber' within the 'filter by registered customer' section of the WooCommerce orders list as shown below:
I already have the custom meta ...
0
votes
0
answers
158
views
Woocommerce ajax search can't work on mobile
It's wired my ajax search code can work on the desktop, but in the mobile browser, the ajax search doesn't have any responses. I don't know how to get the trick.
html
<input type="text" ...
0
votes
0
answers
248
views
Display full WordPress post under search form using AJAX
Hi I am currently creating a site that shows interactions between different pharmaceutical drugs. I originally started with Live search on JSON Objects Data Using jQuery (originally based on this ...
0
votes
0
answers
259
views
Display WordPress search results based on the selected Sub-Category
I'm trying to create a search using dropdowns in WordPress.
I've got two dropdowns, 1 - Parent Category and 1 - Sub-category.
The Sub-category will show automatically based on the selected Parent ...
0
votes
1
answer
1k
views
WordPress Search Ajax + Isotope + InfiniteScroll
Custom Ajax Search filter for WordPress Search
I want to give a complete breakdown so you can easily analyse the problem and see that the issue is nowhere else, but the JavaScript. If you are not new ...
0
votes
1
answer
958
views
Select2 AJAX and WP Query Returns ALL and does not filter
So I'm a bit stumped here. I regularly use Select2/AJAX/WP_Query to search for and retrieve default WP post-types and my own custom post-types. Almost every site I've built over the past few years ...
0
votes
0
answers
2k
views
Ajax action has 200 status but response of No response data available for this request
I'm developing a custom plugin that implements an ajax-powered search form on a WordPress site. It runs a WordPress query and outputs the results just below the search box where a user types their ...
0
votes
1
answer
161
views
Why isn't the 'no results' being shown when a query returns no results?
I've been following this tutorial for a simple AJAX filter search within wordpress:
https://itsmereal.com/simple-ajax-filter-search-for-wordpress/?unapproved=3915&moderation-hash=...
0
votes
0
answers
115
views
Change ajax live search results
im using this code for my website
ajax live search for post title
The HTML (could be part of page content)
<input type="text" name="keyword" id="keyword" onkeyup="...
0
votes
0
answers
150
views
Search for custom field input of a custom post type in ajax live search
I have a custom post type (gd_place generated through GeoDirectory) with a custom field (select_funding as part of the table wp_geodir_gd_place_detail) where a user can choose one out of several ...
0
votes
1
answer
158
views
Adding ELSE argument to AJAX Live Search for "No results found"
Having finally being able to make an AJAX driven live search functional, I need help understanding how to add an else argument function so that when there are no posts matching the search query, the ...