This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 15 posts - 3,706 through 3,720 (of 18,427 total)
  • Author
    Posts
  • in reply to: Second Search #44586
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: Shortcode gets wrapped in and tags – looks messy #44585
    Ernest MarcinkoErnest Marcinko
    Keymaster

    But how can I get it to work on my frontpage and my other site-templates (so i can use it inside the menu-header) ? Maybe if I put the shortcode inside “a page-content” and this page content is then displayed with another shortcode inside my page-templates?

    That may work, but I hope it is not neccessary to over complicate it. I guess for some reason the page builder does some sort of a conversion for paragraphs and empty line break?

    I think it might be just easier to ask the page builder support if they know what this is. There might be just an option to turn off or a line of code to use. It is also possible that this is a yet unknown bug, or it’s intentional for some reason.

    I guess another possibility is to simply “minify” the search shortcode HTML output by removing any line breaks by wrapping it to a new shortcode, but that might be a bit fishy solution. Something like:

    // use as [wd_asp_wrap]
    add_shortcode( 'wd_asp_wrap', 'asp_wrap_shortcode' );
    function asp_wrap_shortcode() {
    	$output = do_shortcode('[wd_asp id=1]');
    	return preg_replace(['/\>[^\S ]+/s','/[^\S ]+\</s','/(\s)+/s'],['>','<','\\1'],$output);
    }

    Then use this new shortcode [wd_asp_wrap], but I don’t know if this will actually do anything at all.

    in reply to: Second Search #44583
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: Shortcode gets wrapped in and tags – looks messy #44580
    Ernest MarcinkoErnest Marcinko
    Keymaster

    If you use the correct module then there might be a problem somewhere in the page builder output, the plugin is definitely not adding any paragraphs or line breaks, that would be devastating for the output and would cause issues in every case.

    If you place the shortcode somewhere else, say like a post content or a page content, then I assume it does not have the auto generated line breaks and paragraph wrappers?

    in reply to: Problems with results' grouping #44573
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: Shortcode gets wrapped in and tags – looks messy #44569
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    This issue happens when the plugin shortcode is placed into a text container which does not support HTML or shortcodes. Text containers will automatically append line breaks and paragraphs to anything as they consider the contents as text and not HTML.

    Make sure to use the correct widget/module type where the shortcode is placed. Usually theme builders/plugins have specific modules to place shortcodes into. HTML modules could also work.

    in reply to: How to exclude domain keywords from results #44565
    Ernest MarcinkoErnest Marcinko
    Keymaster

    I logged in to quickly check, but these results are not actually coming from Ajax Search Pro, these are completely different from what I get when triggering a search on the back-end.

    That means, that something else is trying to override the shop search results. Is there any other search plugin, custom code or some sort of a shop page filter active by any chance?
    When clickin on the pagination I see a request sent to the WordPress ajax handler, and it originates from a divi_filter_ajax_handler action.

    in reply to: Problems with results' grouping #44564
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: shop page with filter on side bar #44563
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: regarding autopopular on click #44558
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Thank you for the kind words!

    1. Theoretically possible, but only via custom coding and the autopopulate must be disabled. You can try the code below, but I can’t promise it will work in every case as it should:

    add_action('wp_footer', 'asp_add_footer_script', 99999);
    function asp_add_footer_script() {
    	?>
    	<script>
    	jQuery(function($){
    		jQuery('input.orig').one('click', function(){
    			ASP.api(jQuery(this).closest('.asp_m').data('id'), 
    					jQuery(this).closest('.asp_m').data('instance'),
    					'searchFor', '');
    		});
    	});
    	</script>
    	<?php
    }

    2. If you have a HTML code ready for the icon, then you could use the advanced title/content fields feature. It supports HTML, so you could add the icon to the title or the content fields.

    in reply to: Search Results change by hitting back button #44556
    Ernest MarcinkoErnest Marcinko
    Keymaster

    I have no idea at the moment then – it must be something with the system. I have tried on the same exact setup and it was all okay on all browsers every single time.

    Nevertheless I have placed an issue to the tracker, we will keep an eye on this.

    in reply to: Problems with results' grouping #44555
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: Search logic AND not working with BP Xprofile fields #44554
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: deactivate live search on mobile fix – please help #44545
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Thank you for the details! The auto-populate feature was enabled, I have turned it off for you. Because of that it appeared as if the live search was triggered. On mobile devices it triggers differently, that is why it didn’t show on desktop.

    It should be okay now 🙂

    in reply to: Problems with results' grouping #44543
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 15 posts - 3,706 through 3,720 (of 18,427 total)