[Plugin: AsideShop] Post Tags not showing in latest version (2 posts)

  1. tquizzle
    Posted 5 years ago #

    I've noticed that the latest version of AsideShop isn't showing the post tags. When you call the %post_tags% in the AsideShop template, it's not returning anything.

    I've poked around and fixed the issue for the plugin author.

    Line 65 of the code reads the following:
    "%post_tags%" => '((float)$wp_version >= (float)"2.3" ? get_the_term_list(0, \'post_tag\', \'\', \', \') : \'\') ',

    This should be:
    "%post_tags%" => 'get_the_tag_list( $before = \'\', $sep = \' \ \', $after = \'\' )',

    You can obviously change the $sep to something else if you choose, but this looks clean separated by "\" and works well in my theme.


  2. maijs
    Posted 5 years ago #

    @tquizzle, thanks for pointing this out, fixed in version 1.2.

    Separator remains the same - a comma.


Topic Closed

This topic has been closed to new replies.

About this Topic