Metro Homepage Areas for every page

Community Forums Forums Design Tips and Tricks Metro Homepage Areas for every page

This topic is: resolved

This topic contains 3 replies, has 2 voices, and was last updated by  theorganicbird 1 year, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #51883

    theorganicbird
    Participant
    Post count: 4

    Hi, I want to have the Metro homepage widget areas (specifically the home-middle-left and home-middle-right) on every page so that I can use the Dynamic Widgets to showcase different categories on different pages, but have the look & layout stay the same as the homepage.

    What’s the best way to add those widget areas to all of the pages instead of just the home page?

    http://www.therochesteriat.com
    #51893

    braddalton
    Participant
    Post count: 10357

    Put them into a custom function in your child themes functions.php file with a conditional tag so they display site wide excluding the home page. [php]!is_home()[/php]

    Use the same classes so you won’t need to add any CSS code.


    #51918

    braddalton
    Participant
    Post count: 10357

    This is something like what the code would look like which might need modifying:

    https://gist.github.com/braddalton/6057726


    #52176

    theorganicbird
    Participant
    Post count: 4

    This totally solved my problem!! Thank you SO much!!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.