Results 1 to 2 of 2

Thread: Nested Side Bar Menu Not Showing Child Pages in Wordpress

  1. #1
    Join Date
    Apr 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Nested Side Bar Menu Not Showing Child Pages in Wordpress

    1) Script Title: Nested Side Bar Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/style/cs...side_bar_menu/

    3) Describe problem: Link to "Original" version: http://www.computerdepot-online.net/

    I am using the script in a wordpress site for a left sidebar nav of the pages. I have copied the script and put it in its own js file. I have the header calling the js file (right after the body tag).

    My HTML in the sidebar is below:
    Code:
    <div class="vertmenu">
    <ul id="vertmenu1">
    <?php wp_list_pages('title_li=&depth=4&exclude=9&sort_column=menu_order'); ?>
    </ul></div>
    But I am not getting anything. The css is part is working, but I am not getting the child pages to show up, or the right arrow if there even are child pages.

    I am guessing it is something silly on my part. Any help is greatly appreciated.

  2. #2
    Join Date
    Apr 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Got it figured out. If you copy the script into a separate JS file, be sure to delete the script tags at the first and last lines. Oops.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •