hi @annaryker
go to your database (phpmyadmin)
select your website database, and in search type: count ‘category name’
**don’t forget to select all tables**
for example, i was searching for how many males and females are selected in categories, i typed: count gender
picture to show how: https://imgur.com/a/SN3EQQg
for me i found it in term_taxonomy, click on Browse, and it’ll take you to the code
now just copy the code and put it in your plugin to get the charts
my code was:
“SELECT * FROM wp_WP7KG
.wp_term_taxonomy
WHERE (CONVERT(term_taxonomy_id
USING utf8) LIKE ‘%count%’ OR CONVERT(term_id
USING utf8) LIKE ‘%count%’ OR CONVERT(taxonomy
USING utf8) LIKE ‘%count%’ OR CONVERT(description
USING utf8) LIKE ‘%count%’ OR CONVERT(parent
USING utf8) LIKE ‘%count%’ OR CONVERT(count
USING utf8) LIKE ‘%count%’) OR (CONVERT(term_taxonomy_id
USING utf8) LIKE ‘%gender%’ OR CONVERT(term_id
USING utf8) LIKE ‘%gender%’ OR CONVERT(taxonomy
USING utf8) LIKE ‘%gender%’ OR CONVERT(description
USING utf8) LIKE ‘%gender%’ OR CONVERT(parent
USING utf8) LIKE ‘%gender%’ OR CONVERT(count
USING utf8) LIKE ‘%gender%’)”
if you stuck or didn’t understand, you can email me ([email protected])
Best Of Luck