Found and fixed a bug for displaying local tags
-
Hi,
I was trying to display local tags for each post, but the shortcode wouldn’t work for some reason, so I had to use the widget element. However, the widget element had a bug. In the settings, when I tried to set “On Single Post Display” to “Children tags”, when I saved it, it reverted back to “All tags”. This happened every time I saved it, and all tags were displaying on every post.
After looking at the code, I can see there was a small mistake in the code. The value of the <option> should be set to “local” and not “children”. When I changed this in the browser, and then saved it, it stored the value and it worked perfectly.If you decide to change another setting on the widget, then you need to update this value before you save it again, otherwise it reverts back to the original value. I’m sure you could update this in the plugin code yourself, but I assume this will be fixed in the next update. For me, I just needed to save it once, so doing it in the browser worked fine for me.
Thank you.
A
- You must be logged in to reply to this topic.