J
J
jeka-32020-05-22 12:26:40
WordPress
jeka-3, 2020-05-22 12:26:40

Why does page stop working if single is added for it?

Why does page stop working if single is added for it? The page displays posts from its post type.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Ataykin, 2020-05-22
@pavel_ataykin

It's the hierarchy of templates in wordpress. For an arbitrary post type, the single-{type}.php file is used, if it does not exist, page.php is taken.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question