WordPress.org

Support

Support » How-To and Troubleshooting » How to move categories from footer to sidebar?

How to move categories from footer to sidebar?

  • I have finally decided to use the the Flash News Theme on my new site, but I would like to move the Categories and Archives lists from the footer into the sidebar (more like how it is in a regular theme). I have tried to tinker with the code but I can not figure out how to get it to look right.(I am new to this code stuff).

    If someone could have a look at the code and tell me how to do this, I would be very grateful!

    http://frenchtofluency.com/

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m not sure if that theme supports Widgets or not, but if you have to edit code, go to the footer and get the php code for the categories and archives and then open up the sidebar and underneath Flick (or wherever you want to stick it), add this:

    <div class="box2">
    <div class="top"></div>
    <ul class="categories">
    <? php wp_list_categories(); ?>
    </ul>
    </div>

    You’ll have to style it how you want it to look like. Do the same thing for Archives.

    Thanks, I managed to get the archives and categories into the sidebar, but there is only one minor problem left now. The grey footer bar seems to have moved to the left slightly. There should be a white gap on either side like at the right side of the footer bar. I don’t know how to move it back. Can someone help please?

    Thanks!

    Problem resolved!

    thx

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to move categories from footer to sidebar?’ is closed to new replies.
Skip to toolbar