Skip Navigation

[Resolved] I give up on Layouts

This support ticket is created 8 years, 1 month 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 6 replies, has 2 voices.

Last updated by suzyo 8 years ago.

Assisted by: Beda.

Author
Posts
#378755

Layouts does not work with Genesis. It is buggy and not completely integrated. So, I give up on it.

What I need is for you to guide me in the direction where I can find information about setting up page templates that will allow me to add both Content Templates AND Views, to the same page.

That should be simple. It can (ostensibly) be done with Layouts, though it does not work for me.

So please tell me where I can find the information about setting up pages that will allow me to incorporate both Content Template and other Views on same page.

#378891

1. You can insert Views to any page, Post or Custom Editor with the Toolset GUI "Fields and Views", which is present on any Editor:
https://toolset.com/documentation/user-guides/views/ > 4. Displaying the View

2. A Content template usually is used to style the Post Body, but you can also insert Content templates in Views, Layouts, or any page / Post text editor with the Button in the GUI "Filters and Views" > post body / content template or, by clicking on the specific "Content template" Button present in Views (this last one only in Views)
https://toolset.com/documentation/user-guides/view-templates/
https://toolset.com/documentation/user-guides/using-a-view-template-in-a-view-layout/

3. Content templates, again, are used to style content, and views, to display lists of content.
https://toolset.com/faq/whats-the-difference-between-a-view-and-a-view-template/

Please let me know if you have further questions regarding the issue mentioned in this Thread

Thank you for your patience.

#379010

Yes, I know.

I have created a number of Content Templates to style my CPTs, and I have created a number of Views.

The question that I asked, as it is printed above, is:

"What I need is for you to guide me in the direction where I can find information about setting up PAGE TEMPLATES that will allow me to add BOTH Content Templates AND Views, to the same page."

#379120

Layouts and templates for the entire Page (from header to footer) can either be created with Layouts and proper integration of Layouts, or using the Integrations of Themes that are available.

If you do not use Layouts, Custom Coding is necessary to create Custom layouts or templates that affect the entire page / post.

With content templates only the_content() is affected, and views can be placed anywhere within the_content(), or in Widgets, or via PHP in other parts of your HardCoded templates.

Every instance on your site that supports Text and Visual Edit will be able to render Content templates and Views.

Thank you.

#379160

So, you are saying that I can create custom page templates, add widgetized areas, and use Content Templates and Views that way?

So, again:

"What I need is for you to guide me in the direction where I can find information about setting up PAGE TEMPLATES that will allow me to add BOTH Content Templates AND Views, to the same page."

#379164

Yes, WordPress allows you to add any Custom templates you want to your Custom themes:
https://developer.wordpress.org/themes/basics/template-files/

This is Custom PHP Code.

You can already add all our Items with ShortCodes as elaborated, to your Text Editors in the Post/page edit screens or as (Views only) Widgets in the Widget area.

Layouts Plugin allows you to create Templates without Coding.

This is how Toolset Works.

Content templates are here to style the_content() (and they can nicely be used anywhere you can use ShortCodes)

Views are used to display lists of contents from the DataBase, and also those can be nicely added via ShortCodes.

If you need Customized Templates which are hardcoded in your Theme you need to apply Custom Code as above DOC of the WordPress Codex illustrates.

This could be avoided with layouts.

Thank you

#379194

I can't use Layouts, they don't work for me. I will make my own templates, no problem, just wanted to know if there were any Toolset specific things I need to know.

Thanks.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.