Skip Navigation

[Resolved] Toolset wrap elements of loop into tag that ruins a view

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 4 replies, has 2 voices.

Last updated by cassianS 1 year, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#2572311
strong_tag_issue_1.jpg

I am trying to:
- I create normal views, very simple, but for some reason Toolset is wrapping views' elements in tags that ruins a view.
- The problem persists even with a default WordPress theme and all plugins turned off. (please see example of the loop code in Developer Console).
- I see the problem with all views (all were created from scratch)

Link to a page where the issue can be seen:
hidden link

#2572497

Hello,

I have tried the credentials you provided above, but get below error message:
ERROR: The username or password you entered is incorrect

Please check it, make sure it is a valid admin account.

#2572881

Hi Loo, sorry.
Please try again (I reset the access and checked that it is possible to login under provided credentials)

#2573215

The problem is in your custom shortcode [shorten_string], it outputs broken HTML tags, I have tried these:
Edit the post view "Concours page view":
In section "Loop item in Concours page view for open", replace line 4, from:
<div class="concours-item-excerpt">[shorten_string string='[wpv-post-body view_template="None" supporess_filters="true"]' length='120']</div>

With:
<div class="concours-item-excerpt"></div>

It works fine in frontend:
hidden link

You will need to debug your custom shortcode [shorten_string]

#2577041

Thank you, Luo. You were right about the shortcode producing the issue. I replaced it with a Toolset field for Excerpt and everything is fine now.