Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #912825
    michele
    Participant

    Hi, I wondered if there was a way to add more content to the portfolio items when they are displayed. Just now, I have the title and then the share buttons underneath. What I wondered was, is there a way to add an address under the title between the title and the share buttons. So for instance it would say, Bamlmekewen Farm Shop Laurencekirk, Aberdeenshire – without having to change the title?
    Many thanks in advance
    Michele

    #913271
    Rahul
    Moderator

    Hi There,

    You can use wordpress the_excerpt() function in your content-portfolio.php file.

    below the h2 tag :

    e.g.

    <h2 class="entry-title entry-title-portfolio">
              <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php x_the_alternate_title(); ?></a>
            </h2>
    <?php the_excerpt(); ?>

    Hope that helps,

    Have a great day!

  • <script> jQuery(function($){ $("#no-reply-912825 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>