Skip Navigation

[Resolved] Positioning the filter

This thread is resolved. Here is a description of the problem and solution.

Problem:

Display the Views custom search form and search result in different place.

Solution:

You can use bootstrap to setup a row with two columns:
The first column display the search result, the second column display the custom search form

To setup the row and columns, please check bootstrap document:
https://getbootstrap.com/docs/3.3/examples/grid/

To display the search result and custom search form, please check below document:
"Adding the custom search form to a page or widget"

Relevant Documentation:
https://toolset.com/documentation/user-guides/front-page-filters/#4-1-adding-the-custom-search-form-to-a-page-or-widget

This support ticket is created 6 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 6 replies, has 3 voices.

Last updated by adriaB 6 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#948332
example.jpg

I have been able to create a filter in custom post.

hidden link

But I do not know how to put it where I want.

I would like it to look like the picture.

Thank's

#948455

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - I would like to know, are you using Layouts plugin? If yes:
- What if you use grids of cell -

More info:
https://toolset.com/documentation/user-guides/learn-creating-using-grids/

If you are not using Layouts:

Could you please send me debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/

#949026
example2.jpg

I have created a page with a view.
In this view is where I have the filter with the content.

In the search and pagination section, I put the code for the filter and in Templates for this View I put the code to see the post.

I have used a Grid temporarily because it is how I get it to look more similar to what I want.

If I don't use the grid I have one row where the filter is and then another row where the posts appear.

#950091

Hello,

Minesh isn't available, I will take care of this thread.

I have checked it in your website, you are using bootstrap framework:
hidden link

In my opinion, you can use bootstrap to setup a row with two columns:
The first column display the search result, the second column display the custom search form

To setup the row and columns, please check bootstrap document:
hidden link

To display the search result and custom search form, please check below document:
"Adding the custom search form to a page or widget"
https://toolset.com/documentation/user-guides/front-page-filters/#4-1-adding-the-custom-search-form-to-a-page-or-widget

#950174
img3.jpg
img2.jpg
img1.jpg

Hello!

After looking at the third link, I tried to do it, but it doesn't work. (img1)
I have created a new page (hidden link) with one row and 2 colums.

In the first one I put my custom search view "Only the results" and the second one "Only the search form"-> "In other place on this same page"

and the result is (img2).

In one page where I have my custom search view setup (What do you want to display in this cell?,
"The search form and the results") looks like img3 (hidden link)

What is wrong?

#950183

It is abnormal, in case it is a compatibility problem, please try these:
1) Upgrade to the latest version of Toolset plugins
2) Deactivate other plugins and switch to wordpress default theme 2017, and test again
3) If the problem still persists, please provide a database dump file (ZIP file) of your website in below "private detail box", I need to duplicate same problem and debug it in my localhost, thanks.

#950255

Thank's Luo Yang,

I've recreated the view again and it's work.