Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Content Editor adding custom template
- This topic has 2 replies, 2 voices, and was last updated 8 years ago by Koert Tomasini.
- AuthorPosts
- January 23, 2017 at 5:13 pm #458859Koert TomasiniGuest
Hi.
Is there any information on adding a custom template to Motopress besides the rather short info in the developers docs?
Maybe I’m missing something but which file do I edit to have my template show up in the template chooser? Where do I put my custom template? What information is necessary in a template file to have it function properly? Is it possible to use a previously published post as a template?Some more information would be really apreciated!
Thank you!
Regards Koert
January 25, 2017 at 1:50 pm #459964J. DavisKeymasterHi Koert,
As afr as I understand you mean this doc.
Then you can add the code to functions.php file of your Child Theme or create a plugin for it.
You should add full content(shortcodes) of any page you want to create a template from instead of ‘paste your shortcodes here’ (make sure single quotation marks are not removed) in the code. You can see that content when you close Visual Builder.
Best regards,
JohnJanuary 25, 2017 at 2:07 pm #459979Koert TomasiniGuestYes, that was the step I was missing.
Thank you! - AuthorPosts
- You must be logged in to reply to this topic.