Skip Navigation

[Resolved] Filter not displaying

This support ticket is created 6 years, 8 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by Adrian 6 years, 8 months ago.

Assisted by: Minesh.

Author
Posts
#619577

I am trying to Display a view with a search form and it is not working.

The link: hidden link

How do you want to update the results?
AJAX results update when visitors change any filter values

Filter Editor:

[wpv-filter-start hide="false"]
[wpv-filter-controls]
<div class="form-group">
	<label>[wpml-string context="wpv-views"]Please select the Tech Categories you would like to work with[/wpml-string]</label>
	[wpv-control-postmeta field="wpcf-interested-in" url_param="wpv-wpcf-interested-in"]
</div>
<div class="form-group">
	<label>[wpml-string context="wpv-views"]What type of job opportunity are you interested in?[/wpml-string]</label>
	[wpv-control-postmeta field="wpcf-availability" url_param="wpv-wpcf-availability"]
</div>[/wpv-filter-controls]
[wpv-filter-end]

Filter and Loop Output Integration Editor
[wpv-filter-meta-html]
[wpv-layout-meta-html]

#619618

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - I checked your view's settings using the access details you shared but I see the view's HTML source output is not generic one.

I see you are using third party plugin - ajax views - In order to minimize the cause of the issue:
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?

#619620

The page you are viewing does not make use of the ajax-views plugin. See https://toolset.com/forums/topic/ajax-load-view/ for an idea of what it does. but just for fun I did test that and it is also not the cause.

I am removing all the junk that goes in front of a view and essentially only displaying what is between the <!-- wpv-loop-start --> tags. This is not the issue, as I have the same stack running on other sites as well with filters running properly.

I am using some other custom written plugins that are being used for shortcodes.

#619626

Minesh
Supporter

Languages: English (English )

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

Well - this is really strange issue as I see your views settings are completely fine. With the access details you shared with me I do not have permission to change theme or deactivate plugins etc..etc..

Could you please share full rights so I can investigate further by checking with default theme.

#619634

Ok figured it out.

I got trapped by my own function 😀

As I mentioned I had the <!-- wpv-loop-start --> and <!-- wpv-loop-end --> as begin and end markers for what gets displayed. This is so we can filter out any weird code.

I have other sites running where filters are not impacted by this. Anyways, I got it to work by placing these tags at the beginning and ends of the filter.

Thank you for looking into this issue 🙂