• katie_thompson

    (@katie_thompson)


    Hello!

    I have a top-level menu. One of the pages in this menu has a sub-menu. I want to display the content from these child-pages directly in the parent page.

    I thought it would be easy to use an iFrame for this purpose, but when using WordPress menus, you can’t choose a target where the link will display.

    The parent page is using a custom page template to display the sub-menu, and the iFrame is also located in this page template.

    Is it possible to get the WordPress menu item to display in a specific target, like my named iFrame? Or is there an easier way to do this altogether??

    Here is my site.

    The link takes you to the Wines page. I want the child pages (White/Reserve/Sparkling Wines, etc.) to display within the Wines page. The reason for this is because I could easily just put the content I want into those pages and link to them, but the Wine button would not be active and I’m worried this will be confusing for customers.

    Any help on this is GREATLY appreciated.

    Thanks!
    -Katie

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

    (@katie_thompson)

    Actually, I think I just need some code that says when any of those sub-menu items are clicked or the child-pages are being displayed, “Wine” is set to active. I believe that would be much easier.

    (I am using a Plugin called Nav Menu Images so that my buttons are images.)

    How would I go about this?

    markusday

    (@markusday)

    I see you have two Wines buttons, why is this?

    Thread Starter katie_thompson

    (@katie_thompson)

    Sorry, I was messing with it. I was trying to see if changing the Wine link to an anchored div would work, so I just added one so I didn’t mess the other one up. I changed it back now.

    Do you have any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Displaying menu items in iFrames?’ is closed to new replies.