• Hi there,

    I am trying to use the ‘client-login’ page as my parent for multiple other pages (secure pasword protected). I have added the pages and selected the ‘client-login’ as the parent, however when i publish it and click into ‘client-login’ there are no links for the sub-pages.

    At present there is a password protected gallery embedded with the client login parent page.

    My site: https://www.thevintageshowroom.com/blog/

    Any help will be VERY gratefully appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Are you listing the pages on the Client Login page (See the function reference for wp_list_pages), or just expecting them to be there by default?

    The typical behaviour for this set up is to create a dropdown navigation menu, for which there are several plugins.

    Thanks?

    Thread Starter nshonfeld

    (@nshonfeld)

    hello there, sorry do excuse me as i am relatively new at this.

    Ok, so i guess i was expecting to see them automatically generated somewhere when i click into the client login page. I dont really want to display or navigate around this via a sidebar widget.

    I have just been looking at the ‘function reference for wp_list_pages’ actually but it is confusing the hell out of me!

    Essentially, i wish to have a page (the client login, not password protected) accessible via the navigation bar in my header area (which ive managed to create), then a list of links to other pages (password protected) within the main content area of the client login page… Is this do-able?! many many thanks for this help ??

    Do you mean that you only want the pages to be visible if the user is logged in?

    if so, try something along the lines of this in the template that you are using –

    if(is_user_logged_in()) :
        wp_list_pages('title_li=What ever title you want&child_of=10') // Where 10 is the ID of your client-login page
    endif;
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cnnot see 'sub'pages within parent page.’ is closed to new replies.