• Resolved asecondforever

    (@asecondforever)


    I’m using the Fasttrack theme and have been able to make some tweaks to the sidebar, but can’t figure out how to move “Categories” and “Pages” above “Links.” (Links appear to be in index.php, while the other items are in sidebar.php, with nothing clearly referencing their positioning in style.css – though I could easily be wrong.) I guess I’m not clear on what in the code determines their positions relative to one another. Here’s the test blog where I’m trying to figure it out:

    https://smalltownproject.org/wptest/wordpress/

    I haven’t found anything on this in the codex. Is it there somewhere? I’m a total novice at this so explaining any procedure like your talking to a 5 year old could be a good idea. ?? Thoughts?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I haven’t seen the source code for the theme, but you say that Links appear in index.php and others in sidebar.php, then you may have to do more detailed editting.

    You will need to move the code for Links into the sidebar.php from index.php where you need them to appear.

    I’ve just looked at the theme and was able to move Page and category listings above the links just by taking this in index.php:

    <?php get_sidebar(); ?>

    and moving it above:

    <h2><?php _e('Links'); ?></h2>
    <ul><?php get_links('-1', '<li>', '</li>', ' '); ?></ul>

    Another option is to move the two Links lines into sidebar.php where you want them to display in the sidebar.

    Thread Starter asecondforever

    (@asecondforever)

    Ah… Thanks Kafkaesqui and Ajay. Kafkaesqui, that’s simpler than I had expected, but makes sense now that I see it! I’ll get on that shortly.

    Thread Starter asecondforever

    (@asecondforever)

    Worked like a charm! Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How can I move “pages” and “categories” above “links”?’ is closed to new replies.