Support » Plugin: WP Show Posts » Use WP Show Posts plugin to show all tags sorted alphabetically

  • Hi Tom, I did some decent research on a feature to show all tags on one page. It turns out there is no such a plugin or snippet. So I decided to give it a try using your WP Show Posts plugin to suit my need. And surprisingly it does the job well.

    I used these settings:

    Post Type: post
    Taxonomy: category
    Terms: tags
    Posts per page: 1000000

    Meta: Include terms

    Order: Ascending
    Order by: Slug

    Here is what I get:
    http://prnt.sc/d6tz4z

    I know I am using Taxonomy: category and Terms: tags and probably that’s why I get my tags repeated.

    I’d love to be able to use Taxonomy: post_tag and Terms: all, but sadly there is no such option in Terms, it only allows you to choose one tag.

    Also, on this image you will see that it doesn’t really sort it alphabetically, however all slugs are spelled right.

    Two questions please:
    1) Is it possible to add “all” option to Posts->Terms?
    2) Why is sorting by Slug not working properly? Could be a bug.

    Looking forward to hear from you.

    Thank you Tom.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tom

    (@edge22)

    Hi there,

    Interesting usage of the plugin!

    I’m a little confused about your first point.

    If you choose the post_tag taxonomy, but want to show “all”, wouldn’t that be the same as not choosing a taxonomy at all? Posts have all taxonomies attached to them, so it’s not like it would only show the posts with that specific taxonomy? Maybe I’m missing something (it’s late here)?

    Your second question is a good one, I wonder what WordPress uses to sort to the query items? I always just assumed it uses the title of the post.

    Good point on not choosing Taxonomy at all. I didn’t know you may leave those blank.
    The problem is in this case all posts show up, while we only want to show posts with tickers. Not sure why WP places category name as ticker/tag (Weekly trade ideas, webinars and Thoughts out loud) as we only place ticker names in tags throughout the site.
    Image: http://prnt.sc/d7n8uz

    I then tried it with Taxonomy: post_tag and left Terms: blank/none but the problem here is that it still shows all posts, even blank ones, since no tags in those. Obviously Weekly trade ideas posts cover 10 stock tickers and since they are all in a single post, they all show up. No good.
    Image: http://prnt.sc/d7nasb

    Looks like the only good option here is the original one as I showed earlier http://prnt.sc/d6tz4z

    Only need to figure out 2 things:
    1) Make sure tags don’t repeat
    2) Make sure they are shown in a proper alphabetical sort order.

    I have no idea how to do this 🙂

    But there might be a decent interest and demand in this, since there is no plugin that shows all tags on one page and many folks out there want it. Hope you can help those folks including myself.

    Thanks Tom!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use WP Show Posts plugin to show all tags sorted alphabetically’ is closed to new replies.