Your Time:
Our Time:

Portfolio – display errors

Tagged: 

Sorry, but you do not have the capability to view this topic

  • Resolved
    Posted in: Hostme V2  
  • Supported
    • Topics: 1
    • Replies: 2
    • Total posts: 3
    Post count: 2
    mlovelock
    Member
    2014-02-05 at 9:22 pm #2788

    Hi,

    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.

    Thanks,
    M

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

Comments are closed.