Adding titles to the "Recent Posts" on homepage

Discussion in 'Traffica WordPress Theme' started by spidermichael, Sep 5, 2013.

Thread Status:
Not open for further replies.
  1. spidermichael

    spidermichael New Member

    Joined:
    May 15, 2013
    Messages:
    14
    Likes Received:
    1
    Hi, I was wondering if there is a way to add a blog title and/or short exerpt to the "recent posts" section on the home page. I really like this theme but having that added in would really make it a lot better for my purposes. I currently use road fighter and like that it does have this feature.

    Thanks!
    Michael
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to front-page.php present in your theme directory and add the code given below

    Code:
     <div class="wrap">
                      <h6> <a href="<?php the_permalink() ?>" rel="bookmark" title="trafica Images"><?php the_title(); ?></a> </h6>
                      </div>
    Sending image for reference

    2013-09-06_1311.png


    Now, Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .wrap h6 a{
    color:black;
    font-size:18px;
     
    }
    .wrap h6{
    text-align:center;
    }
     
  3. spidermichael

    spidermichael New Member

    Joined:
    May 15, 2013
    Messages:
    14
    Likes Received:
    1
    Excellent, thank you!
     
Thread Status:
Not open for further replies.

Share This Page