- This topic has 18 replies, 5 voices, and was last updated 14 years, 6 months ago by
imported_Ryan.
-
AuthorPosts
-
April 26, 2008 at 9:06 am #142
Anonymous
MemberHi, thanks so much for this plugin. I’m working on a site for someone and will send you the link when it goes live. I’m also going to use it in my own blog.
BTW, is there a way to control the order of the dropdown items, like using ID instead of name?
April 26, 2008 at 11:38 am #2592imported_Ryan
MemberGlad you like the plugin.
I hadn’t thought about ordering the pages by ID number. It probably is possible, but off the top of my head I can’t think of how and I don’t have time to look it up right now.
If I don’t post back with an answer in the next week, feel free to bug me about it as I’m certain there is a way to do this and I would consider adding it to a future release.
April 26, 2008 at 11:41 am #2593Anonymous
MemberThanks Ryan… I’ll be sure to bug, I know all about bugs
April 26, 2008 at 12:02 pm #2594imported_Ryan
MemberI’m working on a new version of the plugin with an option to order the various items.
In the mean time, if you would like a custom code, just let me know exactly what you want your displayed in your blog (link to your blog or test blog would be helpful) and I’ll post back some raw PHP you can dump straight into your theme.
April 26, 2008 at 12:03 pm #2595Anonymous
MemberTanx Ryan! My blog is at http://www.fether.net . No rush, but sure, go ahead and send code. Order by ID would be fine.
April 26, 2008 at 12:04 pm #2596imported_Ryan
MemberI haven’t tested this, but I think the following code should do the trick. If it doesn’t work, then let me know and I’ll take a look to see where I went wrong.
[code:3sau9rvt]<ul id="suckerfishnav">
<li><a href="<?php bloginfo(‘url’); ?>">Home</a></li>
<li><a href="">Pages</a>
<ul>’ , wp_list_pages(‘title_li=&sort_column=ID’) , ‘</ul>
</li>
<li><a href="">Categories</a>
<ul>’ , wp_list_categories(‘title_li=&orderby=ID’) , ‘</ul>
</li>
</li><li><a href="">Archives</a>
<ul>’ , wp_get_archives() , ‘</ul>
</li>
<li><a href="">Blogroll</a>
<ul>’ , wp_list_bookmarks(‘title_li=&categorize=0&orderby=ID’) , ‘</ul>
</li>
</ul>[/code:3sau9rvt]Just replace the [code:3sau9rvt]<?php suckerfish(); ?>[/code:3sau9rvt] in your theme with the above code.
April 26, 2008 at 12:06 pm #2597Anonymous
MemberThe first level list items work, but not the second. I think there’s a quote mismatch, i.e., single instead of double, because it shows a literal string of “wp_list_categories…â€
April 26, 2008 at 12:07 pm #2598Anonymous
MemberGot it… the single quotes around the “wp_list…â€
April 26, 2008 at 12:08 pm #2599Anonymous
MemberSorry, I’ll try putting inside code tags.
[code:2ynyhsce]<a href="">Home
PagesCategories
Archives
Blogroll[/code:2ynyhsce]
August 26, 2008 at 7:53 am #2600robm
MemberThanks – just registered to get the search function and sort my problem of ordering!
August 26, 2008 at 1:00 pm #2601malcalevak
ModeratorI just thought I’d share that I believe the following WordPress plugin might do what you want (assuming you want this ordering on your site in general):
http://joelstarnes.co.uk/pagemash.phpI used it on my site since I posted things in an order that meant they didn’t show up nicely, but after I used this it worked great.
Of course if you only need it in the drop downs, having a built in feature would be nice.
August 26, 2008 at 10:46 pm #2602imported_Ryan
MemberI don’t have time to post a full response right now (just taking a break from work).
To post code, place it inside [html][code:n0tr3jzi][/html] bbCode tags like this:
[html][code]
some random html code of some sort ...
[/code:n0tr3jzi][/html]August 27, 2008 at 8:35 am #2603imported_Ryan
MemberHmmm, I just realised the posts above were from April! Sorry for the delay in replying. I must have been busy at the time and your post got lost somewhere in the stack of support questions.
If you still need help with your problem then let me know and I’ll take another look for you.
October 24, 2008 at 2:00 pm #2604peterf
Member1. Did you ever add a feature to order pages by something other than alphabetical? I have a set of pages I want to use as the top level menu choices but in the order: About, Programs, How to Apply, Grant Lists, News, Donors, Resources.
http://www.peterferko.com/ACC_Site
2. Also the 2nd menu choice on the site above as it is now doesn’t allow selection of the sub pages. Can you advise?
Thanks!October 24, 2008 at 2:06 pm #2605peterf
MemberThe same question applies for the second level choices: can I select the order?
Thanks -
AuthorPosts
- You must be logged in to reply to this topic.