Skip to content

For what purpose is templates/ and pirtials/ intended to be used? #5

Answered by oguilleux
harapeko asked this question in Q&A
Discussion options

You must be logged in to vote

templates is for your custom templates, check out the wordpress hierarchy and page templates.

partials is for code reused all the time across the design, typically if you have a blog it's the card/teaser of a post that can be present in the listing on the index, the archive page or even at the bottom of a post when you push posts from the same category.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by harapeko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants