Your Time:
Our Time:

Portfolio – display errors


  • Resolved
    Posted in: Hostme V2  
    • Topics: 1
    • Replies: 2
    • Total posts: 3
    February 5, 2014 at 9:22 pm #2788


    Some errors / display fixes in the single-portfolio.php file

    Line 63 & 119, add space before post date:
    <li><strong><?php echo $projectdatetxt; ?></strong> <?php echo $post_date; ?></li>

    Line 67 & 123, remove unnecessary space before separator comma
    <?php echo strip_tags( get_the_term_list( $post->ID, 'portfolio_cat', '', ', ') ); ?>
    It would also be good to hyperlink these, though displaying by portfolio category seems to have errors at present.

    Line 72 & 128, change ‘portfolio_cat’ to ‘post_tag’ to display skills tags.
    <?php echo strip_tags( get_the_term_list( $post->ID, 'post_tag', '', ', ', '' ) ); ?>

    There also looks to be some errors when selecting to display a ‘sortable’ portfolio (same as portfolio category display), but I’ve not had a chance to delve into that yet.


    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.