Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Sidebar Tags widget uses incorrect function to get a list of tags #45

Open
tnke opened this issue Dec 12, 2018 · 0 comments
Open

Sidebar Tags widget uses incorrect function to get a list of tags #45

tnke opened this issue Dec 12, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tnke
Copy link
Collaborator

tnke commented Dec 12, 2018

Expected Behavior

The blog sidebar Tags widget should show all non-empty tags available on the site. You can receive a list of them by using the get_tags() function.

Current Behavior

Currently it uses the get_the_tag_list() function which only shows the tags of the first post in the current loop. From the Codex:

Generates a HTML string of the tags associated with the current post.

Steps to Reproduce

  1. Add different tags to various posts
  2. Go to any archive feed sidebar
  3. It shows only tags from the first post in the current view

Context (Environment)

Tried to add a simple fallback archive views to a project with a full tag list in the sidebar.

Possible Solution

Change to get_tags() function. Will require some changes to the markup as well.

@tnke tnke added the bug Something isn't working label Dec 12, 2018
@tnke tnke self-assigned this Dec 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant