• Hi guys , I need help to create custom page templates for the existing there I use.

    I have created submenu in admin page but don’t know how to create custom page templates and re-use the existing styles of the theme and add the functionality (add new) similar to creating new post/page to the admin panel.

    here is the screenshot of submenu in admin panel I created – https://uploadnow.io/f/b2dBGVt

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Creating custom page templates is described in the Theme Handbook. If your theme is subject to periodic updates, you should make a child theme to contain your custom work. Making a template is mainly a matter of naming the file properly. For global use templates it also needs some header information.

    To have a template reflect your theme’s styling, it’s best to start with a copy of your theme’s default page template and modify to suit your needs. Make use of the same class attributes your theme does to have related styling be applied.

Viewing 1 replies (of 1 total)
  • The topic ‘custom page template’ is closed to new replies.