what template files are used for our custom post type in wordpress 3f

Solutions on MaxInterview for what template files are used for our custom post type in wordpress 3f by the best coders in the world

showing results for - "what template files are used for our custom post type in wordpress 3f"
Elena
21 Apr 2019
1there are two files that can be used for our own created custom post type.
2
3the files are:
4archive.php
5single.php
6To use the files we will just have to change the names with our custom post types.
7
8Suppose our custom post type is events,
9the files name would be:
10
11archive-events.php
12single-events.php