trying to change page order
-
Here I’m a total novice putting together a test blog. I have three pages, each with a page number set at the bottom of the screen. No matter what I do, the pages are still listed an alpha order in the sidebar.
I’m not a coder so php solutions won’t work for me (yet).
Thanks,
romers
-
in ‘admin’ ‘pages’ click ‘quickedit’ below the page name, and the give it a number under ‘order’. for each page. that number defines the order the pagesget listed in.
As soon as I log in I’m in the ‘Dashboard’. I see ‘Manage’ ‘Pages’, but no ‘Admin’ or quickedit. I’m using 2.62 as this was what came with my Yahoo small business account.
romersDashboard = Admin
Essentially, just go to edit the page you want to edit and then change the number of the page order. I don’t have a development install of 2.6.2, but the option should be there.
Yep… the box for changing the page order is there. I entered the order number for each individual post. Also deleted browser cache and wp cache. Then reloaded the page. It doesn’t change the order in which the pages are listed in the sidebar.
romersEnsure that you are using
<?php wp_list_pages('sort_column=menu_order'); ?>.Is there possiblly a switch somewhere in one of the screens that allows you to switch from Alpha ordering to ID ordering to numerical ordering — I think I’m missing something here.
romersEnsure that you are using <?php wp_list_pages(‘sort_column=menu_order’); ?>.
But how to do that?? Sorry for my green-ness.
romersDid I get the wrong end of stick? You’re trying to list some pages in a menu in a particular order, yes?
If the page numbers you need to order are at the bottom of your screen, look in footer.php for the
<?php wp_list_pages() ?>function and make sure it is the same (or change it to) the one that esmi posted for you.esmi said: Did I get the wrong end of stick? You’re trying to list some pages in a menu in a particular order, yes?
Yes… the pages titles I’m trying to order are those listed on the main page sidebar under ‘Pages’
romers
In that case, I think sweetangst covered it above.
sweetangst said:
If the page numbers you need to order are at the bottom of your screen, look in footer.php for the <?php wp_list_pages() ?> function and make sure it is the same (or change it to) the one that esmi posted for you.I guess I’m not being clear: I’m trying to order the titles of the pages that are displayed in the sidebar on the main page under ‘Pages’.
Now where to I find ‘footer.php’ I am totally unfamiliar with where anything is. I downloaded my whole blog so’s I can look at and for things, but I’m still confused.
r.
Online: Admin/Appearance/Editor. It’s one of the files in your current theme.
Or, in your local copy on your machine, look in wp-content/themes/theme_name/
Ok… found footer.php for my theme as below:
<hr />
<div id=”footer”>
<!– If you’d like to support WordPress, having the “powered by” link somewhere on your blog is the best way; it’s our only promotion or advertising. –>
<p>
<?php bloginfo(‘name’); ?> is proudly powered by
WordPress“>Entries (RSS)
and “>Comments (RSS).
<!– <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. –>
</p>
</div>
</div><!– Gorgeous design by Michael Heilemann – http://binarybonsai.com/kubrick/ –>
<?php /* “Just what do you think you’re doing Dave?” */ ?><?php wp_footer(); ?>
</body>
</html>Now where to stick
<?php wp_list_pages(‘sort_column=menu_order’); ?> ???r.
OK…. Got it working:
Admin -> Design -> Widgets -> Pages -> edit -> sort by page order
Thanks to all that tried to help. I think I wasn’t clear enough about what I was trying to do in the first place
romers
The topic ‘trying to change page order’ is closed to new replies.