Results 1 to 2 of 2

Thread: Mouseover Tabs Menu without using an external file

  1. #1
    Join Date
    Jul 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Mouseover Tabs Menu without using an external file

    1) Script Title: Mouseover Tabs Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...seovertabs.htm

    3) Describe problem:
    It's great script but I'm having trouble integrating it with wordpress using dynamic elements.

    I can't get the submenucontents.php (changed from .htm) to pull records from the database using wordpress functions. Is there anyway I could reference the content which is usually kept in submenucontents.php without needing a separate file?

    In other words is it possible to use the text from step 3. of the tutorial in the same file as submenucontents.php?

    I'd really appreciate help with this. I've spent the whole day trying workarounds with no success. Thanks.

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

    Default

    I've solved it. Not in the way I asked for but by including this at the start to use wordpress funtions on any page. I got stuck for ages because absolute paths weren't working for some reason.
    <?php
    require_once '../../../wp-blog-header.php';
    ?>

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
  •