Forums › Forums › Search & Filter Pro › Configuration problem
- This topic has 5 replies, 2 voices, and was last updated 9 years, 2 months ago by Ross.
-
Anonymous(Private) November 27, 2015 at 9:19 pm #30924
Hi,
I m a beginner on WP and I need some help about the configuration.
I need to create 2 filter on my projects with :
– Category (Choice : Session 1 or Session 2)
– Tags (Choice : around 20 instruments)I created a filter and I insered the shortcode in the page but I have a lot of trouble :
1/ Choice of Category and Tags doesn’t appear. I changed the input types but at each times, just the title of the filter and thee choices All categorie and Non classé appear… (In Radio types, nothing appear)I followed the tutorial on SF PRO docs many times but I don’t understand where is my mistake.
2 / I would like the search and filter on the top of my webpage like your second screenshot on http://www.designsandcode.com/wordpress-plugins/search-filter/
and I can’t find how i can do…3 / All the results appear before the search and the title and the picture of the projects takes all the available space in the webpage. I woulf like 3-4 results by line, like a portfolio (with clickable picture and title), it sounds like also a woocommerce results (but I havn’t commerce 😉 )
Also, at the stop of eeach results, a code appear like that :[et_pb_section admin_label= »section » background_color= »#132c47″ inner_shadow= »off » parallax= »on »][et_pb_row admin_label= »row »][et_pb_column type= »4_4″][et_pb_divider admin_label= »Divider » color= »#ffffff » show_divider= »off » height= »60″] [/et_pb_divider][et_pb_text admin_label= »Text » background_layout= »dark » text_orientation= »center »] Product Features [/et_pb_text][/et_pb_column][/et_pb_row][et_pb_row admin_label= »row »][et_pb_column type= »4_4″][et_pb_image admin_label= »Image » src= »http://elegantthemesimages.com/images/premade/d2-placeholder-1920.jpg » url_new_window= »off » animation= »bottom » show_in_lightbox= »off »] [/et_pb_image][/et_pb_column][/et_pb_row][et_pb_row admin_label= »row »][et_pb_column type= »1_4″][et_pb_blurb admin_label= »Blurb » title= »Advanced Page Builder » url_new_window= »off » animation= »top » background_layout= »dark » text_orientation= »center » use_icon= »on » use_circle= »on » circle_color= »#0d2035″ use_circle_border= »off » circle_border_color= »#2caaca » icon_placement= »top » font_icon= » » icon_color= »#2ea3f2″] Divi will change the way you build websites forever. The advanced […]
Waiting hearing from you, I think it is just a basic configuration problem…
I’m sorry for my bad level in english, I hope you could understand.
Best,
Ross Moderator(Private) December 2, 2015 at 12:49 pm #31217Hey Nicolas
To answer your questions:
1) These are probably not WordPress categories/tags – theses are probably custom taxonomies called “Portfolio Catgories” and “Portfolio Tags”, or something similar – this means you need to use a “taxonomy” field.
2) This really depends on your theme – however for reference, in the second screenshot I edited the file
header.php
in the theme, and added the shortcode for the search form as per the code here: http://www.designsandcode.com/documentation/search-filter-pro/getting-started/display-search-form/#As_a_Shortcode3) Lets cross this one off once we’ve got a handle on the rest.
Thanks
Anonymous(Private) December 2, 2015 at 1:07 pm #31224Hi,
Thanks for your mail,
1/ I checked a new time but I can confirm the configuration of each page is, on WP, with this WP cat and tags :
– Project Categories
– Project Tags
and SF is configurated on : Search in the following post types: Projects with UI Cat and Tags…I think SF is running a little because the results appears before filter (the results disappears when I select “non classé” for example. However, the number (1) appears near non classé as if 1 result exist …
2/ ok but I don’t know how to create a shortcode… I have plugin with shortcode but no idea about the configuration for SF… By any chance, have you got a tutorial ?
I thank you in advance,
Ross Moderator(Private) December 5, 2015 at 11:15 pm #31522Hey Nicolas
Ok lets look at point 2 first as this will be wordy…
So you want to position the search form in a specific place in your site?
What you need to do is grab the code I linked before:
http://www.designsandcode.com/documentation/search-filter-pro/getting-started/display-search-form/#As_a_ShortcodeSo you place this code somewhere in your theme templates for the Search form to appear there:
<?php echo do_shortcode('[searchandfilter id="1"]'); ?>
Replace the
1
with the ID of the search form you have created.Now, if you’re still unsure where this code goes, its in one the php files in your theme – usually called
header.php
.Where to place this code exactly is dependent on your theme, and specifically where you want it – you might need to do some trial and error to get hte positioning right.
Does that make sense?
Thanks
-
AuthorPosts