This repository was archived by the owner on Jul 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
diggy edited this page Oct 17, 2014
·
8 revisions
The Category Pie plugin for WordPress adds a pie chart to the administration pages for categories, tags and custom taxonomies. For non-hierarchical taxonomies like post tags the top 10 is displayed.
- Download the latest stable version
- Release archives

category_pie_taxnow_hookcategory_pie_datarowscategory_pie_chart_options
Use the category_pie_chart_options filter to customize the pie chart.
add_filter( 'category_pie_chart_options', 'my_category_pie_chart_options', 10, 1 );
function my_category_pie_chart_options( $chart_options )
{
$chart_options['is3D'] = true;
return $chart_options;
}
Use the category_pie_taxnow_hook filter to move the pie chart to a different location on the admin page, e.g. below the terms table:
add_filter( 'category_pie_taxnow_hook', 'my_category_pie_taxnow_hook', 10, 2 );
function my_category_pie_taxnow_hook( $hook, $taxnow )
{
return "after-{$taxnow}-table";
}
- Need help? Find support on the WordPress Support Forums.
- Found a bug? Report it here.