WordPress.org

Ready to get started?Download WordPress

Forums

EXACT same coding, shows differently when in new template (2 posts)

  1. mpmacken
    Member
    Posted 2 years ago #

    I can't figure this out. I'm trying to create a page template for "team pages" that has three sidebars. When I select the "sidebar template" for the page, it has three sidebars, however, when I copy the exact code from the sidebar-page.php and paste to a new php called "team pages" it goes to two sidebars? How is that even possible, since it's the exact same coding? Thanks for help!

    Oh, here's page: http://velocityvolleyballclub.org/14s-regional-coach-megan/

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    I don't know exactly for the NomNom theme, but for the parent theme Twenty Eleven, the body_class output for page templates with sidebar needs to be corrected in functions.php.

    see an example for a Twenty Eleven child theme in my post:
    http://www.transformationpowertools.com/wordpress/twenty-eleven-new-page-template-with-sidebar-correction

Topic Closed

This topic has been closed to new replies.

About this Topic