Having difficulty displaying multilevel navigation in WordPress with K2

Forums Forums Menus Having difficulty displaying multilevel navigation in WordPress with K2

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1230
    CrowdTamers
    Member

    Hey all;

    Been working on a site for a client built in WordPress using K2 as the template. I have no problem getting the main menu to appear, and I (once) had the submenu level of menus appear, but I can’t seem to get it to work for a darn.

    Using the default install CSS (not trying to change any of that yet) on a temp domain, I have: http://seminolecountycriminallaw.com/sitesample/%5B/url:2nh16pk5%5D

    Here’s the php that I’m working with:

    [quote:2nh16pk5]
    // arguments for wp_list_pages
    //$list_args = k2_get_page_list_args(); // this function is pluggable

    ?>

    <?php echo "<$block class=’blog-title’>"; ?>
    <a href="<?php echo get_option(‘home’); ?>/" accesskey="1"><?php bloginfo(‘name’); ?></a>
    <?php echo "</$block>"; ?>

    <p class="description"><?php bloginfo(‘description’); ?></p>

    <ul class="menu">
    <!–
    <li class="<?php if ( is_front_page() && !is_paged() ): ?>current_page_item<?php else: ?>page_item<?php endif; ?> blogtab">
    <a href="<?php echo get_option(‘home’); ?>/" title="<?php echo esc_attr( get_option(‘k2blogornoblog’) ); ?>">
    <?php echo get_option(‘k2blogornoblog’); ?>
    </a>
    </li>
    –>
    <?php /* K2 Hook – do not remove */ do_action(‘template_header_menu’); ?>

            <?php if (function_exists(‘pixopoint_menu’)) {pixopoint_menu();}; ?>

    <?php
    // Display an Register tab if registration is enabled or an Admin tab if user is logged in
    wp_register(‘<li class="admintab">’,'</li>’);
    ?>
    </ul> <!–.menu –>
    [/quote:2nh16pk5]

    I commented out their $list_args variable, since its not applicable, and also removed the menu building call that’s native to K2 with the pixopoint php calls. The default menu builder is:

    [quote:2nh16pk5]<?php
    // List pages
    wp_list_pages( $list_args );
    ?>
    [/quote:2nh16pk5]

    While there are some great things that K2 does, I have to admit I’m not a big fan of the changes they’ve made to how menus are built, since I’ve gotten PixoPoint working on other WordPress sites with no problems. Any insight that you can offer as to what the heck is going wrong, I’d appreciate.

    #7798
    wander
    Member

    I would recommend that you use pixopoint menu and NOT use multi…
    it can be found here.
    https://geek.hellyer.kiwi/products/pixopoint-menu/

    K2 is a great theme to be using with the pixopoint menu!

    After that…
    insert this line in the header somewhere, under your title / description

    <?php if (function_exists(‘pixopoint_menu’)) {pixopoint_menu(1);} ?>

    and make sure you disable "Auto Theme Support".

    and somehow add this to the CSS
    #pixopoint_menu1_wrapper {
    width: 100%;
    position: absolute;
    bottom: 0;
    }

    #7799
    wander
    Member

    PS, I really hope you have created a child theme that you are working with.
    inside of k2/blocks/k2-header.php

    This file is a good place to put the pixopoint menu, and REMOVE the
    "Display the page tabs"

    You can create "childtheme"/blocks/k2-header.php and this will over-ride the base k2-header.php file.

    I hope this helps!

    #7800

    Thanks for the input Wander <img decoding=” title=”Smiley” /> I’m too busy to reply to posts around here this week so I appreciate the help.

    I’ve often had trouble with K2 and my menu plugins.

    If you know of anything I can do to help make it work better, just let me know. In particular, I’d like it to work with the auto theme support option, but I don’t know much about K2 unfortunately so aren’t sure what hooks etc. I could use to get it to work like that.

    #7801
    CrowdTamers
    Member

    Wander and Ryan;

    Thanks for the replies!  I didn’t get any emails notifying me of replies on this thread, so I’d just assumed that no one had answered. I’ll try your suggestions, Wander, and report back on their efficacy once I’ve given them a go.

    –Trevor

    #7802

    CrowdTamers, did you choose the "Notify of replies via email" option? I’m interested to know if it is broken.

    #7803
    CrowdTamers
    Member

    I did, indeed. It only seems to notify me of replies that *you* have left, which is not "as designed," I suspect.

    #7804
    CrowdTamers
    Member

    Wander;

    Tried your fix and it didn’t work, but I ended up "fixing" it by going to Kubrick as my theme, so the client’s happy.  Thanks for your help, though. It’s much appreciated!

    –CrowdTamers

    #7805
    &quot;CrowdTamers&quot; wrote:
    … It only seems to notify me of replies that *you* have left, which is not "as designed," I suspect.

    Does [b:sou9fir1]you[/b:sou9fir1]  = me? ie: Do the notifications only appear if I reply myself rather than random forum members?

    #7806
    CrowdTamers
    Member

    Sorry about the lack of precision there. Yes, I only was getting emails when the site admin replied.  As it’s now a conversation thread between you and me, it’s a little bit less obvious if that’s still the case. <img decoding=” title=”Smiley” />

    #7807

    Thanks for the info. I’ll keep an eye on that in case it happens to others.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.