- This topic has 10 replies, 3 voices, and was last updated 14 years, 10 months ago by imported_Ryan.
-
AuthorPosts
-
January 27, 2010 at 1:02 am #1230CrowdTamersMember
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.
January 28, 2010 at 5:27 am #7798wanderMemberI 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;
}January 28, 2010 at 5:33 am #7799wanderMemberPS, I really hope you have created a child theme that you are working with.
inside of k2/blocks/k2-header.phpThis 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!
January 28, 2010 at 10:54 am #7800imported_RyanMemberThanks for the input Wander ” 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.
January 28, 2010 at 8:02 pm #7801CrowdTamersMemberWander 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
February 1, 2010 at 11:50 pm #7802imported_RyanMemberCrowdTamers, did you choose the "Notify of replies via email" option? I’m interested to know if it is broken.
February 2, 2010 at 4:26 pm #7803CrowdTamersMemberI did, indeed. It only seems to notify me of replies that *you* have left, which is not "as designed," I suspect.
February 2, 2010 at 4:27 pm #7804CrowdTamersMemberWander;
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
February 2, 2010 at 10:35 pm #7805imported_RyanMember"CrowdTamers" 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?
February 3, 2010 at 2:40 pm #7806CrowdTamersMemberSorry 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. ” title=”Smiley” />
February 4, 2010 at 2:57 am #7807imported_RyanMemberThanks for the info. I’ll keep an eye on that in case it happens to others.
-
AuthorPosts
- You must be logged in to reply to this topic.