Skip Navigation

[Resolved] Some Learndash objects showing up twice when using content template

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

Problem:
Some Learndash objects showing up twice when using content template

Solution:
You should use attribue "suppress_filters" and set it to true.

[wpv-post-body view_template="None" suppress_filters="true"]

You can find the proposed solution, in this case with the following reply:
https://toolset.com/forums/topic/some-learndash-objects-showing-up-twice-when-using-content-template/#post-1237013

Relevant Documentation:
=> https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-body

This support ticket is created 5 years, 9 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
- 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 3 replies, has 2 voices.

Last updated by valterB 5 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#1236961
Skärmavbild 2019-04-29 kl. 12.50.12.png

I am trying to create lessons layout using Learndash and Toolset content templates.
Problem is that some things show up twice, one extra time at the bottom, above the footer (for instance "Prov. Prov på lektion 1”)

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

If I don't use a content template problem disappears. I have tested several different content templates, all with the same problem.

#1236996

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - can you please share access details so I can check whats going wrong there.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.

#1237013

Minesh
Supporter

Languages: English (English )

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

Can you please check now.

I've added the post body shortcode as given under:

[wpv-post-body view_template="None" suppress_filters="true"]

I can see that it's displaying the pagination links and course etc.. only once:
hidden link

#1237050

Great! Thanks for your quick help.

If I understood it right you only added this:
suppress_filters="true"

Good to know if similar problems appears with other content templates

/Valter