Tags at the bottom of the posts

January 2013 WordPress Theme
GK User
Tue Mar 12, 2013 12:13 pm
How can I show only Tags at the bottom of the posts of all posts

thanks.
User avatar
Senior Boarder

GK User
Tue Mar 12, 2013 2:43 pm
Hi,

Could you better explain? On which page? Do you want to do it on the single post page? If yes - do you want to replace Social API with the tags from the sidebar with category, autor etc. ?
User avatar
Administrator

GK User
Tue Mar 12, 2013 7:35 pm
I have replaced sidebar. I don't use the social api which is a theme option. Instead I use a plugin which loads when somebody scrolls down, that saves me load time.

I want tags at the bottom of single posts.

Thanks.
User avatar
Senior Boarder

GK User
Wed Mar 13, 2013 11:13 am
In the layouts/content.post.footer.php file please add the following code:

Code: Select all
<?php
   if(is_single()) :
   $tag_list = get_the_tag_list( '', __( ', ', GKTPLNAME ) );

   if($tag_list != ''): ?>
   <div class="tags">
      <p><?php _e('Tagged under:', GKTPLNAME); ?></p>
      <?php echo $tag_list; ?>
   </div>

   <?php
   endif;
endif;
?>


Probably it will need additional CSS styling, I recommend to use as a handler the .tags class.
User avatar
Administrator


cron