skip to Main Content

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

Answers


  1. 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>
    
    Login or Signup to reply.
  2. Divi by default doesn’t allow this.. but you can Show the category and Comments first..
    then edit the post archive .php

    Login or Signup to reply.
  3. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search