WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working in a website which uses Genesis framework (Wordpress). I would like to have different menus for Homepage and articles, how do i create a template in Genesis and use it accordingly?

Any suggestions would be helpful.

Thanks, Balan

share|improve this question

You can use this...

<?php get_header(); ?>

<?php genesis_before_content_sidebar_wrap(); ?>
<div id="content-sidebar-wrap">

    <?php genesis_before_content(); ?>
    <div id="content" class="hfeed">

        <?php genesis_before_loop(); ?>
        <?php genesis_loop(); ?>
        <?php genesis_after_loop(); ?>

    </div><!-- end #content -->
    <?php genesis_after_content(); ?>

</div><!-- end #content-sidebar-wrap -->
<?php genesis_after_content_sidebar_wrap(); ?>

<?php get_footer(); ?>

CHange this line:

<?php genesis_loop(); ?>

To whatever loop you need whether its single.php, category.php, page.php etc...

Best of luck,
Sagive

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.