Live Filter – put the filters and the result in different places (for example: filter in sidebar, result in page content)

Normally, Live Filters will show above the result.
Since CVPro 4.9.0 and CV 1.9.9.4, you can put the filters and the result in different places.

Show filters in Sidebar, show result in a page

  • to show the filters in Sidebar, please add this shortcode to a Text widget in Sidebar:

    [pt_view id="VIEW_ID" show="filter" submit_to="URL_OF_RESULT_PAGE"]
    
  • to show the result in a page, please add this shortcode to the page’s content editor:

    [pt_view id="VIEW_ID" show="result" submit_to="URL_OF_RESULT_PAGE"]
    

Please replace VIEW_ID with ID of your View, replace URL_OF_RESULT_PAGE with URL string of the result page.

Show filters in left side, show result in right side of a page

If your theme has no Sidebar for a page, you can show filters in the left side, show result in the right side of a page with this code:

<div class="pt-cv-wrapper">
	<div class="row">
		<div class="col-md-4 col-sm-6">
			[pt_view id="VIEW_ID" show="filter"]
		</div>
		<div class="col-md-8 col-sm-6">
			[pt_view id="VIEW_ID" show="result"]
		</div>
	</div>
</div>

You can switch positions of shortcodes to show filters in the right side, show result in the left side.
To change the width of each side, please change the col-md-4 and col-md-8, the sum of numbers must be equal to 12.

The VIEW_ID to show filter and result must be the same. It is NOT possible to use 2 different Views there.

When showing the filters and results in different places, the page will be reloaded on changing filter.

Best regards,