I have created my own custom template in my wordpress site. How to find its name ?
Name of Template -
Make.com scenario -
How to find the name of my own custom made template, like this - templates/template-full-width.php
I have created my own custom template in my wordpress site. How to find its name ?
Name of Template -
Make.com scenario -
How to find the name of my own custom made template, like this - templates/template-full-width.php
What will be the name of my own custom made template and how to find it out.
In make it has given examples like this - templates/template-full-width.php
You will have to go to the templates directory on your web hosting provider, and manually copy the file name of the template you want to use.
Alternatively you can try to call your site’s rest API to get all template names using WP_REST_Templates_Controller::get_items() – Method | Developer.WordPress.org (I’m not sure how to do this though - contact your web developer)
I have tried entering different combinations , but it doesnot seems to be working.
This was the path which my web developer provided -
https://thelearningkey.co.in/wp-content/themes/docent/single-thelearningkey.php
I have also tried these two -
docent/single-thelearningkey.php
wp-content/themes/docent/single-thelearningkey.php
It is giving same error.
This is the full directory - https://thelearningkey.co.in/wp-content/themes/docent/single-thelearningkey.php
What should I Enter ?
Image of the issue
Blue print -
blueprint (1).json (8.6 KB)
You should try just single-thelearningkey.php
as well, since there is no sub-directories in your theme.
Worked like a charm, thank you very much.