Using Plugin (Shortcodes Ultimate) we can create or make shortcode for wordpress custom page template.
- create your custom page template without including header and footer.
- Install the plugin(find link below) into wordpress site.
- Activate it.
- Go to plugin Shortcodes Ultimate › Available shortcodes.
- You can find the variety of filter options in that click Other will find Template open that.
- In shortcode section add the name of your custom template([su_template name=”name-of-your-template.php”]) with or without php extentions.
- Use template file name (with optional .php extension). If you need to use templates from theme sub-folder, use relative path. Example values: page, page.php, includes/page.php
- Now copy the whole shortcode and paste it into the page or post you want.