Skip Navigation

[Resolved] Layout template is showing up on RSS feed

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

Last updated by Luo Yang 6 years, 2 months ago.

Assisted by: Nigel.

Author
Posts
#1092676

I am trying to:

I've been playing with Toolset Layouts all day and it seems the test template that I've created showed up on my RSS feed, which was in turn posted to Facebook. How do I make this behavior stop?

Link to a page where the issue can be seen:

I expected to see:

Instead, I got:

#1092817

Nigel
Supporter

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

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

Hi there

Are you using some solution for generating RSS feeds?

The standard feeds include only standard posts, don't include custom posts types (which the Layout template would be), so presumably you are using a plugin or code to modify the feeds. You may want to revise the code/settings to include only the custom post types you require.

If you already have and still see the Layouts templates in the feed, let me know how you are customising the feeds and I can investigate.

#1092965

Hi there Nigel,

There is a plugin called Stealth Publish which allows me to exclude posts from being pushed to the RSS feed. I enable it on a per-post basis. Why would this plugin cause the templates to be published as a post?

#1092971

Nigel
Supporter

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

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

Good question.

The Layouts templates are a custom post type (hidden in the admin UI), and custom post types are not included in RSS Feeds unless you add them.

A crude implementation would add all custom post types, a better one would only add custom post types that are explicitly required.

I suggest you disable the plugin and run some tests to confirm if it is responsible for the Layouts template appearing in the feeds. (You can just type the feed URL in your browser and see the XML version of the feed, it should be fairly easy to scan that and see what posts are included.)

If that is the case we can look at what the cause is in case there is something we can do about it from our end.

If not, then I would ask you to disable all non-Toolset plugins and switch theme to twentyseventeen and confirm that the Layouts templates are not added to the feed. Then try re-enabling your other plugins and theme and keep testing, it should be possible by a process of elimination if something else is creating a conflict that causes the issue.

(I ran some tests to confirm that Layouts templates are not added to a feed by mistake on a simple install.)

#1093045

It is really weird that the test templates appeared in the RSS. I will try to disable the Stealth Publish plugin and add another test template and see what happens.

#1093740

Hello,

I suggest you also check other compatibility problem in your website:
1) deactivate all other plugins including the "Stealth Publish" plugin, and switch to wordpress default theme 2017, and test again
2) If the problem is fixed, then activate other plugins one by one, try to locate the problem plugin/theme