- This topic has 0 replies, 1 voice, and was last updated 15 years, 2 months ago by ianhillmedia. 
- 
		AuthorPosts
- 
		
			
				
August 17, 2010 at 1:35 pm #1568ianhillmedia MemberThis PixoPoint Menu plugin looks great for creating dropdown menus – if I can only get it to work! I’m using the Whitehouse Free[/url:3sivezbc] theme to build a private, password-protected portfolio site for a friend. You can find the CSS here[/url:3sivezbc]. (You’ll note that the CSS does reference a dropdown, but that feature is only available on the premium theme.) I’ve used the plugin settings to create a menu that, for now, only includes one page – Featured Work. Auto Theme Support doesn’t seem to work, so I’m pasting in the PHP. Here’s the relevant code from my header.php without the plugin: 
 [code:3sivezbc]
 <div class="container fix <?php if(m_pagelines(‘sidebar_layout’, $post->ID) == ‘left’) echo ‘sidebar_left’;?>">
 <div class="effect containershadow">
 <div class="effect containershadow_rpt">
 <div id="sitenav" class="content fix"><div id="nav" class="fix"> <?php if(pagelines(‘enable_drop_down’)):?> 
 <ul class="dropdown clearfix">
 <?php else:?>
 <ul class="clearfix">
 <?php endif;?><li class="page_item "><a class="home" href="<?php echo get_settings(‘home’); ?>/" title="<?php _e(‘Home’,TDOMAIN);?>"><?php _e(‘Home’,TDOMAIN);?></a></li> 
 <?php$frontpage_id = get_option(‘page_on_front’); 
 if($bbpress_forum && pagelinesforum(‘exclude_pages’)){ $forum_exclude= ‘,’.pagelinesforum(‘exclude_pages’);}
 else{ $forum_exclude = ”;}
 wp_list_pages(‘exclude=’.$frontpage_id.$forum_exclude.’&depth=3&title_li=’);?> 
 </ul>
 </div><!– /nav –><div class="clear"></div> 
 </div>
 [/code:3sivezbc]If I place [code:3sivezbc]<?if ( function_exists( ‘pixopoint_menu’ ) ) {pixopoint_menu();}?>[/code:3sivezbc] at the very end of the code, outside of the div, it looks like this screenshot.[/url:3sivezbc] You’ll note it just appears as a sub-menu – there’s no dropdown functionality. If I do something like this 
 [code:3sivezbc]
 <?php$frontpage_id = get_option(‘page_on_front’); 
 if($bbpress_forum && pagelinesforum(‘exclude_pages’)){ $forum_exclude= ‘,’.pagelinesforum(‘exclude_pages’);}
 else{ $forum_exclude = ”;}
 wp_list_pages(‘exclude=’.$frontpage_id.$forum_exclude.’&depth=3&title_li=’);
 if ( function_exists( ‘pixopoint_menu’ ) ) {pixopoint_menu();}?>[/code:3sivezbc] 
 or this:
 [code:3sivezbc]<?php$frontpage_id = get_option(‘page_on_front’); 
 if($bbpress_forum && pagelinesforum(‘exclude_pages’)){ $forum_exclude= ‘,’.pagelinesforum(‘exclude_pages’);}
 else{ $forum_exclude = ”;}
 wp_list_pages(‘exclude=’.$frontpage_id.$forum_exclude.’&depth=3&title_li=’);?> <?php if ( function_exists( ‘pixopoint_menu’ ) ) {pixopoint_menu();}?>[/code:3sivezbc] I feel like I’m missing some Javascript, or there’s possibly a z-index issue. But I’m not sure why the latter would matter, as the content is all static – it’s not Flash. Any help would be greatly appreciated. 
- 
		AuthorPosts
- You must be logged in to reply to this topic.