Answer the question
In order to leave comments, you need to log in
How to make posts display differently in wordpress?
Hello. Wordpress latest version. When I edit the content.php file to change the display of a post on the front page, it automatically changes the si in the post itself. It turns out awful. How to fix? It is necessary that on the main preview of the post it looks like this, and when you click on the post, it’s different. What tell me? Is it possible?
Answer the question
In order to leave comments, you need to log in
First you need to understand how WordPress works The very basics *
Then, knowing the Hierarchy of Templates and skillfully using Conditional Tags , you will be able to format the output the way you need
______________________________________
* The Russian version is slightly outdated, but you can use it, in the English version of the article the information is more relevant.
Yes, as if elementary - on the main page in the post output cycle, use one template, in single.php - another.
It's easy - to read how the pages of vp are formed, from what parts and according to what logic.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question