The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Twenty Twelve
Call sidebar-4 on front-page template (3 posts)

  1. Powerful1
    Posted 3 years ago #

    I created a sidebar with the id "sidebar-4" so I could call it on the front page template.

    I wanted to call it to the right side. It isn't as easy as just placing the php line in the original code.

    Would anyone who has done this/knows how to do this, care to share?

    Thankss ya'll


  2. Michael
    Forum Moderator
    Posted 3 years ago #

    call it to the right side

    does this mean you want to have the sidebar there like it is in the single posts for instance?

    can you post all your new codes?

    can you post a link of what you have so far?

  3. Powerful1
    Posted 3 years ago #

    Thanks alchymyth.

    I was trying to create a template that sort of merges the sidebar like on the single posts with the front page template so that there is a footer.

    I was hoping it was a simple merging of code so it closes like this:

    <?php get_sidebar( 'front' ); ?>
    <?php get_sidebar( 'sidebar-4' ); ?>
    <?php get_footer(); ?>

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic