|
#1
Apr 9, 2009, 01:40 PM
|
|
|
|
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
|
|
So far, I have not found a way to re-order the categories in the category menu bar. It's possible in the sidebars, but I don't even care about having the categories there. I have too much other content there already.
Has anyone found a way to do this? It seems that WP keeps the categories in the order in which they were first created. I want them in order of importance and/or popularity, decided by me, not the system.
|
#2
Apr 9, 2009, 02:40 PM
|
|
|
|
301 posts · Feb 2009
Bristol, midcoast Maine USA
|
|
Wow! Ouch! I thought I'd have an easy answer for you; expecting that categories in their menu bar would be treated just the same as pages are in their's. On the Page Menu Bar you can set the sort to key on an arbritary "order no." that you set (and can later RE-set if needs be) for each page.
Apparently, with ordering the categories you're stuck with either order of creation, alphabetic by name or by the "number of posts." That last choice is "close" to your "importance and/or popularity", but you don't determine the ratings and they might fluctuate over time. Sort of disconcerting for your users to have navigation elements moving around periodically.
|
#3
Apr 9, 2009, 02:56 PM
|
|
|
|
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
|
|
Right. I think it's weird that you can't treat the cats the same as pages in the menu bars. Various plugins let you re-order the lists in the sidebars, but they don't work for the menu bars.
I'm sure there must be a way!
|
#4
Apr 10, 2009, 08:03 PM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
You could install this plugin http://wordpress.org/extend/plugins/my-category-order/
and to the bottom of Atahualpa's functions.php add, without causing blank lines or spaces
PHP Code:
<?php // add new order type "order" to wp_list_categories function bfa_new_wp_list_categories($string) { return wp_list_categories('order=order&title_li='); } add_filter('wp_list_categories', 'bfa_new_wp_list_categories'); ?>
|
#5
Apr 11, 2009, 11:47 AM
|
|
|
|
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
|
|
Wow, Flynn. I did exactly as you said, and my site was disabled. First I got a blank white screen while in admin, then when I clicked on my bookmark for the front page, I got just a bit of the top blue header, and nothing. Just the spinning rainbow. I couldn't even get back into admin to edit functions.php, so I did it via FTP. Whew.
I wish somebody would create a plugin that would do what I want.
Or can you build this into the next version of the theme? It should be possible to order the cat and page menu bars as desired.
|
#6
Apr 11, 2009, 11:13 PM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
Sorry for that, Paula. The plugin mentioned to add the "order" option to wp_list_categories even though I did not try it out.
I'd like to get my to-do list shorter before I add new things.
|
#7
Apr 12, 2009, 06:29 AM
|
|
|
|
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
|
|
OK, I added your code again, and this time put it in the right place. You said "at the bottom," but you didn't mean all the way at the bottom.
I reactivated the plugin and tried to change the order. Nothing changed.
The plugin seems to want to work only in sidebars.
EDIT: Woops. This time, adding the code didn't break the whole site, but when I went to theme options, nothing worked there. It's OK now, but I'm not messing with this again.
Last edited by paulae; Apr 12, 2009 at 06:41 AM.
|
#8
May 20, 2010, 03:02 PM
|
|
|
74 posts · Apr 2010
Long Island NY
|
|
It is now May 10, 2010 more than a year later I am having similiar problems trying to use the plugin "category order". I downloaded category order, attempted to change the order and nothing happens when I return to the Web Page? I would like to limit the number of categories on Bar2 (Atahualpa 3.4.6) WP 2.9.1
I tried the ATO count option and it doesn't seem to limit the number of bar2 categories.
Has anything changed within the past year. Any feedback would be appreciated.
Alfie
|
#9
May 24, 2010, 06:58 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Try switching to the default theme and see if it works or not. If it still doen't work, contact the plugin author
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#10
May 24, 2010, 07:07 AM
|
|
|
|
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
|
|
I'd like to add that in Wordpress 3.0, which I'm beta-testing, you'll have much more control over menus. I hope Flynn will include native support in Atahualpa for the new custom menu function, so it will work in the menu bars as well as in the sidebar. Right now, you have to use the sidebar menu widget.
|
#11
May 24, 2010, 08:52 AM
|
|
|
|
301 posts · Feb 2009
Bristol, midcoast Maine USA
|
|
Quote:
Originally Posted by paulae
I'd like to add that in WordPress 3.0, which I'm beta-testing, you'll have much more control over menus. I hope Flynn will include native support in Atahualpa for the new custom menu function, so it will work in the menu bars as well as in the sidebar. Right now, you have to use the sidebar menu widget.
|
Ah HA! I had a feeling that the "coming-soon" WP 3.0's menu changes might not play well with ATA's menu bar.
Now, if one updates to WP 3.0 when the time comes, BUT does not "activate" any of the new WP "Woo Menu" functions, will all be okay? Or, will the current ATA menu bar crash under WP 3.0 and we should wait for Flynn to adjust ATA before trying 3.0?
Jim
__________________
i wish i knew then what i know now
|
#12
Mar 27, 2011, 04:36 PM
|
|
|
5 posts · Mar 2011
New England
|
|
Is it possible to edit the category IDs in the MySQL database and control their ordering in the %cat menu bar that way? Or does it totally mess up the posts? Has anyone tried this? Control of the category menu would be #1 on my wish list.
|
#13
Mar 27, 2011, 06:08 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
YES and NO - is it possible, certainly but you better be very careful and know what you are doing because there are three tables involved. If you really want to do it, then dig into the explanations at WordPress.org and make sure to have a database backup before you start.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#14
Mar 30, 2011, 06:36 PM
|
|
|
5 posts · Mar 2011
New England
|
|
Thank you! I may try it some day when I'm feeling brave. Three tables is a lot to juggle.
I donated several days ago, but it hasn't bee reflected in my profile yet. Is that just a matter of someone checking the emails from paypal?
|
|