Skip Navigation

[Resolved] View recognized as it's own content/loop

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

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 5 years, 2 months ago.

Assisted by: Christian Cox.

Author
Posts
#1337825

The view inside my content is considered a "second" content area.

What I mean by this.. e.g I installed "monarch social share plugin" this adds a share bar inline. But wherever I have a view I get a second share. I noticed same behavior with a front end editor. It always gave me two areas two edit.

Link to a page where the issue can be seen:

hidden link

PW: Password321

#1338179

Hi, yes sometimes third-party plugins hook into the_content in a way that results in multiple sets of output. If the nested content is in a Content Template, you can add the "suppress_filters" attribute to its shortcode like so:

[wpv-post-body view_template="some-content-template-slug" suppress_filters="true"]

However, this isn't always 100% effective because some cases don't involve Content Templates. Then, you must add some custom CSS to hide the duplicate items. One approach is explained in this other ticket: https://toolset.com/forums/topic/extra-elements-appear/

I'll be glad to take a closer look if you need additional assistance. Add login credentials in the private reply fields here.