[wp-hackers] You can view the amount of posts, a CPT, the menu?
J.D. Grimes
jdg at codesymphony.co
Mon Oct 7 20:35:40 UTC 2013
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.
On Oct 7, 2013, at 4:14 PM, Leo Baiano <ljunior2005 at gmail.com> wrote:
> 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.
>
>
> 2013/10/7 J.D. Grimes <jdg at codesymphony.co>
>
>> 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
>>
>> On Oct 6, 2013, at 2:33 PM, Leo Baiano <ljunior2005 at gmail.com> wrote:
>>
>>> 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
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>
>
>
> --
> Amplexos,
>
> Leo Baiano
> Web Developer
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list