[wp-hackers] Modifying wp_list_pages() from a plugin
    Philip M. Hofer (Frumph) 
    philip at frumph.net
       
    Wed Jan  5 22:51:57 UTC 2011
    
    
  
or, .. here's a thought, you can use the nav_menu and some widget_logic 
plugin with is_user_logged_in()
that way you can utilize the coolness of the appearance -> menus and still 
have the ability to only show it to users who are logged on
the "custom menu" widget basically with widget logic will do it for you. 
think there's a better plugin then widget_logic which is outdated, but same 
concept you can put conditionals in widgets.
then you can organize your custom menu for that area however you like with 
appearance -> menus at anytime you like
----- Original Message ----- 
From: "Lazyest Hacker" <lazyest at brimosoft.nl>
To: <wp-hackers at lists.automattic.com>
Sent: Wednesday, January 05, 2011 2:47 PM
Subject: Re: [wp-hackers] Modifying wp_list_pages() from a plugin
> Hello Pete,
>
> I don't understand why you can't use the 'wp_list_pages' filter.
>
> Marcel
>
>>> -- I'd like to just inject pages into the wp_list_pages() results myself
> from the plugin -- but I'm open to any clever solution.
>
> Thanks
>
> Pete Holiday
> _______________________________________________
> 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
> 
    
    
More information about the wp-hackers
mailing list