Set standard templates for News / Projects / Sites.
-
Hej @arminunruh
I've often thought about how cool it would be if you could link templates (i.e. prepared pages) with the predefined structure in the wordpress backend, so that when you want to create a new news article or project you only have to click once.
Could something like this be easily integrated?
Thanks and best regards,
Fabi -
Is this category gridder exactly what I am looking for?
-
It seams to do something else? What exactly?
-
you mean you want input fields, then be able to link these input fields to positions and sizes in a grid
and then be able to just create a new page, say you want to use this one template and just fill out these input fields
or sth like that?
akin to how you would create a wordpress page with https://www.advancedcustomfields.com/ ( just in case you know it )
with acf you still need to create the theme yourself, but you can just "plug - in" where the content should appear in the structure of your page
well i think editorx.com provides this feature
xD hope im not loosing too many lay theme users now -
what i could do is just:
you activate an option in "lay options"
"activate templates"then you have a new post type "templates"
in there you can create template pages.
then when u create a new page / news / projectyou can just choose from one of the templates. then you grid is replaced with the content of the template.
then you can edit the content of your page.
that'd be a pretty basic approach, do you think that would work for you?
-
🙌🏻🙌🏻🙌🏻
Yes, that would be exactly what I and my clients need.
The thing is that we always have to create new pages / news / projects, but they should always be created in a prefabricated gridder layout (once created and defined by me), so that only the texts and images have to be changed by the client.
How would your suggestion be adapted for multilingual pages?
Thanks, Fabi
-
@fabiandraxl This is a good idea and would certainly be easier for when your client would like to make a new page themselves. My workaround just now is I just duplicate a page multiple times I've already designed and laid out so it's all ready for them to go and just need to edit the text, images, change the title and publish it.
-
Yep, I we do it the same way.
But this get's verry difficult and complicated as soon you have a page with mutiple languages ... the permalinks are allways fucked up ... :P
-
@fabiandraxl ah cool!
haha yeah, Polylang is a great plugin but I think unless you have the pro version it can be quite limited.
-
How would your suggestion be adapted for multilingual pages?
what is the challenge with polylang?
-
Hej @arminunruh
Polylang works great for us in the frontend, without any problems. But when creating and duplicating new entries there are problems in the backend.
I have created a short video to show you the problem and the feature request for template:
https://www.dropbox.com/s/42iibt6n975xv7u/Bildschirmvideo aufnehmen 2022-11-28 um 13.32.45.mov?dl=0
Please apologize for my bad english haha
Thank you, Fabi
-
@arminunruh said in Set standard templates for News / Projects / Sites.:
"activate templates"
Where would I find this option? I can't find it in my v4.9.4 ...
-
He said, that he could do. :P So there is no template option right now. 😬
@arminunruh said in Set standard templates for News / Projects / Sites.:
what i could do
-
@fabiandraxl regarding this problem, I created a new thread with a possible solution for @arminunruh to implement: http://laythemeforum.com:4567/topic/8485/polylang-duplicate-projects-bug
-
ah yea man that was a really great idea
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it