I'd like to add a custom page template to the drop down menu shown in the picture.
Had a good google at this but couldn't find anything, was too hard to form a concise query.
Thanks for reading
Do you want to add this template via a plugin or using the theme? If you want to use the theme you need several things:
page-{slug}.php
or page-{id}.php
. Here is an explanation what each one of them does.You need to add the template name. Right after the opening <?php
tag you need to add:
/* Template Name: Your Template Name */
This name will be also used in the drop down. 3. You need to code the logic for the template.
Here is a good article on page templates.