• Hi,

    I managed to turn 2 widgets in the footer into 4 widgets (which i was pretty proud of doing) but i have been having issues with the register sidebar in terms or ordering the widgets how i would like.

    Order from left to right i would like to be
    left-footer
    middle-footer
    middle-right
    right-footer

    This is the existing code in the theme functions

    register_sidebar(array('name'=>'Left Footer','id'=>'left-footer','before_widget' => '<div id="left-footer">','after_widget' => '</div>','before_title' => '<h2>','after_title' => '</h2>',));
    register_sidebar(array('name'=>'Right Footer','id'=>'right-footer','before_widget' => '<div id="right-footer">','after_widget' => '</div>','before_title' => '<h2>','after_title' => '</h2>',));

    As i say, had trouble repeating the code and getting the 2 new widgets in the right order because i don’t understand the code before and after stuff.

    Can someone copy pasta the code i need to put to get it to work in order ??

    this is my test site for the theme if that helps https://www.betonwinnerofbigbrother.co.uk

    I’m not looking forward to trying to get this responsive.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Added Widgets To Footer But Need Themefunction Code Help :-)’ is closed to new replies.