Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6568

    Hi,

    Love the theme. Just wondering if there’s a way to remove the date from displaying in portfolio item posts? (eg. http://www.umitk.com/portfolio-item/human-nature/ )

    Many thanks!

    Umit K

    #54689

    Hey,

    make a copy of single.php and rename the copy to single-portfolio.php. Afterwards open up single-portfolio.php and replace following code line:

    get_template_part( 'includes/loop', 'index' );

    with:

    get_template_part( 'includes/loop', 'indexportfolio' );

    Afterwards make a copy of loop-index.php and rename the copy to loop-indexportfolio.php. Afterwards open up single-portfolio.php and remove following code lines:

    <span class="date">
    <span class='day'><?php the_time('d') ?></span>
    <span class='month'><?php the_time('M') ?></span>
    <span class='year'><?php the_time('Y') ?></span>
    </span><!-- end date -->

    #54690

    Perfect! Thanks :)

    #54691

    Glad that I could help you :)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Dates in portfolio posts’ is closed to new replies.