Change POST design of divi theme

213 views Asked by At

Hi i am developing a website using DIVI theme. I want to change WordPress post design.
Please find bellow attached two images.

This is what i want This is my current design

Please answer in detail and also let me know that in which file this code exists in files so i can edit it. And moreover you can suggest me best techniques to use divi theme, I have purchased complete package of divi theme. Thanks in advance

3

There are 3 answers

0
Noz On BEST ANSWER

Divi by default doesn't allow this.. but you can Show the category and Comments first.. then edit the post archive .php

1
thetw On

You should consider using the Wordpress Codex or Wordpress Developer references.

Below you'll find a little kickstart for you how you could do that, just change the classes to your needs. To get the expected results use this code within The Loop.

You can use comments_number() to display the current amount of comments for each post:

e.g.

<div class="comments-wrapper">
 <i class="icon-class"></i>
 <p class="comments-count"><?php comments_number( 'No Comment', 'One Comment', '% Comments' ); ?></p>
</div>

And you can use the_category() to display the current category of the post:

e.g.

<div class="category-wrapper">
 <i class="icon-class"></i>
 <p class="category"><?php the_category( ' ' ); ?></p>
</div>
0
Ayaan Ahmed Shohan On

here you have to select post category and tag and updated Divi theme it will show automatically if you select categories and tags post type