Skip Navigation

[Resolved] Layout is not loading correctly

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

This topic contains 1 reply, has 2 voices.

Last updated by Beda 6 years, 5 months ago.

Author
Posts
#950315

Jim

I use EventOn, an event plugin.

The template selected to display on single event is not loading correctly:
hidden link

Refference example pagin with the same template layout to compare:
hidden link

Any idea how to solve this?

Hope to hear from you soon.
Thanks,
Jim

#951090

I think the EventOn Plugin does not make usage of the_content() function, required by Toolset Layouts to display it's Templates.

You could for example test this:
- disable Toolset Layouts
- enable Toolset Views if not already
- Create a Content Template and apply it to the Events post type
==> Does that work?
Most likely not.

Hence, follow this:
https://toolset.com/documentation/user-guides/editing-view-templates/theme-support-for-content-templates/

After, you should be able to apply Content Templates to the Events.
But not so Layouts, as those, will only work with the_content() (or it's own particular the_ddlayout()) functions.

Please let me know if above steps helped.

BTW, the Starter Theme is deprecated, I suggest to change to a Supported Theme as listed here, or any other theme that uses the_content():
https://toolset.com/documentation/recommended-themes/