Discussion:
You can view the amount of posts, a CPT, the menu?
Leo Baiano
2013-10-06 18:33:16 UTC
Permalink
You can view the amount of posts, a CPT, the menu? Equal to the amount of
plugins that need updating and the amount of reviews that are shown next to
their respective menus inside a black ball.
--
Amplexos,

Leo Baiano
Web Developer
J.D. Grimes
2013-10-07 20:05:50 UTC
Permalink
You can get the post found with wp_count_posts() - http://codex.wordpress.org/Function_Reference/wp_count_posts

To add the number to the admin bar, see the $wp_admin_bar->add_node() function - http://codex.wordpress.org/Function_Reference/add_node
Post by Leo Baiano
You can view the amount of posts, a CPT, the menu? Equal to the amount of
plugins that need updating and the amount of reviews that are shown next to
their respective menus inside a black ball.
--
Amplexos,
Leo Baiano
Web Developer
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Leo Baiano
2013-10-07 20:14:28 UTC
Permalink
The number of posts is quietly picking up, my difficulty is showing that
amount off the menu as well as the CPT appears the amount of comments waiting
for approval, for example.
Post by J.D. Grimes
You can get the post found with wp_count_posts() -
http://codex.wordpress.org/Function_Reference/wp_count_posts
To add the number to the admin bar, see the $wp_admin_bar->add_node()
function - http://codex.wordpress.org/Function_Reference/add_node
Post by Leo Baiano
You can view the amount of posts, a CPT, the menu? Equal to the amount of
plugins that need updating and the amount of reviews that are shown next
to
Post by Leo Baiano
their respective menus inside a black ball.
--
Amplexos,
Leo Baiano
Web Developer
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
--
Amplexos,

Leo Baiano
Web Developer
J.D. Grimes
2013-10-07 20:35:40 UTC
Permalink
This might be helpful for you: http://wordpress.stackexchange.com/questions/9211/changing-admin-menu-labels

You could also hook into the 'admin_menu' action, and manipulate the global $menu array.
Post by Leo Baiano
The number of posts is quietly picking up, my difficulty is showing that
amount off the menu as well as the CPT appears the amount of comments waiting
for approval, for example.
Post by J.D. Grimes
You can get the post found with wp_count_posts() -
http://codex.wordpress.org/Function_Reference/wp_count_posts
To add the number to the admin bar, see the $wp_admin_bar->add_node()
function - http://codex.wordpress.org/Function_Reference/add_node
Post by Leo Baiano
You can view the amount of posts, a CPT, the menu? Equal to the amount of
plugins that need updating and the amount of reviews that are shown next
to
Post by Leo Baiano
their respective menus inside a black ball.
--
Amplexos,
Leo Baiano
Web Developer
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
--
Amplexos,
Leo Baiano
Web Developer
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Loading...