Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterYou cannot access this content.
September 16, 2025 at 1:59 pm in reply to: Search by SKU setup when full SKU being searched is partial match of another SKU #55454Ernest Marcinko
KeymasterYou cannot access this content.
September 15, 2025 at 6:17 pm in reply to: Ajax Search pro issue in Elementor popup. Typing is interrupted when live search #55437Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi,
Surely!
The way I would try to do this is to check the start date and compare when the field name is “ecval_erow” and then return and empty string “”, that basically unsets the value and the field becomes empty:
add_filter('asp_cpt_advanced_field_value', function($value, $field_name, $result){ if ( $field_name === 'evcal_srow' ) { return date_i18n( "F j, Y", $value); } elseif ( $field_name === 'evcal_erow' ) { $start_date = get_post_meta($result->id, 'evcal_srow', true); if ( $start_date == $value ) { return ''; } return date_i18n( "F j, Y", $value); } else { return $value; } }, 10,2);I’m not sure this is the final code, you may have to test it first.
Then if you use the conditional square brackets to wrap the field, then you can hide the whole part with text and everything when the “evcal_erow” is returned empty (when it’s the same as the start date):
September 15, 2025 at 5:04 pm in reply to: Search by SKU setup when full SKU being searched is partial match of another SKU #55430Ernest Marcinko
KeymasterYou cannot access this content.
September 15, 2025 at 4:58 pm in reply to: Ajax Search pro issue in Elementor popup. Typing is interrupted when live search #55429Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi,
Thank you very much for all the details and your kind words!
The search requests the URL for each element via the standard get_permalink function, which should always return the appropriate permalink registered to the element.
I’m guessing that the structured data plugin is likely registering these URLs somewhere, but it may not be directly to that hook so it doesn’t propagate.There is very likely a way to somehow get that URL programmatically via a function. I have looked up the plugin documentation but I couldn’t find any API or function reference to start with.
Can you please ask them via their support how to get the permalink programmatically via the FAQ ID? With that information I can construct a small custom coded snippet to replace the URLs with the ones generated by the plugin.
September 13, 2025 at 5:03 pm in reply to: Google Search Rich Snippet not detecting search box #55419Ernest Marcinko
KeymasterYou cannot access this content.
September 13, 2025 at 4:59 pm in reply to: Google Search Rich Snippet not detecting search box #55417Ernest Marcinko
KeymasterOh I see. I don’t think that search box rich snippet exists anymore. I believe it was removed from google about a year ago. As far as I know it only worked with google integrated search boxes.
Just to verify I have looked up the supported structured data, and there is no longer a sign of search box rich snippet.
September 13, 2025 at 4:21 pm in reply to: Google Search Rich Snippet not detecting search box #55415Ernest Marcinko
KeymasterHi David,
Google Rich Results are not related to search results in your site. Rich results refer to structured data on individual pages, which Google crawls and uses to distinquish when a google search is made. For example if a page contains business details metadata, then it is considered a business data page.
These are detected via specialized properties when an individual item or a page with these items is crawled. For example if you wanted job listings, then google looks for these item properties.September 13, 2025 at 1:57 pm in reply to: Search by SKU setup when full SKU being searched is partial match of another SKU #55413Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi!
Well, the results page is out of control of ajax search pro unfortunately.
Usually there are blocks/widgets depending on the theme or page builder you are using that allow you to place that information to the page. Check the results page settings or the builder, there should be one somewhere.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi,
Thank you very much for the details, it helps a lot!
Sure! So the issue is casused by a long-url protection from the server side, where too much information is being sent because of the search filter states. The checkbox filter states have to be sent all at once and therefore it creates a too long URL. It rarely happens, only in cases when there is way too many options in a checkbox filter.
To resolve this, I have change the filters layout to a multiselect+search here for every filter box. It is very similar to the checkbox behavior, except the user can search and select the ones they want to filter by and also resolves the URI issue as much less information is sent to the results page via the long URL.
I hope this helps!
-
AuthorPosts