WordPress: Accessing templates stored inside a subfolder in the themes folder

I’m currently using the twentyfifteen theme to create my application. Now, inside the twentyfifteen themes folder, I have another folder called tuto, inside which is a template that I want to use, named oauth.php. Here’s a couple of screenshots to give an overview of my project’s file structure:

enter image description here

Read More

enter image description here

Now, in order to access my oauth.php file, I tried accessing the following link:

http://localhost/wordpress/tuto/oauth.php

However, I get a Object not found! page instead.

I have just started working with WordPress, and would appreciate some help as to how to access templates stored inside a sub folder which is stored inside the main themes folder.

Related posts

1 comment

Comments are closed.