Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1015959
    ichibanj
    Participant

    Hi there, on my blog page http://masseyblogs.ac.nz/studentblog/blog/ (It’s Renew) I would like to include tags at the bottom of each excerpt in a similar way to how they appear on each individual post e.g. http://masseyblogs.ac.nz/studentblog/2016/whos-inspiring-who How can I do this?
    Thanks

    #1016012
    Lely
    Moderator

    Hi There,

    Thanks for posting in. I can see that you have a child theme already. Please copy the file content.php from wp-content\themes\x\framework\views\renew to this folder: wp-content\themes\x-child\framework\views\renew. Open the copied file and replace the entire content with the following:

    <?php
    
    // =============================================================================
    // VIEWS/RENEW/CONTENT.PHP
    // -----------------------------------------------------------------------------
    // Standard post output for Renew.
    // =============================================================================
    
    ?>
    
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
      <div class="entry-wrap">
        <?php x_get_view( 'renew', '_content', 'post-header' ); ?>
        <?php if ( has_post_thumbnail() ) : ?>
          <div class="entry-featured">
            <?php x_featured_image(); ?>
          </div>
        <?php endif; ?>
        <?php x_get_view( 'global', '_content' ); ?>
        <?php x_get_view( 'renew', '_content', 'post-footer' ); ?>
      </div>
    </article>

    Hope this helps.

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