I have created a child theme, and am attempting to create a custom template. If I put the template file in the ‘parent ‘ /templates directory it shows in page ‘Template’ dropdown, but it does not work if I put the page in my child theme’s directory. Is this supposed to work?
Is there something I need to do to add my child theme templates? Curious because returns /vantage…
Thanks for any help
Hi Chris
As long as you have the correct header (which is detailed here: http://codex.wordpress.org/Page_Templates), any file you add to your child theme’s root folder or one folder deep should work. Vantage keeps all page templates in the templates folder just to keep things neat, but this shouldn’t be necessary.
Is this not working for you?
Sorry. Sheesh. User error. Sorry for the bother. Child theme not activate.
>
Glad to hear you made progress here. If you need a starter child theme, please find one here:
https://siteorigin.com/wp-content/uploads/2015/01/vantage-child-vanilla-enqueue.zip
All the best.
This is a private message.
Hi Chris :) Thanks for reaching out.
Please could you check the functions.php file in the child theme being used. Is the parent style.css file being enqueued there? If so, please delete the @import from your child style.css file.
Once that’s all cleared up, let me know which CSS snippets you’re having trouble with and I’ll jump in.
Here is the enqueuing I’m using in the function.php file:
and I did remove the @import… on http://www.circonus.com <http://www.circonus.com/>, so you can look for style.css and see the css being loaded…
Thank you for any help.
>
Thanks Chris. Assuming you don’t have anything else going on in the child functions, please could you try changing the entire functions.php file to the follow contents:
https://raw.githubusercontent.com/siteorigin/vantage-child/develop/functions.php