• Hello Most Excellent WordPressers:
    I’ve been through SEVERAL listed documents (wiki, moose, etc.) explaining how to modify the default design template. However, after much mucking around, I still cannot get the CATEGORIES header to display above the LINKS header. CSS is a government organization to me.
    Is it just a matter of copy-and-pasting something above something else, or do I have to re-nest stuff? Details would be most helpful.
    Thanks ahead of time!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Could you give us a link ? Or use the “crayon experiment” default install here ( https://www.mfr.f2s.com/1css/ ) to describe it ?
    If it’s to move the blue categories section above the patterned links section, then just switch those two around in index.php

    You need to edit index.php to get this done.
    In particular, find and swap the sections that say anything about Categories and Links.
    They should be within <li id=”something”>
    and

    links…
    Tinker around with the menu section of index.php and soon you will get it to work. It is a logical system, so you will see through it soon, and it will be fun ??

    This is straight cut and paste in index.php.

    Thread Starter Anonymous

    Thanks guys! (gals?)
    This is such a friendly bunch of folks.

    ha! not just a friendly bunch, also a system that works because lots of questions-answers can indeed be found in here. hm. although i was just about to shout again, lol, when i figured, let’s type in ‘categories before links’, so, good for me someone asked the exact question.
    oh, but now i gotto find out where to swap, hehe. anyway, this is fun. and this is certainly one of the best support forums i ever came across. i’m impressed ??

    Welcome Mizar5 ??

    Ask if you need to !

    hey Podz, i had no time yesterday to dive into it. will try again today. fact is, i would like the headers changed, starting with ‘search’, then ‘categories’ and then ‘links’ and then ‘musicians’ etc etc. i did change stuff around, but it wasn’t ok. i’ll look at the examples etc first. but all of this will have to wait an hour, so i’ll be back then and try again. if i fail, i’ll ask ??

    well, i’m back. and i just don’t see where to cut & paste what, alas, in the index.php
    so if someone could assist, that would be great and appreciated ??

    Are you using 1.2.x or one of the 1.5 betas?

    In 1.2.x, open the index.php file with your favorite text editor and search for

    <div id="menu">

    This is where your sidebar menu code begins. Looking through the subsequent code, you’ll find:

    <li id="categories"><?php _e('Categories:'); ?>
    <ul>
    <?php wp_list_cats(); ?>
    </ul>
    </li>

    as well as:

    <?php get_links_list(); ?>

    Move the one above the other (or into whatever order you want) and that should do it.

    If you’re using one of the betas of 1.5, then make a similar change in the sidebar.php file

    ok!!! thanks, i got 1.2 by the way.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Display categories before links’ is closed to new replies.