• 0

Display tags on frontpage


Question

Posted · Report post

Pagelines by default only displays tags on the individual post page. Is there a simple way to have them appear on a full post feed displayed on the frontpage?

 

Thanks!

 

http://www.randallpacker.com

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

Posted · Report post

Try adding the following code to your child themes functions.php file.

 

function tags_in_excerpt() {
  printf(
          '<div class="p tags">%s&nbsp;</div>',
          get_the_tag_list(
            __( "<span class='note'>Tagged with &rarr;</span> ", 'pagelines' ),
            ' &bull; ',
            ''
          )
        );
}
add_action('pagelines_loop_after_excerpt', 'tags_in_excerpt');

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi,

 

When you say tags on individual posts, are you referring to the Tags widget ?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I am not talking about the tag cloud widget, but rather the tags that are associated with a post. They only appear on the individual post page in Framework, and I would like to see them on my excerpted frontpage as well.

 

Thanks.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thank you, I'll give it a try as soon as I setup a child theme.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Great - let us know how you get on and if we can help with this :) 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now