WordPress.org

Ready to get started?Download WordPress

Forums

Custom Template Menu not showing up (1 post)

  1. sergiosaravia
    Member
    Posted 1 year ago #

    Hello everyone,
    I am having some issues with custom menus. I created a child theme using TwentyEleven theme. When I apply a custom theme template to any page, the custom menu goes away and the standard page menu appears. Any suggestions?
    Here is the code for my template:

    <?php

    /**

    * Template Name: Home Page Template

    * Description: A Page Template that adds a sidebar to pages

    *

    * @package WordPress

    * @subpackage Twenty_Eleven

    * @since Twenty Eleven 1.0

    */

    get_header(); ?>

    <div id="primary">

    <div id="content" role="main">

    <div id="col-wrapper">

    <div class="home-left">

    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('left_home')) : else : ?>

    <p>Widget Ready</p>

    <p>This left_column is widget ready! Add one in the admin panel.</p>

    <?php endif; ?>

    </div>

    <div class="home-center">

    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('center_home')) : else : ?>

    <p>Widget Ready</p>

    <p>This center_column is widget ready! Add one in the admin panel.</p>

    <?php endif; ?>

    </div>

    <div class="home-right">

    <div id="blue-arrow">

    </div>

    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('right_home')) : else : ?>

    <p>Widget Ready</p>

    <p>This right_column is widget ready! Add one in the admin panel.</p>

    <?php endif; ?>

    </div>

    </div>

    </div><!-- #content -->

    </div><!-- #primary -->

    <?php get_footer(); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic