Skip Navigation

[Gelöst] Toolset wrap elements of loop into tag that ruins a view

This support ticket is created vor 1 Jahr, 8 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 4 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von cassianS vor 1 Jahr, 8 Monaten.

Assistiert von: Luo Yang.

Author
Artikel
#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:
versteckter 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:
versteckter 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.