Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

Changing category order in category menu bar, not in sidebar cat. list


  #1  
Old Apr 9, 2009, 01:40 PM
paulae's Avatar
paulae
 
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  
Old Apr 9, 2009, 02:40 PM
Shepherd Jim's Avatar
Shepherd Jim
 
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  
Old Apr 9, 2009, 02:56 PM
paulae's Avatar
paulae
 
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  
Old Apr 10, 2009, 08:03 PM
Flynn's Avatar
Flynn
 
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  
Old Apr 11, 2009, 11:47 AM
paulae's Avatar
paulae
 
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  
Old Apr 11, 2009, 11:13 PM
Flynn's Avatar
Flynn
 
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  
Old Apr 12, 2009, 06:29 AM
paulae's Avatar
paulae
 
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  
Old May 20, 2010, 03:02 PM
alfie
 
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  
Old May 24, 2010, 06:58 AM
juggledad's Avatar
juggledad
 
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  
Old May 24, 2010, 07:07 AM
paulae's Avatar
paulae
 
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  
Old May 24, 2010, 08:52 AM
Shepherd Jim's Avatar
Shepherd Jim
 
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  
Old Mar 27, 2011, 04:36 PM
firstgentrekkie
 
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  
Old Mar 27, 2011, 06:08 PM
juggledad's Avatar
juggledad
 
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  
Old Mar 30, 2011, 06:36 PM
firstgentrekkie
 
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?

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Changing order of page menu bar ofpeb Page & Category Menu Bars 13 Jan 5, 2012 11:07 PM
[SOLVED] Is it possible to order the items in the sub-level of the category bar? jankph Page & Category Menu Bars 3 Jul 11, 2009 09:23 PM
Show Child Category In Category Menu Bar? mwsmedia Page & Category Menu Bars 1 Jun 29, 2009 06:06 AM
Sorting order of Category Menu Bar joris Page & Category Menu Bars 10 Apr 5, 2009 01:14 PM
Invert sort order in category menu bar? eriksjos Page & Category Menu Bars 2 Jan 20, 2009 01:43 PM


All times are GMT -6. The time now is 06:23 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.