Skip Navigation

[Resolved] Views filter shortcodes wrapped with {!{ }!} and not working

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

Problem:
A bug in Views 2.5 causes shortcodes to be wrapped with curly braces instead of square brackets in some unintended places such as in the Filter Editor of a View.

Solution:
Manually edit the shortcodes to replace [ and ] with square brackets until a fix is published.

This support ticket is created 7 years 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 6 replies, has 4 voices.

Last updated by peterv-5 7 years ago.

Assisted by: Nigel.

Author
Posts
#586530

I have created a very simply View for a CPT called Exercises.

Exercises has a taxonomy called "Exercise Categories".

I wanted to create a "select/dropdown" filter for these Exercises with the Exercise Categories in the select menu.

If I choose it to be an AJAX filter, then no Exercise categories are populated in the select menu. If I choose it to display results after the Submit button is selected then the Exercise Categories actually get displayed.. but the Submit Button doesn't display.

I have done this on many other sites before and not had this issue. I am using a TOOLSET theme and disabled all unnecessay plugins. I cannot find any conflicts. Any help would be appreciated.

Thanks

#586749

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Ned

I just checked this on a test site using the Toolset Starter Child theme and was unable to reproduce the issue, it seems like it may be an exception on your particular install.

I think the best way for me to proceed is to take a copy of the site and test it locally.

I will mark your next reply as private so that I can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site, even though I don't intend to make any changes other than to temporarily add a backup plugin to take a snapshot of the site.

#586824

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Ned

I took a look at your site and could see the problem straight away.

We have an issue with Views currently when used on sites with page builders where shortcodes are being inserted erroneously using curly braces rather than square brackets.

We should be publishing a fix soon, but in the meantime I manually edited your View for exercises and changed the shortcodes to the correct format.

The View didn't seem to be displayed anywhere so I made a test page (Toolset Test Exercise View) where the View is inserted and where I was able to test that it works.

Keep an eye only those curly braces (actually {!{ and }!} in place of square brackets) if you are adding/editing Views content until the update is published.

#586829

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Ned

I took a look at your site and could see the problem straight away.

We have an issue with Views currently when used on sites with page builders where shortcodes are being inserted erroneously using curly braces rather than square brackets.

We should be publishing a fix soon, but in the meantime I manually edited your View for exercises and changed the shortcodes to the correct format.

The View didn't seem to be displayed anywhere so I made a test page (Toolset Test Exercise View) where the View is inserted and where I was able to test that it works.

Keep an eye only those curly braces (actually {!{ and }!} in place of square brackets) if you are adding/editing Views content until the update is published.

#586835

Thanks...! I've been wondering what the deal was with the {!{ brackets.

#901364

Hi,

As I have the same problem I was wondering if this problem has been addressed in the last Views updates.

Thanks

Best

#1333045

I'm having the same problem, Just FYI.

Suddenly:
{!{
is showing up in place of:
[