Forums

[resolved] Depth of page widget (4 posts)

  1. lupinek
    Member
    Posted 2 years ago #

    Will be the possibility to set depth of page widget added in the nearest releases of WordPress?
    I found tickets on this topic but the only solution given was to write own function - widget_pages_args - and nothing about UI.
    Why I cannot still use all the arguments of wp_list_pages (such as 'depth') in the Appearance → Widgets menu?

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    Consider downloading and installing Otto's PHP Code Widget, then put your 'customized' version of wp_list_pages code in one of those widgets:

  3. lupinek
    Member
    Posted 2 years ago #

    I already have plugin with widget parsing php, but still I think it should go to the core in 3.0 or 3.1, what do you think?

  4. MichaelH
    Volunteer
    Posted 2 years ago #

    Probably not a bad idea.

Topic Closed

This topic has been closed to new replies.

About this Topic