G
G
godsplane2020-06-05 17:11:05
WordPress
godsplane, 2020-06-05 17:11:05

What does the inc folder mean?

And how is it different from template-parts?
What and where is better to shove?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
KingAnton, 2020-06-05
@godsplane

includes - for example, you can include files with your own functions and other custom code
template-part - it is clear from the name that you need to store template parts here

D
Dima Polos, 2020-06-05
@dimovich85

Depends on the programmer. Usually, as written above - some kind of extra. add up the functionality.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question