• Resolved jbush82

    (@jbush82)


    I have been working on a site for my church and I am trying to create a sliding sub-menu below a “parent” page with “child” pages.

    The current “staged” site can be found at http://www.spiritofsaron.com

    The goal is to make a sub-menu slide out below the “Missions” link when clicked. This is a fairly common effect that combines some JS and CSS, but I’m not able to identify a clear cut way to do it with a WordPress menu.

    Any help or direction would be greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jbush82

    (@jbush82)

    I’m thinking this might be possible with some PHP, but I’m still learning WP and could use some help. Here is what I’m thinking. Put all sub-pages into an array along with its parent page. Then list each page regardless of whether or not they are a sub-page or parent page. Remove duplicates from the second list that were previously identified in the first, and now you have an object for each page. Is it then possible to assign CSS classes to each item for styling purposes. What about modifying the link so that the parent link executes JS rather than go to an actual WP page?

    Thread Starter jbush82

    (@jbush82)

    Found a plugin to do exactly what I’m looking for. Called JQuery Accordian Menu.

    Alwyn Botha

    (@123milliseconds)

    Cool

    Please mark thread as resolved so that

    – others with similar problem can see it as resolved and will read this thread for help if they have similar problem

    – people providing help see it as resolved and will not waste time reading this post.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pages, Subpages, and Menu "Slider"’ is closed to new replies.