Forums Forums Search Search Results for 'beaver builder'

Viewing 10 results - 91 through 100 (of 131 total)
  • Author
    Search Results

  • Trevor
    Participant

    Reading that thread, I think that fix looks to see if the theme is Beaver Themer, and NOT if Beaver Builder is installed. I will need to refer this to the plugin developer, Ross.

    However, does adding ?page=1 to a page URL cause the same issue on a page with posts on (without using our plugin at all)?


    Anonymous
    Inactive

    I’m using search-filter-pro-2.4.4 and the latest Beaver Builder plugin and the page still scrolls to the bottom when viewing results. Is there anything else which would cause this? I’ve tried all combinations of S&F settings I can think of and it happens every time.

    #182558

    Anonymous
    Inactive


    Ross
    Keymaster

    Hi Ollie

    So I’ve made some progress.

    I’m not entirely sure why some of the methods you tried with Trevor don’t work, but I’ve found some options.

    First, can you clarify, what you mean by the Beaver Builder Grid? Even better, can you setup a grid, so I can see the exact issue you were having in the first place? (on staging of course)

    Secondly, I went ahead and did a bunch of testing with Beaver Themer.

    There you have the post module, which allows you to display results in various different ways… Although this works with Archive display mode (because its using the global query) there does appear to be some issues.

    I managed to get it almost working with the post module, and “column” view by adding this code to functions.php:

    add_filter("pre_get_posts", "modify_bb_query");
    
    function modify_bb_query($query){
    	
    	if(!isset($query->query_vars['fl_builder_loop'])){
    		return $query;
    	}
    	
    	//if is page "find-stuff" and this is a <code>fl_builder_loop</code>
    	if((is_page("find-stuff")) && ($query->query_vars['fl_builder_loop'] == true)){
    		//then attach S&F to the query
    		$query->set('search_filter_id', 136);
    	}
    }

    You will need to change find-stuff the the slug of the page you are trying to filter on, and the 136 to the ID of your search form.

    Then in S&F settings, for display method, use custom.

    Anyway, if thats a bit confusing, don’t try to replicate for now, just go ahead with recreating your issue as per my note near the top.

    Thanks

    #176476

    Ross
    Keymaster

    Hi all

    I figured out the issue.

    It is actually Beaver Builder Themer doing the scrolling, but only because we make 1 modification to the query.

    Basically, if you goto any archive and add ?page=1, you will see beaver themer kicks in and scrolls the page to the content area – so it is acting on whether the page variable is set.

    On a S&F results page ( ie, your archive ), we set the page variable, even on page load, to 1, rather than unset as expected by the Themer plugin.

    Anyway, I added a fix to our plugin, to not do this when Themer is enabled.

    I will follow up separately with a link so you can download the fix.

    Thanks


    Anonymous
    Inactive

    Hi Ross, great to hear back from you. Yes we are still wanting to integrate with Beaver Builder’s post grid. Trevor offered excellent support and he introduced me to the pre_get_posts or something like that.
    This got the search results to appear inside of a Beaver page but only as a default list and we didn’t have a solution for displaying post information. Ideally we’d like to use the Beaver Grid which features ‘Custom Layout’ and Beaver shortcodes to display content.

    I look forward to any developments that get us closer to our goal.

    many thanks

    #172576

    Anonymous
    Inactive

    Also, I am using one of the Beaver Builder themes.

    #171389

    Ross
    Keymaster

    Hi Laurence

    I can see the issue – your ajax container (in display results tab) is set to #main.

    I’ve checked your old search form, and saw this was set to #content, but trying that didn’t work either.

    Looking at the source of your page, I cannot see either of these selectors.. So I have initially disabled ajax.

    After disabling I’ve come across another issue – the results themselves do not update/change.

    How did you integrate S&F with those results previously? It would require you having attached S&F to your query somehow – because I couldn’t see this, and it seems quite clear this is set to your WooCommerce shop, I changed your display results method to WooCommerce – and now the results update according to filters that have been selected.

    Now, back to the Ajax issue, basically, you need to find a html container / css selector we can target, to tell S&F which area has the results and to update via ajax.

    Looking at your source code, I have used this, and it seems to work:
    .fl-module.fl-module-post-grid

    However I think its better if you attach an ID to your result / WC area – this would be especially useful if Beaver Builder change any of their generated markup, then S&F should work regardless of any future potential changes.

    Anyway, hope that’s all sorted now!

    Best


    Anonymous
    Inactive

    Hello Trevor, just a quick follow up to see if you would be able to share with me the setup you have for getting the integration with Beaver Builder Post List to work. I’m extremely keen to get this to work, currently I’m using the shortcode method and searching x5 post types.

    I look forward to hearing from you.

    thanks

    Ollie

    #168503

    Anonymous
    Inactive

    Yes, it was working. I’m using the Beaver Builder Child Theme.

Viewing 10 results - 91 through 100 (of 131 total)