-
Hello, how can I use an html file from the templates folder to display a custom post type (archive & single)? |
Beta Was this translation helpful? Give feedback.
Answered by
t-hamano
Dec 3, 2022
Replies: 2 comments
-
Following the rules of the classic theme, I think you should only need to place HTML files in the For example, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kodaizen
-
ok, thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Following the rules of the classic theme, I think you should only need to place HTML files in the
templates
folder.For example,
templates/single-book.html
,templates/archive-book.html
, etc.