how to turn a page into a template

Posted in: Newspaper
Post count: 103

I set up a master ‘Company’ page so I can feature the posts of various clients on their own ‘Company’ page. I thought once I set up the master, I could then just dupe it like a standard WP page to serve as the model but it doesn’t seem to work that way. How can I set my master page up as a template that I can just apply to each company’s content?
This is my ‘Master’ page: https://moic.onlineinvestmentconference.com/cartier-resources-ressources-cartier/
And this is the dupe of that page: https://moic.onlineinvestmentconference.com/gogold-resources-silver-gold-producer-mexico/ >>> Not so good.
Also, is there a way to template the Mobile page, or do I have to convert each time?

  • This topic was modified 5 years by sparky263.
Post count: 18283

Hello !

Edit the template as you can see here:https://www.screencast.com/t/vpXRzB7FYMyV
Copy all the shortcodes from the template: https://www.screencast.com/t/ye2iAqcLVdf
Open a post template like on your new host: https://www.screencast.com/t/sXhnGhmYxJ
Select all the content from here and remove: https://www.screencast.com/t/0cgtSqguH And now paste over the shortcodes you have copied from the old template.

Simply save the template and enjoy !

I hope this was helpful !

Thank you !

Post count: 103

Hmm. I am not really sure what the point of your suggestions is here. If I understand what you are saying and your screenshots, it is to (1 and 2) copy the short codes out of one template (Tag Cloud Template) and paste it into another (3 and 4) (Single Cloud Template). And then I assume, save it away? So now the Single Cloud Template becomes the Search Cloud Template? Then I would have a template named Single Cloud Template that is really a Tag Cloud Template? Why would I want to do that? Can you pls clarify because I am confused as to what you are doing and why and how does it relate to the question I asked, which was how to turn a page into a template. Since I posted I have done more exploration, and it seems you can apply a template to a post but not to a page. Is this correct?
Because if so, how do I create/apply a template to a page? Can I do so? Or do I just create a duplicate of the page I want to copy, duplicate it, and then change its name?
And then do I have to create a new mobile page of the duplicated page? (I think I do but it would be nice if it created automatically during the duplicating step.)
Pls clarify, because I am confused about 1/ How to turn pages into templates 2/ how to apply templates to pages

  • This reply was modified 5 years by sparky263.
Post count: 21065

Hello!

This is correct like you can apply a template to a post but not to a page.
Currently, you can create a template for pages and you do need to create a mobile page for the duplicated page.
Unfortunately, at the moment, there is no other way to achieve what you need.

I hope is more clear now!

Thank you!

Post count: 103

Thank you for your reply. You’ve provided some more information, but you still haven’t answered my question: how do you (can you?) turn a page into a template? Sorry to keep pressing you but perhaps there is a knowledge gap I’m missing here that you can fill in: if I understand things correctly, you can’t apply a template to a page, only to a post. Therefore you can’t turn a page into a template, because there is no point, because you can’t then apply it to a page. But what you can do is copy the shortcodes out of a template and paste it into a blank page to use that templates short codes as the core of a page. Alternatively, you can duplicate a page and use it as the basis of another page. Am I getting that right?

  • This reply was modified 5 years by sparky263.
Post count: 21065

Hello @sparky263!

Actually, you can’t turn a page into a template, but you can duplicate a page and use it as the basis of another page. About the shortcodes, for example if you copy the shortcodes from a single post template and paste them in a page, they won’t work because some of them are specific only for that template. Example: page title will work, but post content will not work.

Thank you!

Post count: 103

Yes thanks, I kind of figured that out over the last couple of days while you guys had Easter. (Happy Easter) Anyway, I think I’ve got things working now. I like your mobile page creation process. Very cool!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.