Skip Navigation

[Gelöst] User Selected Templates

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem: Is it possible for Users to select different Content Templates or different Template Layouts for a post when editing the post in CRED?

Solution: It would require custom code.

This support ticket is created vor 6 Jahren, 9 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 5 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Christian Cox vor 6 Jahren, 9 Monaten.

Assistiert von: Christian Cox.

Author
Artikel
#621773

Hi,

Is it possible for an admin user while updating the content on a page, can select an alternate page template from the content form for the updated display?

Example, many of my clients are artists who want to feature an image on the homepage without having to scroll. In the case of a tall narrow image, square image or wide image, the template that best fits the image can be selected on the form while adding content.

Can something such as this be accomplished with Toolset?

versteckter Link

#621883
content-template.png
template-layout.png

Yes, you can set default Content Templates or Template Layouts for each post type, and then select a different Content Template or Template Layout for any post in wp-admin if you want to override that default selection. See the attached screenshots.

#621895

To be clear, admins can select an alternate "Saved" template or create a new one from within the admin dashboard while creating a new post, correct?

In the case of making changes to the Home Page from the front -end. Can a registered user login to from the front-end > from a form select a different "Stored" template > replace the featured image > refresh the page?

#622147

To be clear, admins can select an alternate "Saved" template or create a new one from within the admin dashboard while creating a new post, correct?
Yes, that's correct.

Can a registered user login to from the front-end > from a form select a different "Stored" template > replace the featured image > refresh the page?
Replacing the featured image from the front-end is possible with CRED, but there is no option to modify the post's Content Template or Template Layout on the front-end. That would require custom code.

#622149

Thank you.

Is there a Toolset authorized developer that can provide the customization that is needed to achieve that front end functionality?

#622217

We have a contractor portal that allows clients and developers to connect on projects:
https://toolset.com/contractors/