• #

    I want to change the order the menu appears on the right side bar: https://www.casareggaeton.com

    Currently:

    Recent Entries
    Radio Reggaeton
    Dona Ahora! Ayuda

    I would like to re-position to:

    Radio Reggaeton
    Dona Ahora! Ayuda
    Recent Entries

    I’m able to see the location of Recent Entries, but not the others. I’m looking at r_sidebar.php:
    <h2>Recent Entries</h2>

    <?php query_posts(‘showposts=5’); ?>
    * <?php if (have_posts()) : while (have_posts()) : the_post(); ?> “><?php the_title() ?><span class=”recent_date”><?php the_time(‘n.j’) ?></span>

    <?php endwhile; endif; ?>
    * /archives” title=”Visit the archives!”>Visit the archives for more!

    <?php if (function_exists(‘get_flickrrss’)) { ?>
    <li class=”widget”>
    <h2><span class=”flickr_blue”>Flick</span><span class=”flickr_pink”>r</span></h2>
    <ul class=”flickr_stream”>
    <?php get_flickrrss(); ?>

    <?php } ?>
    <?php get_links_list(‘id’); ?>
    <?php endif; ?>

    Where are:?
    Radio Reggaeton
    Dona Ahora! Ayuda

    thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Both of those are displayed by your get_links_list('id'); statement. The ‘id’ is what it’s sorting by.

    Change the ‘id’ to ‘name’ to have it put them in alphabetical order.

    Thread Starter cocotu

    (@cocotu)

    so you mean to replace ‘id’ with ‘name’ and I should be able to move things around? I’m trying it right now….

    Thread Starter cocotu

    (@cocotu)

    I don’t quite understand Otto42. I made the change and still same results. thanks

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    No, you can’t just “move things around”. That will change the sort order of those two things.

    If you sort by name, then “Radio Reggaeton” comes after “Dona Ahora! Ayuda”. D before R.

    You cannot manually sort them into any order you want.

    Thread Starter cocotu

    (@cocotu)

    this is the order I want:

    Radio Reggaeton
    Dona Ahora! Ayuda
    Recent Entries

    I made that change shown in bold below and still nothing:
    <div id=”sidebar”>
    <ul class=”sidebar_list”>
    <?php if (!function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(2)) : ?>
    <li class=”widget”>
    <h2>Search It!</h2>
    <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>

    <li class=”widget”>
    <h2>Recent Entries</h2>

    <?php if (function_exists(‘get_flickrrss’)) { ?>
    <li class=”widget”>
    <h2><span class=”flickr_blue”>Flick</span><span class=”flickr_pink”>r</span></h2>
    <ul class=”flickr_stream”>
    <?php get_flickrrss(); ?>

    <?php } ?>
    <?php get_links_list(‘name‘); ?>
    <?php endif; ?>

    </div>

    Thanks Otto42.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Ah, you wanted to put them above the recent entries.

    Well, in that case, just move the <?php get_links_list('id'); ?> up above the <h2>Recent Entries</h2>.

    Thread Starter cocotu

    (@cocotu)

    thanks, that is all I wanted! it works.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to change the order of items at r_sidebar’ is closed to new replies.