Forum Replies Created
-
AuthorPosts
-
December 6, 2024 at 10:13 am in reply to: Using date_format on custom date field returns “now” #52171
Ernest Marcinko
KeymasterThat is very strange.
Can you add temporary back-end and sFTP access details? I may have to debug this locally. Testing on our servers are okay, so I suspect there is something I’m missing here.
December 5, 2024 at 8:35 pm in reply to: Post Not Appearing in Search results via assigned tags #52168Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterGreat!
It still looks fine on my end for some reason, but either way, let’s try to force a 50% width via custom CSS, this should resolve it:
@media only screen and (max-width: 600px) { div.asp_sb.searchsettings fieldset { min-width: unset !important; width: 49% !important; } }December 5, 2024 at 3:34 pm in reply to: Using date_format on custom date field returns “now” #52162Ernest Marcinko
KeymasterHi,
What happens if you try it without the date format:
{evcal_srow}I’m asking because there might be a hook somewhere attached to the get_field function I suspect. If you get the same values, then it’s okay, if the timestamps change for each search, then that may indicate an issue somewhere.
Is is also strange that your custom code for filtering events does not work – that should definitely do something, it looks correct to me.
You can limit it to specific search IDs as well, with an additional argument:
add_filter('asp_query_args', 'asp_upcoming_events_filter', 10, 2); function asp_upcoming_events_filter( $args, $search_id ) { // Do it only for search ID=1 if ( $search_id == 1 ) { $args['post_meta_filter'][] = array( 'key' => 'evcal_srow', 'value' => time(), 'operator' => '>=', 'allow_missing' => false ); } return $args; }December 5, 2024 at 8:22 am in reply to: Post Not Appearing in Search results via assigned tags #52154Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi!
1. I assume you mean this page, but it seems to be okay on my end, I’m seeing 2 columns: https://i.imgur.com/cfxVR99.png
Try clearing your site cache, that may do the trick.3. Well you can, but the results will very likely not display there. WordPress has only a single search results archive page. If you use Elementor, you should be able to replace the search archive template and customize it. I rather recommend doing that.
4. Sure! Try this custom CSS:
.asp_ss form legend { font-size: 16px !important; font-weight: bold !important; }December 3, 2024 at 4:11 pm in reply to: API REST stops working in version 4.26.12 – 2024-06-25 #52147Ernest Marcinko
KeymasterHi,
I’m sorry, for some reason I got no email notifications, strange. When I checked the URL you sent, I’m getting results as normal: https://i.imgur.com/uZEjXg4.png
Same for the other one when the keywords are separated: https://i.imgur.com/J7YT5uG.pngErnest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterOh great then! You are welcome, have a great day!
December 3, 2024 at 9:25 am in reply to: Post Not Appearing in Search results via assigned tags #52143Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterRight now it redirects me to category pages of some sort when I select a category even with the empty phrase – however Ajax Search Pro does not do that, it should always redirect to the results page.
I assume you are using some sort of a custom code to make the category page redirection?Ernest Marcinko
KeymasterHi,
I would have responded to all of your queries, but I have to see the issues in order to be able to suggest a solution – that’s why I asked where the search is implemented.
On the given URL I’m seeing results when trying to search as well as filter items: https://i.imgur.com/fWMblqc.png
Even if I select multiple ones, they seem to work okay: https://i.imgur.com/kWwMmb1.pngHowever there is a major issue – I see the “asp_es_2” CSS class on 3 different elementor elements – that is not going to work that way. Make sure that the “asp_es_2” CSS class is only added to a single Elementor element, like in the video tutorial. Right now it’s added to 3.
You might see issues only because of that. Make sure to fix that first, it may resolve the problem.On the main search page, The search now mobile only I created is not showing 2 columns on the mobile view. I set it to two columns but is not working
Can you please specify which option do you mean? Two column for settings, or results? Please let me know so I can suggest.December 3, 2024 at 8:17 am in reply to: how to create the same page as this https://ajaxsearchpro.com/examples/ #52139Ernest Marcinko
KeymasterHi Aaron,
The Examples page on our demo is simply an archive page for the examples, it’s layout is custom coded – we are using a custom made underscores theme on that page. Unfortunately for that exact layout we can’t make a tutorial, as it’s outputted by the theme and independent from the search plugin.
In the search plugin you can turn on searching for the archive pages via these settings. Similarly, you can use that feature with any theme for the archive pages. Most themes allow you to edit the archive pages layout, so there is a good chance you can create a very similar layout to our examples page.
Ernest Marcinko
KeymasterHi!
To allow triggers on empty phrases, make sure that this option is set to 0: https://i.imgur.com/TXcYYxm.png
That will do the trick 🙂December 2, 2024 at 10:38 am in reply to: Woo Commerce Search Results Return as a ‘Post not Product’ #52126Ernest Marcinko
KeymasterYou are very welcome Keith!
If you don’t mind, I will close this topic soon and mark it as resolved, feel free to open another one if you have other questions or issues.
If you like the plugin and have not rated already, feel free to leave a rating on the wordpress plugin repository, it’s greatly appreciated.
-
AuthorPosts