简体   繁体   中英

How to add custom page template to wordpress child theme?

I want to have unique css styling in wordpress. I heard about page templates, but do they work on child theme. Is it possible to create template for my page in my child themes folder? I am using WPbakery visual composer for my content.

Is it enough to write a page-659.php and put it to my child-theme and build my content as simple html page or are there any other solutions, to have a part content from parent theme's templates?

How to transfer a full content from parent theme for editing in my child theme page template? My parent theme uses framework, I want to skip it, and edit raw code? Is copy source code from web a good idea?

You are kinda stating the obvious... have you tried it? You seem to have the steps all figured out... and you're spot on.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM