• I want certain enhancements to the wp_list_pages functionality.

    1. I want to be able to judge, whether the site has atleast one page, created using the ‘pages’
    something like if (is_pages_exist ())

    2. when it has pages, when it generate the code, i want to generate it as

    instead of

    Any help is appreciated.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter sadish

    (@sadish)

    I want certain enhancements to the wp_list_pages functionality.

    1. I want to be able to judge, whether the site has atleast one page, created using the ‘pages’
    something like if (is_pages_exist ())

    2. when it has pages, when it generate the code, i want to generate it as

    < ul >
    < li > < /li >
    < /ul >
    instead of

    < li >
    < ul >
    < li >< /li >
    < /ul >
    < /li >
    Any help is appreciated.

    Thanks

    Page is screwed.

    Thread Starter sadish

    (@sadish)

    are you not seeing it right ?

    Nope. Its screwed up in IE for me cause of the html.

    @sadish
    html tags and code ALWAYS should be in backticks >> see the help below the text area here!

    Thread Starter sadish

    (@sadish)

    I want certain enhancements to the wp_list_pages functionality.

    1. I want to be able to judge, whether the site has atleast one page, created using the ‘pages’
    something like if (is_pages_exist ())

    2. when it has pages, when it generate the code, i want to generate it as
    <backticks>
    < ul >
    < li > < /li >
    < /ul >
    </backticks>
    instead of
    <backticks>
    < li >
    < ul >
    < li >< /li >
    < /ul >
    < /li >
    </backticks>
    Any help is appreciated.

    Thanks

    Look below the text area (where you type your posts) to see what “backticks” are ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘wp_list_pages : need more functionality.’ is closed to new replies.