Title: complex menu coding
Last modified: August 21, 2016

---

# complex menu coding

 *  [jahur](https://wordpress.org/support/users/jahur/)
 * (@jahur)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/complex-menu-coding/)
 * Hi All,
    I have a WordPress website. I want to add menu feature like this website.
 * [http://mckinneyyork.com/work/residential/featured-project-images-residential/](http://mckinneyyork.com/work/residential/featured-project-images-residential/)
 * Under “WORK” there are 5 sub menus. When any one of these are clicked similar
   projects under that category are shown in the second column. How do I do that?
   I know some php and some WordPress codex.

Viewing 1 replies (of 1 total)

 *  Thread Starter [jahur](https://wordpress.org/support/users/jahur/)
 * (@jahur)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/complex-menu-coding/#post-4171368)
 * template code is here
 *     ```
       <?php
       /**
        * Template Name: Project-template-mastercustom
        *
        */
       ?>
       <?php get_header(); ?>
   
       <div id="main" class=" container" style="background:#222222;">
       <div class="container wrap">
   
       <div class="row smallwrap" style="width:100%; height:auto;">
   
       <div class="col dimfull"  style="height:auto;">
       <div class="col dim3 pull-left" style=" height:auto;  margin-top:0px;">
       <ul id="sidebar_custom_menu">
       	<?php if ( dynamic_sidebar('project_sidebar_menu') ) : else : endif; ?>
       </ul>
   
       <?php // if ( dynamic_sidebar('project_sidebar_menu') ) : else : endif; ?>
       </div>
       <div class="content">
       <?php  if (have_posts()) : ?>
       <?php while (have_posts()) : the_post(); ?>
   
       <div class="col dim7 pull-right" id="ajaxloadcustom">
       <h2><?php the_title();?></h2>
       <?php the_content(); ?>
   
       <?php endwhile; ?>
       <?php endif; ?>
   
       </div>
       </div>
       </div>
       </div>
       </div>
   
       <div class="sugar-container " data-speed="1" data-offsety="0" style=" height:100%;">
       <div id="main" class=" container" style="background:#45BBDF"; >
       <div class="container wrap">
       <div class="proj_dscrptn col dim7 pull-right" style="height:auto; float:right;  margin-top:30px; margin-right:20px; font-size: 17px; font-family:'Droid Sans', Arial, sans-serif;">
   
                <?php   $my_meta = get_post_meta($post->ID,'_my_meta',TRUE); ?>
   
                <?php echo '<div style="width:90%; margin:10px 25px -15px 25px;"><h3>' . $my_meta['name'] . '</h3></div>'; 
   
              echo  '<div style="width:90%; margin:25px; height:auto; overflow: hidden; color: #ffffff;  font-size: 17px;">' .   $my_meta['description'] . '</div>'; ?>
   
        </div>
   
       </div>
       </div>
       </div>
       <?php get_footer(); ?>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘complex menu coding’ is closed to new replies.

## Tags

 * [menu](https://wordpress.org/support/topic-tag/menu/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [jahur](https://wordpress.org/support/users/jahur/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/complex-menu-coding/#post-4171368)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
