Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #897612
    creatorofstuff
    Participant

    Hi,
    I’ve been reading Yoast’s e-book on Blog SEO, which has been helping me to thoughtfully reorganize my blog. It says “You should make sure your tags are in fact available to your visitors somewhere, preferably at the bottom of your article.” Although I have a tag cloud in the sidebar, if the post is long, the reader no longer sees this. Therefore, I would like to do what Yoast is suggesting, which is put my tags after the end of the blog post.

    I have scoured the forum but can’t seem to find an article that helps me to figure this out. I’m not a programmer. Do I need to be in order to make this happen?

    I am using Renew stack, by the way. (Which I love.)

    Thanks!

    #898198
    Paul R
    Moderator

    Hi,

    To add tags to your posts, create file content.php in wp-content/themes/x-child/framework/views/renew
    then copy the code below into that file.

    
    <?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' ); ?>
      </div>
      <?php if ( has_tag() ) : ?>
      <footer class="entry-footer cf">
        <?php echo get_the_tag_list(); ?>
      </footer>
      <?php endif; ?>
    </article>
    

    Hope that helps.

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