WordPress.org

Forums

How to move categories from footer to sidebar? (5 posts)

  1. Sulis
    Member
    Posted 6 years ago #

    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!

  2. peiqinglong
    Member
    Posted 6 years ago #

    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.

  3. Sulis
    Member
    Posted 6 years ago #

    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!

  4. Sulis
    Member
    Posted 6 years ago #

    Problem resolved!

  5. mardybum90
    Member
    Posted 6 years ago #

    thx

Topic Closed

This topic has been closed to new replies.

About this Topic