Wordpress custom dropdown menu

Several clients had the same request : they didn’t want the top level items to act as links, but just be a placeholder to contain the child pages links.
For example : About -> about us, the About link doesn’t link to a page because it has no content.
It works with superfish menus
anyway here is the code:

 ID;
      $children = wp_list_pages('depth=1&echo=0&child_of=' . $id . '&sort_column=menu_order&title_li=');
      if ($children) {
          print '
  • ' . $page->post_title; print '
      '; print $children; print '
  • '; } else { print '
  • ' . $page->post_title . '
  • '; } } ?>

    You can view the working code at http://​sideradesign​.com/​krf

    WordPress dynamic searchable table with Jquery UI

    Features : custom page template with dynamic post table. The table is then enhanced with Jquery dataTables to add search and sort functionality.
    The goal was twofold : to present data in a searchable format for visitors. To make it easy to update for the website admin with no html knowledge.
    Using custom fields, the client can enter a new post in a specific category, and it will appear in the table.
    Here is the code for the custom page template:

    ID, 'food-location', true ); $food_name = get_post_meta($post->ID, 'food-name', true ); $food_type = get_post_meta($post->ID, 'food-type', true ); echo ' '; if(!empty($food_location ) ) { echo ' '; /* Add any additional code. */ } if (!empty($food_name ) ) { echo ' '; /* Add any additional code. */ } if (!empty($food_type ) ) { echo ' '; /* Add any additional code. */ } echo ' '; ?>
    Location Dish Type
    ' . $food_location . '' . $food_name . '' . $food_type . '

    You can see the demo at:
    http://​sideradesign​.com/​k​r​f​/​f​o​o​d​-​d​r​i​n​ks/

    I made the switch to Hybrid framework

    After reading this post, I decided to give Hybrid a try, and I liked it so much that I have just finished migrating this site to the Hybrid framework!
    I didn’t have to create any custom page templates, however, I did have to dig into the functions.php file and play around with filter hooks and the likes.
    It was hard work but worth it.