cabrerahector / wordpress-popular-posts

WordPress Popular Posts - A highly customizable WordPress widget that displays your most popular posts.
https://wordpress.org/plugins/wordpress-popular-posts/
GNU General Public License v2.0
280 stars 82 forks source link

Taxonomy and Category can't be displayed together #340

Open jdrly opened 1 year ago

jdrly commented 1 year ago

Describe the bug As said in the title, if I write a shortcode in with stats_category=1 taxonomy=' post_tag' stats_taxonomy=1 it will only display taxonomy. No matter what combination I try.

To Reproduce Steps to reproduce the behavior: Use my shortcode.

Expected behavior Show both

Screenshots https://imgur.com/a/ZjmkuJo

Environment:

cabrerahector commented 1 year ago

Hi @jdrly,

Yes, the plugin cannot display multiple taxonomies at the same time unfortunately. I plan to change that on a future release.

For the time being to show more than one taxonomy you'll need to use the Custom HTML feature in conjunction with custom Content Tags so you can display both categories and tags on your popular posts list.

Here's an example on how to create and use custom Content Tags: Display Tags and Author image.

If you have any questions don't hesitate to ask.