L
L
lavezzi12015-04-21 04:28:21
CMS
lavezzi1, 2015-04-21 04:28:21

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

2 answer(s)
W
WP Panda, 2015-04-21
@wppanda5

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.

A
Andrey Khokhlov, 2015-04-21
@andrhohlov

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 question

Ask a Question

731 491 924 answers to any question