Forums › Forums › Search & Filter Pro › Filter by category doesn't work
Tagged: categories, category, filter
- This topic has 53 replies, 3 voices, and was last updated 8 years, 4 months ago by
Ross.
-
Anonymous(Private) February 14, 2017 at 1:18 pm #90023
Hi trevor,
yes, we are using WPML.
But it doesn’t affect the result if I filter by 1 category.
E.g. if I filter by edition „elements 01-2015“ I always get 5 posts, no matter what category I select.
https://elements.schiedel.com/en/?sfid=10323&_sft_ausgabe=elements-01-2015-enIf I deactivate WPML and filter by edition „elements 01-2015“ again, I also get the same 5 posts.
But I have more categories to select from (because I see all the categories from the different languages).Here’s the code of my template (search.php) that I use for filtering:
========================<?php /* ** search.php ** mk_build_main_wrapper : builds the main divisions that contains the content. Located in framework/helpers/global.php ** mk_get_view gets the parts of the pages, modules and components. Function located in framework/helpers/global.php */ get_header(); Mk_Static_Files::addAssets('mk_button'); Mk_Static_Files::addAssets('mk_audio'); Mk_Static_Files::addAssets('mk_swipe_slideshow'); #mk_build_main_wrapper( mk_get_view('templates', 'wp-search', true) ); #mk_build_main_wrapper( mk_get_view('global', 'shortcode-heading', true) ); $sc = '[mk_page_section bg_color="#000000" bg_position="center center" bg_stretch="true" min_height="" js_vertical_centered="true" padding_top="0" padding_bottom="0" visibility="hidden-sm" sidebar="sidebar-1"][vc_column][vc_column_text][searchandfilter id="9098"][/vc_column_text][/vc_column][/mk_page_section] [mk_page_section bg_position="center center" bg_stretch="true" min_height="280" js_vertical_centered="true" padding_top="0" padding_bottom="0" visibility="visible-sm" sidebar="sidebar-1"][vc_column][vc_column_text][searchandfilter id="9098"][/vc_column_text][/vc_column][/mk_page_section] [vc_row][vc_column][mk_padding_divider size="25"][mk_blog style="grid" column="2" image_size="full" offset="" transparent_border="true" disable_meta="false" excerpt_length="400" pagination_style="2" disable_lightbox="true" featured_post_align="left" item_id="1409321765-54008b2595021"][/vc_column][/vc_row][vc_row fullwidth="true" visibility="hidden-sm"][vc_column][/vc_column][/vc_row]'; $content = do_shortcode($sc); mk_build_main_wrapper($content); get_footer();
========================
Thanks in advance!
Bye
MarkusAnonymous(Private) February 15, 2017 at 8:21 am #90208Yes, Jupiter comes with a special version of the Visual Composer.
It’s called: „WPBakery Visual Composer (Modified Version)“.It has both the „Post Grid“ and also the „Post Masonry Grid“ elements.
I would need a mail address from you, because we use 2-step-verification by mail to login.
Then I can send you an admin account.We upgraded the following:
Wordpress from 4.6.2 to 4.7.1
Jupiter from 5.2 to 5.5
Visual Composer from 4.12.1 to 5.0.2
Search & Filter Pro from 2.1.2 to 2.3.2Thank you!
MarkusTrevor(Private) February 16, 2017 at 3:37 pm #90667The extension file:
http://www.designsandcode.com/wp-content/uploads/2016/12/search-filter-pro-vc.zip
This will also give you a Search & Filter form element for VC. In the VC grid the Data Source needs to be set to Search & Filter, and then for you to select the form. In Search & Filter there is also a VC Display Results method added.
-
AuthorPosts