• I’m trying to get my pages into a specific order. There’s a mechanism in Manage | Pages that lets me assign an order number to each page, but it doesn’t affect the order on the actual site. I’ve searched the forum, and others who have had this problem have been told to edit their sidebar.php file.

    I have two problems with this: One is that I’m not totally sure that I’ll be using the theme I currently have running – will I have to do it again if I change themes?

    The second is that I can’t find a file called sidebar.php to edit. Is there a new structure? I’m running version 2.0.2

    Thanks in advance!

Viewing 8 replies - 1 through 8 (of 8 total)
  • “will I have to do it again if I change themes?”

    Yes.

    “I can’t find a file called sidebar.php to edit”

    sidebar.php will be located inside wp-content/themes/default/, assuming you are using the default kubrik theme.

    Thread Starter kodiak3000

    (@kodiak3000)

    Ah, well I’m not using that theme. That may be why they won’t reorder…

    Any other ideas how I might do it?

    Well, you could tell us what theme you’re using. Then someone might be able to explain where to find wp_list_pages() in it.

    Kafkaesqui, what??!! You mean your mind reading skills arent up to the task???

    /me runs off to grab the crystal ball and the dousing rod.

    I gave up mind reading for Lent.

    Thread Starter kodiak3000

    (@kodiak3000)

    I’m using Simple Green at the moment, but as I explained, that’s not set in stone, so I need a way to do this that won’t require me to change it every time I try a new theme.

    Thread Starter kodiak3000

    (@kodiak3000)

    Okay, I found that and managed to get the parameters the way I want them, the style is no longer applied – i.e. the pretty link style and hovers are gone, leaving just bare links. I’d like the style the way it was; any idea why changing
    <?php wp_list_pages(); ?>

    to

    <?php wp_list_pages(‘sort_column=menu_order&title_li=’); ?>

    would do that?

    The Meta section has retained the style.

    I’ve just been playing around with this, and found that it’s the &title_li=’ part of the arguement that does this. If I take that out, the style is fine. If I put that in, and take out the other part, the style disappears.

    Thanks.

    I have the same problem (It doesn’t go in any order except alphabetical), but I am using the default theme.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Page order ; can’t find sidebar.php’ is closed to new replies.