- This topic has 2 replies, 2 voices, and was last updated 6 years ago by Koert Tomasini.
- January 23, 2017 at 5:13 pm #458859Koert TomasiniGuest
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!
Regards KoertJanuary 25, 2017 at 1:50 pm #459964J. DavisKeymaster
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.
JohnJanuary 25, 2017 at 2:07 pm #459979Koert TomasiniGuest
Yes, that was the step I was missing.
- You must be logged in to reply to this topic.