Post Titles on Home page

Discussion in 'Traffica WordPress Theme' started by vesity, Nov 24, 2013.

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

    vesity Member

    Joined:
    Oct 3, 2013
    Messages:
    241
    Likes Received:
    0
    Hi. The home page has a Recent Posts feature which displays an image from each of the posts. Is it possible to add a post title under each of those images, or perhaps display it on the image?
    Thanks,
     
  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:
    <h6><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h6>
    Sending image for reference

    2013-11-26_1630.png



    now,

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

    Code:
    #carousel-full h6 a{
    line-height:20px;
    }
     
  3. vesity

    vesity Member

    Joined:
    Oct 3, 2013
    Messages:
    241
    Likes Received:
    0
    Thank you!
     
Thread Status:
Not open for further replies.

Share This Page