This page is an archive for the older versions of My Category Order. All new comments should be made here.
Gives you manual control over the order of your WordPress post categories by letting you set an explicit order. Works with subcategories too.
If you'd like to say thank you or make a donation please visit my Gifts and Donations page.
Download My Category Order:
- WP 2.5: Now hosted at the WordPress.org Plugin Directory
- WP 2.3.2: mycategoryorder2-3-2.zip
- WP 2.3: mycategoryorder2-3.zip
- WP 2.2: mycategoryorder-2-2.zip
- WP 2.1: mycategoryorder2-1-3.zip
- WP 1.5 & 2.0: mycategoryorder.zip
Updates:
- Update 3/30/2008: For WP 2.5, I've moved all future downloads to the WordPress Plugin directory. This page will stay up as a testament to this plugin's popularity over the past 2 years.
- Update 2/09/2008: Works with 2.3.3, just copy taxonomy.php again.
- Update 1/22/2008: Fixed a bug that cropped up in the 2.3 release. 2.3.2 is the only version where subcategories are working correctly. Also added Exclude and Include options to the widget so you can specify category ID's there to exclude or include. Also cleaning house a little on the page, older comments might disappear.
- Update 9/30/2007: Updated to WP 2.3. The category table got nuked this release so you’ll need to go back and order your categories again.
- Update 6/30/2007: The release you've all been waiting for!!! Built in widget support, hacking the widgets.php file is a thing of the past. HUGE thanks to Tony for the code, much easier to "widgetize" something than I previously thought.
- Update 5/17/2007: Javascript include bug fix, won't mess up the editor now, redownload if you had the previous 2.1.3 version. 2.2 update coming soon but current version should still be compatible. Things are good with 2.2.
- Update 5/12/2007: Made some changes to how categories are differentiated between post and link categories. Now any category with 0 links in it is considered a post category, this allows the use of empty categories for better categorization and still have them show up in the plugin. Thanks for the feedback and testing Marci.
- Update 5/10/2007: Big update! I rewrote the interface and replaced the unfriendly up and down arrows with spiffy new drag and drop ordering. Check it out, definitely worth the upgrade, I've only tested on 2.1.3 but it should work on any 2.1.x install.
- Update 1/22/2007: Updated to WP 2.1, theme template change needed, see update below.
With the success of my first WordPress plugin My Link Order, I got a good number of requests asking for something similar that gave control over the order of post categories instead of link categories. I listened and here it is, My Category Order.
Installation instructions:
- Upload the mycategoryorder.php to /wp-content/plugins/ on your server.
- 2.3 and above: move taxonomy.php to /wp-includes/
- Activate the My Category Order plugin on the Plugins menu.
- Plugin tab appears under the Manage menu, give the categories an initial order.
- WIDGETS: Just drop the "My Category Order" widget in your sidebar that gets installed with the plugin and that’s it!
- Modify sidebar template to use new sort attribute, see below.
Sidebar Modification: If you aren't using widgets then you'll need to change your template to use the new sort parameter, "orderby=order":
wp_list_categories('orderby=order&hierarchical=0&title_li=');
If you have any problems let me know, I am more than happy to help resolve any issues you may have. I'll respond to your comment through email so be sure to put a valid email in. Even if you don't have problems leave a comment or throw a couple bucks to buy some beer.
solved the problem ignore the comment after this one.
Great plugin but the sub-categories disapear .. I tried doing wp_list_cats(‘sort_column=my_order&optioncount=1&hierarchical=0′); to get the sub catergories to be viewed but it all goes back out of order. Any help or Tips???
oh and you may want to fix the name on #3 (instructions)
Activate the My Link Order plugin on the Plugins menu
You’re right, those parameters make it do weird things. I had tested subcategories without the hierarchical parameter and it defaults to true when it is missing. When hierarchical=0 is set, it treats subcategories the same as the top level categories so they get placed wherever they got set to. With the following I get the correct output (except my theme isn’t up to par for displaying subcategories) but it does work:
wp_list_cats(‘sort_column=my_order&optioncount=1&hierarchical=1&hide_empty=0′);
The hierarchical=0 is your problem (assuming you want your subcategories to be displayed under their parent). If you want to be able to put subcategories anywhere in the list then we have a problem. I’d have to look at the code a little more to see if this is possible, but as is, my plugin and subcategories only play nice with hierarchical=1 or omitted.
I tried it (without the hide_empty part) but It’s still playing up and now it’s not showing one of the categories either.
this is my normal code :
wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=0′);
I could always do things the manual way I guess like I did with the Navigation but I guess A-Z will do for now.
I might not have been very clear, but right now my plugin will NOT work with hierarchical=0. My plugin assumes that subcategories will be listed under their parent like when hierarchical=1 or when it is omitted.
I can just put them as main cat’s .. duh that’ll work lol
(Last post lol) Thanks for the plugin .. works a treat. I have all my files in the main category instead of sub categories. It is now active and working on my site :)
Thanks.
Cool glad you got it going.
SWEET plugin!!! Thank you, this is precisely what I needed. Worked perfectly right out of the box, which is well above par for the many, many plugins I’ve installed lately. Excellent job!
Smashing plugin! I really like it, it cleans things up for me quite a bit. Thanks very much! ^_^
Sorry for the double-comment, I just had something occur to me. I’d like to make the categories bold, as a way to further set them apart from the indented subcategories, but I have no idea how to go about doing this. I took a look at the files included, but I know nothing about how plugins work, and I’d likely muck it up something horrible. Thanks a million for your time, and thanks much again for making such a nifty mod!
Love this plug-in!
Question:
Why do I loose the number of posts to a catagory when activating this plug-in? How do I keep that information?
Thanks,
Robert
Sorry but this is my normal code :
wp_list_cats(‘list=0′);
and if i write your code it givs me the text:
Parse error: parse error, unexpected ‘=’ in /web/htdocs/www.jodesign.eu/home/wp-content/themes/jodesign/sidebar.php on line 13
What can I do?
Thank, Jo
Robert,
There are different options you can turn on when you call the function to display the categories in your template’s sidebar file. Should be something like ‘sidebar.php’ in your template folder. In there find where the function wp_list_cats is listed. You need the optioncount=1 option. The below statement will display categories in the order you specify and display the post count.
wp_list_cats(’sort_column=my_order&optioncount=1′);
I use WP 2.03 with the semiologic theme/CMS.
The following appears in the sidebar-ext.php (not sidebar.php) file:
[code][/code]
I changed it to:
[code][/code]
But I can’t get it to work. Any ideas?
Thanks!
Sorry, the code dissapeared in my previous post :(
Should be:
wp_list_cats(‘sort_column=name&optioncount=0′);
was changed to
wp_list_cats(‘sort_column=my_order&optioncount=1′);
Great plugin, but I’m having trouble with a second level of subcatagories.
If I have more than one level of subcatagories, the next regular category is displayed as a subcategory of the previous regular catetory.
Example:
[My actual categories are...]
Schools
-High Schools
–Whittier High School
Sports
[They are displayed as...]
Schools
-High Schools
–Whittier High School
-Sports
Thanks for whatever help you can provide.
Ed
As a work around to my post #18, I have hidden the second level subcategories in the sidebar.php “list_cats” “exclude” section.
This will work great for me.
Your plugin is great and has saved me a great amount of time and mad my website look a whole lot better.
Thanks again
Ed
Hi
My original code in sidebar.php is
wp_list_cats();
but when I replace with
wp_list_cats(’sort_column=my_order’);
I get following error
Parse error: syntax error, unexpected ‘=’ in
any ideas,
thanks
Paul
Paul,
One other person had this problem and didn’t get anywhere but I do have an idea now. WP replaced my apostrophes with curly single quotes for whatever reason, so if you copy and pasted off the page it could be using the wrong characters. Try replacing the quotes around sort_column=my_order with plain old ‘ apostrophes. If that isn’t it then I might be stumped.
Thanx a lot – at last I found this! I tried so many different – but this is working with Category Visibility-RH (http://ryowebsite.com/?p=46)
the following error appeared when I clicked my category order tab in the manage tab
WordPress database error: [Access denied for user 'yscr_bbNfuP'@'localhost' to database 'blog']
ALTER TABLE wp_categories ADD `cat_my_order` INT( 4 ) NOT NULL DEFAULT ’0′
WordPress database error: [Unknown column 'cat_my_order' in 'order clause']
SELECT * FROM wp_categories WHERE category_parent = 0 ORDER BY cat_my_order ASC
can you help!
Database errors have been rare and this is a first for this particular problem. The problem is that the account that connects to your database does not have enough rights to modify the structure of the database, which my plugin has to do. You will have to get into your database with something like phpMyAdmin (using an account with full access) and make sure that yscr_bbNfuP account has permission to alter the database.
If this is over your head then I’m afraid there isn’t much you can do unless you have a friend who is familiar with databases and can take a look at it for you. If you have any other questions let me know.
Pingback: hjqtjy
Pingback: wuyxkgbs
Thanks for the plug-in — its very useful.
I have a problem though – I’m trying to display an unordered list of categories and subcategories. The plugin seems to be acting strange in relation to my stylesheet … When the plugin is deactivated, my main categories appear in bold with the sub-categories indented beneath them in normal type as I would like to see them. When I activate the plugin only the first main category is bold and everything else acts like sub or sub-sub categories of the first main category … does that make sense?
I’m not sure if its an anomoly in my stylesheet (it was really painful to get it to work the same way for firefox and IE but finally it does) or something odd going on in the plugin -
Hope you can help …
Please disregard/delete my previous comment. Its not this plugin causing the problem – its the category visibilty plugin.
Sorry to bother you!
Thank you very much for this plugin. It worked flawlessly and saved me from the dreadful task of mucking up with the database.
Is it possible for this plugin to get a category-[#].php page to sort in the particular order specified? Or is it just for the sidebar? My client has asked me to have the specific categories sort on the category pages in an explicit order.
Please forgive me if I am missing part of the big picture, I am very new to this.
Thanks.
I’m not using categories and would like the Categories list to disappear entirely from the sidebar. Does your plugin make this possible?
Above: David Woolley
If you don’t need the “Categories” to show up on your blog, you can delete that portion of code from the “sidebar.php” file in the theme you are using.
There should be a category heading – probably a h2 tag that says “categories”. Delete that heading, as well as the list (ul) or list item (li) that holds the Categories. Email me if you have questions.
i DO have an issue with this plugin regarding post count to a category. This is the code that I have:
wp_list_cats (‘sort_column=my_order&optioncount=1′);
But the post count still isn’t showing. I’m on WP 2.0.2. Any help is appreciated.
Got it! Thanks very much. I’m glad to have this new function. Terrific!
This is a great plugin, this should come with wordpress but don’t know why they never thought about it. Thanks!
I don’t know why. I have just upgrade MySQL 4 to 5. After upgraded, I can activate others plugin with no problem.
Only mycategoryorder and mylinkorder have problem. When I activate them,
Every page become blank. Please advice!
Wierd problem…this was working just fine at one time. In admin now, it says
“Table ‘timeless_phpb2.tw_wp_categories’ doesn’t exist”
It seems to be pulling it’s base information about the database name from somewhere, and is looking for a database for phpbb. Where is it looking for this information? All I see in the plugin is $wpdb, which I would think would give an accurate database name. Thanks in advance.
People have had this problem before and my only guess is that it is a conflict with another plugin that is misbehaving and changing the $wpdb object to point to another database. Have you installed any plugins or phpb2 lately?
Andrew
Oh of course….I didn’t think of it, but yes…I installed WPHPBB which uses phpbb for the comments. Ugh. I really need it for this project. As a workaround, I went to my MySQL database and manually numbered the categories in cat_my_order, which worked OK (set my custom query to sort by that field). But ultimately I need this to be fixed. I assume there is a WP file somewhere that is being changed….what file would that be? I will need to alter it back and test to see what breaks. Thanks.
For WPHPBB I wouldn’t know what to change, but you could edit my plugin files to use the correct hardcoded database and table name instead of the $wpdb object. For a while my plugins actually used the hardcoded default names until I got complaints. If you need help changing the database references let me know.
Great idea. I tried it, but I will need a little direction, I guess. I’m getting a sql error, so I must be doing something wrong. It seems the easiest thing would be to make $wrdp = the correct path, but if you’d give me the exact syntax it would help. I’m a php noob. :)
Where should I see the “arrows” or be able to use the keyboard arrows to change the order.
I followed the instructions, but I can’t select and move an existing category and move it.
Cheers,
Steve
P.S. I need help ASAP, so I’ll PayPal you $50 to help me make this work. I am using WP to host an online candidate debate and the categories need to be listed just so.
Oh, I am using WP 2.0.4
Check your email Steven
Thank you thank you thank you!
I’ve been having terrible trouble with the list_cat function, as I’m writing a page in Icelandic and special Icelandic characters won’t alpabetize correctly… so once again: THANK YOU!
Just one question: I’m also having the same problem with sorting my authors… Do you think there is a plugin on the way to sort authors manually? :)
oh..thanks…this plug in was superb !
Hi,
I have installed this as per instructions and have tried to order the categories by using the up and down arrows and when I click on click to order category, nothing happens.
BTW, the graphics for the arrows are not showing up, but I checked the ftp files and the files are all there in the folder. Your help would be great.
Thanks.
Awesome plug-in. Thank you so much for taking the time to put this together. It should be part of the next upgrade package for WP.
in your plugin you use this code to control if there is a column
$query = mysql_query(“SHOW COLUMNS FROM $wpdb->categories LIKE ‘cat_my_order’”) or die(mysql_error());
if (mysql_num_rows($query) == 0) …
—–
but if I want to control if there is
a table, how can do?
is there a link where is explained similar solution for this problem?
can send me an email if you answer here? thanks
it can work under the default themes,but doesn’t support k2,sub-categories don’t under their parent-category in the sidebar,how to do it?
I really want (need) this plugin to work, but I just can’t quite seem to get it to function properly. I have three link categories on my home page (Link Love, Current Projects, Archived Projects) and no matter what I try, they’re always in alphabetical order on my home page. I’ve implemented your custom code, changed the order, clicked “CLICK TO ORDER CATEGORIES” and nothing changes. Help! :-)
can i use this plugin for WP 2.0.5? Well i have tried anyway, but it didn’t work.
also, does “my category order&my link order” work on all kind of templates?
hello,
it doesent work!
i have install right, and if you want to order it witz the keyfiles, the kathegories didnt move!!
HI?
I want to get an answer please!
Guys, please forgive me for being such a dunderhead, because this topic has been discussed over and over in these comments. But I just cannot seem to get the subcategories for Articles By Experts working. Here is the output:
Welcome
Combat Training
Strength Training Days
Articles by Experts
Advanced
Intermediate
Beginner
Nutrition
Diet
Proper Breathing And Exercise
Medicines and Side Effects
Personal Stuff
The D Word
Uncategorized
PodCasts
What I want to see is this:
Welcome
Combat Training
Strength Training Days
Articles by Experts
Advanced
Intermediate
Beginner
Nutrition
Diet
Proper Breathing And Exercise
Medicines and Side Effects
Personal Stuff
The D Word
Uncategorized
PodCasts
I am using wp_list_cats(’sort_column=my_order&optioncount=1&hierarchical=1&hide_empty=0′); as the code to call the categories, but it just ain’t happenin.
Are my expectations outside the capabilities of this awesome plugin?
OOPS, the comment format did not allow for indents. Dang.
Welcome
Combat Training
Strength Training Days
Articles by Experts (indent starts here)
Well, I cannot get it to display like I want. I am sorry for the goofy posts. Bottom line is I want the 3 subcategories of Advanced, Intermediate and Beginner to be indented.
Make sense?
Pingfan and Vegoh, make sure that you are using a basic
in your sidebar.
That is necessary in order to get a basic listing of your categories in the order you want.
If you have subcategories, I will post a message once I get my subs working,
And yeah, I think you are awesome :)
Ayerst,
I’m assuming the categories and subcategories are in the order you set
so I’m pretty sure this is a problem with your theme (display problems
almost always are). I checked out your site and looked at the page and
the HTML being outputted is correct. The problem is your theme’s CSS
does not handle the nested
the subcategories get put into. Try adding the following to your style.css file:
.children {
padding-left: 10px;
}
Let me know how it goes.
Andrew, I will give it a try.
Here is what I did. Let me know if this is what you had in mind.
I added
children {
padding-left: 10px;
}
to my CSS
Then I went into sidebar and added the class to the categories UL like so:
Categories
Then I refreshed the web site and the categories did not change.
I look at the source code, and where you would expect to see a nested UL, you don’t.
Hmmm veddy innerwestink!
And I made sure there was a dot in front of “children” in my css sheet.
Alright I see what is wrong, this should work for sure, put the following code at the bottom of the CSS file, the code that sets the margins and padding to 0px for the lists will override it if it is above it.
ul .children {
padding-left: 10px;
}
Amazing. Simply amazing. I would never in a million years have guessed that something like this would have worked.
Andrew, you are brilliant! I really admire people like you for being able to solve problems like this.
One thing I was wrong about: The nested UL was in fact there all along. I just didnt see it when I looked it the source code. It was hiding in the code all along. Your plugin was working all along. So, the class file makes perfect sense now :) Good solution.
Glad it is displaying how you want now. Little stuff like that usually has a pretty simple solution, it is just a matter of narrowing down the problem and getting the fix in. Be sure to check back for upgrades whenever you update to a new version of WP, especially WP 2.1 since my plugins as they are will break. I’ve got new versions lined up and will hopefully get some more improvements into them.
OK Andrew. I use 2.05 WP at the moment.
Andrew, mind if I pick your ample brain for some ideas regarding traffic?
I know blogs are all the rage, but what makes some blogs more popular than others? I love my blogs (The fitness one in particular) but I am not sure how to drive traffic to it. And I want to drive traffic to it because I want to make it appealing to sponsors (email me at webmaster at totoalphysiqueonline dot com and I will fill you in on what I am trying to do. Maybe you might have some suggestions on how I could achieve my goal.
Thanks
I also use ichat and yahoo messenger. spudnutsncoffee is my handle for both of those.
I’m back, with more DB issues. For some reason, I am now getting the following error message when I click on My Category Order in the menu. “You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘->categories LIKE ‘cat_my_order” at line 1″
I used to at least get the main page. Any help?
This is the query that is bombing out:
SHOW COLUMNS FROM $wpdb->categories LIKE ‘cat_my_order’
There’s 2 things that lead me to think this is a bigger WP problem, one is I’ve never had anyone report this problem and two it looks like the WP database class is malfunctioning. The first part of the code it lists in the error “->” means $wpdb->categories isn’t being translated into the table name like it is suppose to. I really have no clue what would cause this, have you upgraded WP or any other changes to your install recently?
Hi i realy like your work, but on my sidebar i have the following:
when i insert your :wp_list_cats(’sort_column=my_order&hide_empty=0′);
i can see my categories, the plugin is activates and i have arrange the sort of my categories!
could anyone help me solve this one.
Hi again on my sidebar i have the following:
i download the sidebar and work on dreamweaver but when i upload the file the categories doesn;t show up?
Any way i just solve it by myself thanks anyway…. keep up the good work.
thank u so much.!
Paul O Mahony ===>>>>
code:
wp_list_cats(“sort_column=my_order”);
hi i just upload and activated the plugin i change on sidebar.php my list_cats
on my website i have the following
i change multiple times but when i change the sidebar i cant see any of my categories just the links.
Very nice plugin, I was looking exactly like somthing like that
Thanks a bunch!
Do we know if “My Category Order” is compatible with WordPress 2.1 yet?
I have updated My Category Order for 2.1, but just haven’t posted up the new version yet. I’ll make the 2.1 version available soon so you and others can get a jump on the upcoming release.
Hey Andrew,
Thanks for the update. I’m having a tiny prob with it (or rather my ability to use code lol.)
This is what I had before the update when everything appeared fine:
Register'); ?>
Recent Posts
',''); ?>
Categories'); ?>
Archives'); ?>
My prob is that things like “We Support:” is showing up in there (Left sidebar.) “We support:” was a link category in the right sidebar only.
Any idea how I can fix this?
Thanks bunches,
Lace
ps you can see my site at memorylaneproducts.com
darn…
** Categories’); ?>
**
oh good grief! Do I get an “A” for effort yet?! :D
You can see what I had up before here: http://wordpress.org/support/topic/101790?replies=1#post-502982
L
wp_list_categories(‘orderby=order&hide_empty=0&title_li=’);
change didn’t fix it. Any more suggestions?
L
Hi Andy.
I am trying your new plugin for WP2.1 and I am using
wp_list_cats(‘sort_column=my_order&optioncount=1&hierarchical=1&hide_empty=0′);
What is happening is strange.
Categories are not only being displayed out of order, but all my blogroll links are being displayed along with the categories!
Whats going on?
OK, now I am using :
wp_list_categorieswp_list_categories(’orderby=order&optioncount=1&hierarchical=0&title_li=Categories’);
as per your suggestion at the top of the page. I must have been using the wrong code. The blogroll is gone from categories, however my subcategories are gone.
Any suggestions?
Hi!
i have a diferent the and I have this function to lis categories:
What do I have to change, because I installed your awesome plugin and doesn´t affect the category orders I want.
Best!!
Hi Andrew,
I have a question regarding what needs to be done to use this plugin with WordPress 2.1. When you say:
you now must use the following function… :
wp_list_categories(’orderby=order&optioncount=1&hierarchical=0&title_li=Categories’);
Does that mean the code should be inserted in my site’s functions.php doc? Or is this line to be inserted in the template that lists my categories (in my case the header, not the sidebar)?
Thanks for the great plugin!
In your case it would be your header template. Your function call might not match the examples I have given, you really only need the ‘orderby=order’ for it to work. If you have any trouble with it, copy and paste your template to me and I’ll take a look.
I am using wordpress 2.1
but I think my theme is a little older
I have this as my category code in my side bar
What code would help me out so it works correctly I did it once but it seemed to shift my blog to the right, so I must have blown it, could you help me out? Thanks
I am using wordpress 2.1
but I think my theme is a little older
I have this as my category code in my side bar
What code would help me out so it works correctly I did it once but it seemed to shift my blog to the right, so I must have blown it, could you help me out? Thanks
Hmmm cant seem to write out the code in the comment its ? php wp_list_cats (”); ? >
You didn’t do anything wrong, the HTML that the function outputs by default is probably different than what you had before. Send me a link to your blog and I’ll look at the HTML and get you the correct function call you need. froman118 @ gmail.com
Hey there,
Is there any reason that this plugin wouldn’t work with the ‘dropdown_cats()’ function?
Cheers,
Dalton
If you are on 2.1 that function has been deprecated and replaced with wp_dropdown_categories(); The documentation hasn’t been added for it yet but I will look at the function this weekend and get you the exact function call you’ll need to get it to work with my plugin.
This man is fantastic! He’s got the only working plug-in compatible with WP 2.1 that can reorder categories AFAIK. Simple to use. Goddamn useful. I’ve nothing but praise for this guy.
Keep up the fabulous work!
dalton,
The new dropdown function has pretty much the same arguments as the regular one that outputs the list, replace the old function call with the following:
< ?php wp_dropdown_categories('orderby=order'); ?>
That should be all you need to do.
I believe your latest release (as of 2/16) has a missing bracket somewhere. I get an error on the plugins management page after activating.
Not sure what would be going wrong, nobody has ever had a problem like this and I re-installed the plugin right now and it is working fine. Try downloading again and replacing mycategoryorder.php and if it is still giving an error, send me the error so I can try an narrow it down.
Hi
I love this program, but it doesnt save the order in the published view, only in my control panel view.
I can re-order fine and it stays the order I want, but when I look at the published view it displays in the old order it was in origionally.
Hey.
thanks for the plugin. it is just what i was looking for.
i have a problem using it though.
i get:
WordPress database error: [Unknown column 'cat_my_order' in 'order clause']
SELECT cat_ID, cat_name, category_nicename, category_description, category_parent, category_count FROM wp_categories WHERE cat_ID > 0 ORDER BY cat_my_order asc
i am using 2.0.7.
also, is it possible to get it to work with this plugin? that would be amazing!
http://watershedstudio.com/portfolio/software/wp-category-posts.html
thanks.
1. Extract zipped mycategoryorder folder
2. Upload the mycategoryorder folder to /wp-content/plugins/ on your server.
3. Activate the My Category Order plugin on the Plugins menu.
4. Plugin tab appears under the Manage menu, give the categories an initial order.
5. Modify sidebar template to use new sort attribute, see below.
**********************************
I use 2.1 version and Tiga template.
1-2-3 ok: in “Plugin management” I can see “My category order”.
4. : In “Manage –> Categories”, I can see: ID Name Description Posts Links Action, but I can not see “Plugin tab”… what’s wrong in me?
Thank’s
Nothing for php the_category inside a post? I need it there.
I need a plugin that orders categories under a post, like in the loop or whatever; on index or single page, not just sidebar. Can you do that?
Hi!
This is nice..thanks! Maybe you can help me! Is there any way i can make it no to be seen by other users. I mean…when they log in to my blog as “authors”, in options they can change the order if they wish! I wan’t that to be allowed only to me…
Have you tested your plugins in WordPress MU yet?
hi nice site.
in response to item 105. We just moved to MU and the most recent version of the plugin (2.1) seems to work fine.
I’ve been using this plugin for a long time, and just upgraded. I never really resolved the problems reported earlier, but still used the cat_my_order field to manually manage my order. I’d really like it to be handled in Admin….so I downloaded the latest, and gave it a shot. Overall it is working but…any idea why I would only be seeing 4 categories and 0 subcategories, when I have probably 50 of each? :)
Hi,
when activating the plugin i get the following erreor message in WP 2.0.4
Fatal error: Call to undefined function: wp_enqueue_script() in /debjqgaw/www.de-brand.net/blog/wp-content/plugins/mycategoryorder/mycategoryorder.php on line 20Any idea?
ciao
>
I have a similar problem as the following comment:
#
99. Marco | February 22nd, 2007 at 9:37 am
I can re-order fine and it stays the order I want, but when I look at the published view it displays in the old order it was in origionally.
I’m using 2.1.3
It’s not working well with the latest WP 2.2, once the plugin’s been actived, the rich text editor will not be working when writing a blog in the Admin panel.
Is there anyway to make this plugin compatible with widgets? I am using widgets (like everyone will be using with wordpress V2.2) and I can’t figure out how to incorporate this with them.
I feel almost ashamed, tried every combination I could find and/or think of, but I can’t get this awesome plugin to work.
The page order works fine!
Maybe someone can have a look?
Thanks
http://uitenthuis.doenenlaten.net
I am having trouble getting the post count to display.
My code is:
wp_list_categories(‘orderby=order&optioncount=1&hide_empty=1&hierarchical=0&title_li=The Goats’)
Everything else works great.
Thank you
hi. so glad to find your plugin – however, i’m using wp 2.2 and this is the line that appear in the sidebar (which is widgetized by the way):
should i replace with the code you mention above for 2.1?:
wp_list_categories(’orderby=order&optioncount=1&hierarchical=0&title_li=Categories’);
hi again. thanks for the response about replacing
with
parse errors though…suggestions
(I’m hoping this will post all my code this time…your system omitted a line of code in the last post fyi)
hi again. thanks for the response about replacing
with
in the wp-includes/widgets.php file
parse errors though…suggestions
(I’m hoping this will post all my code this time…your system omitted a line of code in the last post fyi)
My theme uses a drop down to display categories. The sidebar cose looks like this:
“” method=”get”>
”
Can I add or change anything here to make of your plugin as it is ignored (though works fine in the admin)
Thanks
I’ll try that again
” method=”get”>
If this messes up then just know it’s a ?php dropdown_cats();?
Hi,
thank you for your order-by-categorys plugin.
Unfortunately it does not work. We use the WP Template Dialogue Avenue III (Widget-ready) 03.10 (de, en) by Mark Dynét.
unfortunately, the code is:
Kategorien’); ?>
I can now change the list_categories code as written above, but it does not work, because the dynamic_sidebar is overwriting it.
Is there a possibility to use your plug-in?
Thank you and many greetings,
Angela
hi all.
This plugin does not works for wp 2.2
You’ll have to be more specific about the problem you are having. Many others and myself are running the plugin on 2.2. Is the plugin page throwing an error, are your settings not being saved, is the order not displaying correctly in your theme? The last is the most common problem so please check your sidebar template or send me a copy of the file if you don’t feel comfortable making changes to it.
Hallo Andrew,
at this url:
schaun-ma-mal.de/blog
you can find a test blog and under:
http://www.schaun-ma-mal.de/sidebar.txt you can see the sourcecode.
Now I want to change for example the oder of word and Excel.
Thank you and many greetings,
Angela
In wp-includes/widgets.php you have to replace the call
wp_list_categories($cat_args . ‘&title_li=’);
(line 643) with
wp_list_categories(‘orderby=order&optioncount=1&hierarchical=0&title_li=Categories’);
This should work for WordPress 2.2.1 with widgets! :-)
Thanks for this good plugin!
sorry. of course without the title “Categories”
Sven
Hello Sven,
thank you for your helb, but:
I changed line 609 from
wp_list_categories($cat_args . ‘&title_li=’);
into
Unfortunately, it does not work.
Any ideas, how I could get these *** categories ordered?
Thank you and many greetings,
Angela
oups- there was some code missing.
I´ll try again.
ok- the missing code is:
wp_list_categories('orderby=order&optioncount=1&hierarchical=0&title_li=');
So, hoping the code is now allright,
Angela
Hi, your plugin sounds great, but after I copy it into my plugins folder, it doesn’t show up under the ‘Plugins’ menu so I can’t activate it. Any ideas what is going wrong?
Thanks!
User: The only thing I can think of is it doesn’t have read permissions set, you’ll need to CHMOD it to 744. You can usually do that through your FTP program.
Looks like the issue resolved itself. Everything looks great, thanks for the excellent plugin. :)
Glad to contribute to such a great plugin! Thanks!
I cannot plugin
I’m using WP 2.2 and get this error message…
WordPress database error: [Unknown column 'cat_order' in 'order clause']SELECT * FROM wp_categories WHERE cat_ID > 0 ORDER BY cat_order ASC
oops, nevermind. forgot to organize at least one thing before anything. excellent plugin!.
I am a newbie and very ignorant of php. My question is whether we can exclude certain categories with this plugin. My situation is that I have a long list of categories. Among categories i have are names of authors of articles. I would like to have a box in the side bar to list all these or some of the authors. I also have categories like politics, sports, business etc. which I want to put in another box.
Eventhough this plugin is great, if it can help us to add boxex of selected categories, it would be perfect.
thank you
Philip
Hello and thx for this very cool plugin i was using category order before and switched to your plugin because drag and drop is so usefull but there were an option on the previous one that i d like to see on yours : the option to let a mother category appears without the sub category untill you click on the mother category link.
Is it possible ?
Nice piece of code – very useful
HI !
I use the 2.2.1 version with french translation. I am not able to move order of categories with : mycategoryorder-2-2. (the plugin interface is OK).
I put the categories instead of pages in the header.php :
Hi Andrew–
First, thanks for the great plugin! I need a little guidance, my categories and their sub-categories are not displaying in the correct order and some are not showing up at all.
This is how the order should be:
Age
Infant
Toddler
Preschool
5-7
8-11
12 and up
For Moms Only!
Price
$250
Type of Gift
Toys
Imaginative Play
Construction Sets
Crafts & Hobbies
Games & Puzzles
Educational
Electronics
Books & Magazines
Movies & Music
Clothing & Accessories
Furniture & Room Decor
Outdoor & Sporting Goods
Travel & Experiential
Age, Price and Type of Gift are the main categories.
This is the code I have in my sidebar.php:
I’m kind of stuck, so I hope you can help.
thanks so much!
Let me try the sidebar code again:
Hopefully, that will show up!
thanks!
Hi there – I just wanted to say a huge thank you for this plugin. I’ve just installed it on a fresh WordPress 2.2.1 install and it’s working perfectly straight out of the box. An excellent bit of work. Thank you.
I have wordpress 2.04 and need the category order updated because the current version does not have the up and down arrows, etc. like the newer versions do.
Please provide updated version
I seem to be having the same trouble as David (#110) above – everything looks fine in the backend, but when I go to the front page, it displays the categories in alphabetical order. I’m using 2.12. Any thoughts?
add wp_list_categories(’orderby=order&optioncount=1&hierarchical=0&title_li=Categories’);
Yes, but where ?
thanks!
Pugin looks great, unfortunately I can’t get it to work in the sidebar.
I’m running WP version 2.0.10 with widgets.
No mycategoryorder widget was uploaded with the plugin.
What code do I manually need to enter into the widget please?
Many thanks.
Ignore comment #146 – I’ve now got the plugin to work!
Fantastic plugin, just what I’ve been looking for.
Many thanks.
HI – this is a very good plugin however when I select the dropdown option as a widget I get this error message in my sidebar:
Fatal error: Call to undefined function: wp_dropdown_menu() in (path/to/wp-content/plugins/mycategoryorder.php) on line 161
Otherwise it works fine.
Oh and I’m using WP 2.2.1 and a tarski theme.
…. But the problem is still there even if I change the theme to something default.
thanks
I’m trying to use this plugin on a project but have a problem. All the things in widgets that appear in the sidebar below this widget are coming up bulleted, as though they are in the same list. Is there an open ul or li or something that needs a close or how can I fix this?
Any info would be great.
Hi
I’ve used the category order, and was happy with the results but just run into a couple of issues that i hope you can help me with:
the first involved removing the ‘heading’ to the category, which i did by going into mycategory.php and removed line 153 ..$title = empty($options['title']) ? __(‘Categories’) : $options['title'];
is this the correct line to remove?
the second issue I’m having is that I’m wanting to remove ‘pages’ (if you go to http://pepperedsprout.com/wordpress/ it’s the red box
have you any ideas how i may do this?
thank you
Great Plugin. Is there any way how i can not show all categories, within this plugin ? Like i got 5 Categories and i only want to show 2 of them.
Greetings,
Markus
Hi Markus –
that’s the same problem I needed to solve – I’ve categories and would like to remove one, but keep the same order – if you find out how to do it would really appreciate if you could show me
taaa
p.s. i did turn the div display to hidden which did work, but understand it’s not a good thing to do as search engines get suspicious of hidden content?
ta ta
I found a solution for my problem.
Just use this (http://ryowebsite.com/wp-plugins/category-visibility/) plugin in combination with mycatorder.
It will do the job.
Greetings,
Markus
Hi – yes i used that but soon as i removed the heading (‘category’) it didn’t work, cheers
Hi Andrew,
yes been using plugins – where do i find the place/file to add &exclude=1
thanks!
Thanks for this invaluable plugin. I just want to share my trick:
If you’re using WP2.0.+ and using Automattic’s Sidebar Widgets plugin, you can also fix the widget by hacking widgets.php in the plugins > widgets folder.
just search for wp_list_cats(“sort_column=name”… and change it to wp_list_cats(“sort_column=my_order”…
cheers,
mnrm
IMHO it’s a good idea to add a ‘hide’ option to categories, so wee can remove some items from the sidebar list.
Hi all,
I had a problem showing post counts but looks like I solved it.
categories’); ?>
I used this code and now everthing works fine!
Hi all,
I had a problem showing post counts but looks like I solved it.
php wp_list_categories(‘orderby=order&show_count=1&hierarchical=0&title_li=categories’);
I used this code and now everthing works fine!
I think I would make good use of this plugin, but i cannot seem to get it working correctly. I call my categories “Topics” and use the following code:
I installed 2.2 of this plugin and activated it. I then went to widgets and replaced Categories with My Category Order. I opened the Manage area and clicked on My Category Order and only my blog categories are showing up! I have many more categories I created (that I use in my blogroll), and those are the ones I want to change the order for. Help!
Wordpress Plugin – My Link Order
http://geekyweekly.com/mylinkorder/
Hi,
Thanks for the great plugin.
One question.
Could this widget do the drop down menu? I’m getting an error when I do so.
I’m using wp2.2.1.
Thanks
PLEASE, PLEASE update this plug-in! We were so happy when it worked. Now it doesn’t since we upgraded our version of WordPress. We donated $50 to the cause.
Thank you!
Yes indeed, this is a very helpful plug-in! We’ll be waiting to upgrade our blog specifically for it. Thanks for all your hard work!
Please update your plugin category and link and if you need any donations we do!!!
i am using 2.3 version right now!
but i am giving a little problem
“orderby=order&order=ASC&show_count=1&hierarchical=1order-t.term_order”
at top of the categories list.
i am using with widgets [mandigo theme]
please help.
thanks.
i’m using 2.3 as well and i’m also having the “order-t.term_order” issue where it appears at the top of my category list. how would i go about fixing this problem?
well i’ve tried downloading and installing the plugin again after i received your response. the problem persists and i also get “name-t.namename-t.name” on top of the category table under the category tab.
i can get rid of them by using the original taxonomy that comes with wordpress 2.3. it seems to work fine without your archived taxonomy.php. is it recommended that i use yours? what makes it any different?
You’re right I was looking in the wrong place! I had fixed it on my local files but forgot to move the final taxonomy.php into the zip. Try again and sorry about the confusion. I had to modify taxonomy.php to allow the template functions to sort by the order column I add to the database. Normally when you try to sort terms you are limited to count, id, and name, I added an “order” option.
Hello, Andrew!
I’m glad the issue with taxonomy is resolved.
There are 2 more issues
1) When I enable plugin, and modify widget, I usually check blog page for changes.
With your plugin it reported that wp_terms has no terms_order column, so I had to add it manually.
Only later I realized that what I *really* had to do was to enter admin first. In this case mycategoryorder seems to make the alter.
That was instructions stuff.
2) When I entered my category order admin, it gave me no subcats. After some debugging
I found that on line 61 taxonomy=’link_category’ should be replaced by taxonomy=’category’ (my WP 2.3 uses ‘category’).
Hope that helps.
Still, I had to add term_order manually
ignore last line of previous post :)
Thanks for the catch on #2, just realized I never tested sub-categories. I’ve update the zip file.
Hi,
i’ve installed the last version of your plugin on WordPress 2.3.
I just see the first default category,
(from the standard template) on the drop down menu.
I see the other out of the dropdown menu, so i can’t order their subcategoryes.
Any ideas?
A category will only show up in the top dropdown if it has subcategories. Take a screen shot of the Manage -> Categories screen or describe your category structure, I’d have to see that to really know what is going on. Also don’t confuse Post Categories and Blogroll Categories, they were merged in 2.2 but have been broken apart again in 2.3.
yes, i have 4 categories with subcategories. But i see just the first in the dropdown menu.
With previous version of your plugin and wordpress 2.2, it worked fine
(i had 4 all the categories in the dropdown)
The only difference i can see between the category in the dropdown and the other, is that that category is the original one, the default one.
I have the problem that Categories are not sorted as I want them to be.
I user WP 2.3 and the latest 2.3 version of the Plugin. I don´t use widegts so I entered
<?php wp_list_categories(‘orderby=order&hide_empty=1&title_li=Rubriken’);?>
into my sidebar code. It shows the Cats but unfortunately not in the expected order.
Any ideas?
Hi,
I’ve just upgraded my blog to wp 2.3 and installed your plug-in. It seems working right but it never shows the order I set. Whatever I did, it didn’t work!
Looking forward to your help…
Thanks in advance…
I have just checked whether it is because of the theme I’m using or not. But it is not! It didn’t work with the default theme as well.
Please somebody help me, or I’ll loose my mind :’( :(
Hi there
great PlugIn …. but there’s a problem:
I don’t want to show the subcategorie on the top-level – just when I click on the parent categorie, the sub-categorie should be shown.
Like:
categ_1 -> user clicked here
sub_1 -> is shown
sub_2 -> is shown
sub_3 -> is shown
categ_2
categ_3
sub_1 -> shouldn’t be visible
sub_2 -> shouldn’t be visible
sub_3 -> shouldn’t be visible
categ_4
By now, ALL sub-categories are visible.
check
-> http://www.heuken.com
What can I do????
Hi. I want so desperately to be able to do this… but after installing the two files and going to Manage>My Category Order, I see the drag and drop list, but there is no drop down for selecting the subcategories.
Ack. I’m using Wp 2.3, and I did replace taxonomy.php. Any ideas? I definitely have subcategories in my categories.
Thanks.
This is GREAT STUFF!! It should be listed in the WP Plugin Directory. (Or, if it is, it needs more tags or something because I didn’t find it there).
Anyway, it did everything I wanted when it came to organizing my top-level categories. But, it didn’t work when I clicked “Order Categories” after arranging my subcategories. I’m running WP 2.3
If you can help me get that one little problem fixed, there is definitely a donation coming your way.
Doh! I figured out my own problem. I needed to pass the wp_list_categories function call the following attribute/value pair:
orderby=order
Once I did that, it all worked like a charm. A donation will be coming your way soon!
wordpress 2.3.1 taxonomy.php
Only one diff than 2.3
When I upgrade wordpress to 2.3.1
Move the same file taxonomy.php to /wp-includes/ ??
Or edit “LEFT JOIN” to “INNER JOIN” ??
Sorry for my broken English.
Just activiated ‘My Category Order’ on WP2.3. And this is the error showing on the frontend category portion.
“WordPress database error: [Unknown column 't.term_order' in 'order clause']
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN (‘category’) AND tt.count > 0 ORDER BY t.term_order ASC”
Pls advice.
hello, I just upgraded your category and page order plugin as I have updated my wp install to 2.3.1 and it seems they no longer work with sidebar modules instead of widgets…
fyi: I have to use a plugin called disable widgets to be able to use sidebar modules (here is the link to sidebar modules plugin: http://nybblelabs.org.uk/projects/sidebar-modules/ )
here is the error I get: Fatal error: Call to undefined function: wp_register_sidebar_widget() in /var/www/web6/web/wordpress/wp-content/plugins/mycategoryorder.php on line 214
it would be great if your plugins would continue working with SBM
hello ovidiu,
i get the same error you explain, how can i go back to a stable execution of wordpress to install the disable widgets first?
thanks
Hi,
I installed the plugins to several of my blogs after upgrading to 2.3.1. It works fine on one of my them (with only one level of categories) but on the other it didn’t work. Only one parent was shown in the drop down menu instead of two and though I ordered the children, they ended up dispersed through the other categories at random.
I uploaded the same code to all the sidebars and the new taxonomy file to all the wp_include folders so it should not be a problem of incorrect installation.
Any light would be welcome: I really miss the old category order plugin.
Thank you anyway for your work and making this available to us all.
@susana
you just have to rename the mycategoryorder.php to mycategoryorder.php.txt then go to your wp backend, and it will work as it disables this plugin because it can no longer find the file, then you can go back and rename your file again to mycategoryorder.php and it will appear in the plugins list again but disabled.
BUT be carefulm the disable widgets pluginm does disable widgets and lets you use sidebar modules instead but I still do get the error from above when trying to use this plugin with sidebar-modules…
still waiting for some feedback from the author of this plugins.
@ gcs
I have exactly the same problem like you. My main categories don’t sort themselves the way I want them to be and then the subcategories show up somewhere randomly between the main categories…
Have you got any idea yet.
By the way, did u use the sentence for the sidebar from the 2.2 version or from an older version. They seem to deliver complete different results.
I appreciate any help, since I’m travelling around the world and haven’t got too much time to try things on the computer.
Thanks in advance
@ ceviri
I’m having the same problems like you.
Have u found a solution yet?
Thanks
I do have the same problem like ceviri and Claudio. I have installed everything, and it looks like it is working, but it is not!
My WP Version is: “Version 2.3.1 DE-Edition”.
i have the same problem as Charm : “WordPress database error: [Unknown column ‘t.term_order’ in ‘order clause’]
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN (’category’) AND tt.count > 0 ORDER BY t.term_order ASCâ€
i use WP 2.3.1 .. please check, thank you !
Hi.
Good design, who make it?
I am working on converting my site to WordPress 2.3.1, and this plug-in really helped. Unfortunately the visual editor and other replacement visual editors (TinyMCE Advanced) seem to be disabled now that I installed it.
I see that there was a problem like that with 2.2. Anyone else having the same problem? Anyone have a fix?
Never mind. Figured it out in the post about GZip problems with TinyMCE: http://wordpress.org/support/topic/107146. The problem had nothing to do with My Category Order.
Sorry for the false alarm!
Great Pluggin works nicely. Makes you wonder why wordpress out of the box does not do this, it is such a need feature.
this don’t give errors, but not work with WP 2.3.1 ITA just from the first level of categories ..
i love the plugin- just one qeustion.
how can i exclude one category from the list? i have been using category excluder to maintain articles not ready to publish in a category all its own. i would love to use this plugin but i can’t seem to get it to ignore that particular category.
any suggestions of how to exclude catID=18 for example?
i figured it out!
(‘orderby=order&optioncount=1&exclude=14,16&hierarchical=0&title_li=Categories’)
cheers!
no i didn’t- now i can exclude those categories but the list won’t sort!
hmmmm
Like the plugin, but could you please help me figure out why it won’t let me reorder one set of subcategories? I have two (Recipes & Other), and only ‘Other’ appears in the drop down list!
My set-up:
WP 2.3.1
Theme: Tranquility White 1.0
Has several problems related to theme. Fixed by using: wp_list_cats(‘orderby=order&optioncount=1&hierarchical=0′);
Changing categories to cats fixed all the major stuff(functionality). Removing the title fixed the odd look of things.
Added this as it may help others.
-R
same problem as others above on WP 2.3.1– “WordPress database error: [Unknown column ‘t.term_order’ in ‘order clause’]
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN (’category’) AND tt.count > 0 ORDER BY t.term_order ASCâ€
Can anyone help with this?
I just updated to WordPress 2.3.2, and My Category Order does not seem to work anymore. Has anyone else experienced this problem? This is a great plugin so I hope it can be made to work. Thanks!
Hi,
great plugin! Was exactly what I was looking for.
Though I had some problems with WP 2.3.2 (fresh install) and subcategories. It didn’t show the select list with all the parent categories.
The problem seems to be that the SQL statement in line 58 (mycategoryorder.php) restricts to “link_category” instead of just “category”. It also does a join to wp_term_relationships which would only show categories where something is assigned to.
I changed the code beginning from line 58
$results=$wpdb->get_results("SELECT DISTINCT t.term_id, name FROM $wpdb->term_taxonomy tt inner join $wpdb->term_relationships tr on tt.term_taxonomy_id = tr.term_taxonomy_id inner join $wpdb->terms t on t.term_id = tt.term_id where taxonomy = 'link_category' and tt.parent = $parentID ORDER BY term_order ASC");
foreach($results as $row)
{
$catCount=$wpdb->get_row("SELECT count(*) as catCount FROM $wpdb->term_taxonomy WHERE taxonomy = 'category' and parent = $row->term_id ", ARRAY_N);
if($catCount[0] > 0)
$subCatStr = $subCatStr."<option value='$row->term_id'>$row->name</option>";
}
to
$results=$wpdb->get_results("SELECT t.term_id, t.name FROM $wpdb->term_taxonomy tt, $wpdb->terms t, $wpdb->term_taxonomy tt2 WHERE tt.parent = $parentID AND tt.taxonomy = 'category' AND t.term_id = tt.term_id AND tt2.parent = tt.term_id GROUP BY t.term_id, t.name HAVING COUNT(*) > 1 ORDER BY t.term_order ASC");
foreach($results as $row)
{
$subCatStr = $subCatStr."<option value='$row->term_id'>$row->name</option>";
}
That works at least for me. Another advantage is, that it does it with one SQL statement instead of checking for childs each time with a separate SQL statement.
BTW, the instructions.txt file for the 2.3.x version should contain a hint that the taxonomy.php has to be copied to /wp-includes/
Greetings
Patrick
Well I feel like an idiot after reading all these posts. I love the idea, have the plug in installed and went to change the script on my adclerum template. I chose left.php and tried 3 different versions of the script-and it does nothing. The plug in acts like it works under the blogroll link but I must be doing something super wrong. I am still using wp 2.3.1 because I used fantastico to install it and they haven’t updated.
Have you copied the taxonomy.php into /wp-includes/ and have you used the “My Category Order” widget instead of the WordPress default one?
Patrick
The problem I reported in post 208 was because I forgot to put the file taxonomy.php in the wp-content folder after updating to WordPress 2.3.2.
Hello,
I have your plugin activated, but don’t understand how to drop the widget into the sidebar. Everything else I understand. Using WP V 2.3.1
I am looking forward to using this. Thanks for your help!
Hello everybody, for the subcategory stuff to work you need to change line 58 from:
$results=$wpdb->get_results(“SELECT DISTINCT t.term_id, name FROM $wpdb->term_taxonomy tt inner join $wpdb->term_relationships tr on tt.term_taxonomy_id = tr.term_taxonomy_id inner join $wpdb->terms t on t.term_id = tt.term_id where taxonomy = ‘link_category’ and tt.parent = $parentID ORDER BY term_order ASC”);
to:
$results=$wpdb->get_results(“SELECT DISTINCT t.term_id, name FROM $wpdb->term_taxonomy tt inner join $wpdb->term_relationships tr on tt.term_taxonomy_id = tr.object_id inner join $wpdb->terms t on t.term_id = tt.term_id where taxonomy = ‘category’ and tt.parent = $parentID ORDER BY term_order ASC”);
otherwise no dropdown will be shown
Sorry just ignore my previous post, is wrong the following is the right snippet for the line 58:
$results=$wpdb->get_results(“SELECT DISTINCT t.term_id, name FROM $wpdb->term_taxonomy tt
inner join $wpdb->term_relationships tr on tt.term_taxonomy_id = tr.term_taxonomy_idINNER JOIN $wpdb->terms t ON t.term_id = tt.term_id WHERE taxonomy = ‘category’ AND tt.parent = $parentID AND exists(SELECT * FROM $wpdb->term_taxonomy tt1 WHERE tt1.parent=tt.term_id) ORDER BY term_order ASC”);removing the striked part
Thank you!
I did every thing but it just doesnt work. I have wordpress 2.3.2.
Trying out MyCategoryOrder with a blog for a client, version 2.3.2 of WP. Roughly 25 categories, one of which has 3 sub-categories. The directions say to ‘Choose a category from the drop down to order subcategories…’, but there’s no dropdown to be found.
How should I proceed?
the same with me, no drop down to order subcategories.
I install the mycategoryorder2-3-2 in my WP 2.3.2 and now doesn’t show any category and subcategories, only the “all” category with the number of post.
i must to deactivate the Exclude and Include options, and now works perfectly
Hi – I like the idea but I can’t get it to work – it is appearing in my widgets section but I get this error:
WordPress database error: [Unknown column 'cat_order' in 'order clause']
SELECT * FROM wp_categories WHERE cat_ID > 0 AND cat_ID 2 AND category_count > 0 ORDER BY cat_order ASC
My version is 2.2.2 – thanks in advance
i’ve installed it like you said and activated the widget, but when i’m trying to change category order from the ‘manage’ panel nothing happen!
here is my code :
Any idea?
Hello,
doesn’t work for me, too.
I use WP 2.3.2.
1. I changed line 58 as described above but it in –>manage–>My Categroy Order there is still no possibility to change the order of the subcats
2. I can change the order of the main cats in –>manage–>My Categroy Order any way I like but this does not have any effect on the order of this categories in my sidebar
Would be great if you could help me!
Thanks,
Torsten
Hello. I installed the plugin according to the dirrections. I am sorry if I am just stupid but when I put the widgit into the sidebar is says “No Categories”.
Any ideas? Thanks!
sorry – it couldn’t be installed by the plugin manager – it’s not working
Greatings
Tobias
I think isnt working at all with 2.3.3 release :(
I have uploaded the fiels as described but the plugin does not show up in the plugin list to be activated.
Andrew was able to help me get this going on my WP 2.3.3. I had to change the permissions from whatever they were that prevented them from showing up in my plugin list to 644. Then when it showed up the interface and the db didn’t want to talk, so Andrew had me manually add the order in the wp_terms table. It turns out that if you are not using the widgets but if you have the db table you don’t even need the plugin installed.
UPDATE wp_terms SET term_order = 1 where slug=’my_first_category_slug’;
Now it works!
Thanks Andrew!!
Just What the doctor ordered.
Thank You!!
great help. thanks a lot
is there a update panned to fix this and you can use the admin tool again?
if i got clark right, you have to set the order directly in the db…
Thank you a lot for this widget. I´ve been searching for hours…
I’m having the same problem as Clark (#228), but I don’t understand the adjustment that needs to be made which is supposedly described in Clark’s other comment (#229).
Could someone send me some instructions on how to fix this that an above average novice could understand?
Thanks!
Can someone translate this:
“UPDATE wp_terms SET term_order = 1 where slug=’my_first_category_slug’;
Now it works!
Thanks Andrew!!”
I’m still struggling to make it work
Hi,
I installed the plugin with WordPress 2.3.3. To get the formatting of the indented lists in the category widgets to work correctly I had to add an extra definition to my CSS.
The issue is that in my template the nested list of categories had an ID of “#categories-1″. The CSS was styling this for elements “ul” and “ul li”, adding icons and padding.
The My Category Order widget generates the HTML with an ID of “#mycategoryorder”. This meant that it was not matching the CSS styles.
To solve this problem I just replicated the existing CSS styles for the new ID.
With that change the nested category lists are in the right sequence and nested OK.
Andrew.
Old:
Hi, I have tried to install your plugin. But when I go to “manage” -”my Category Order” I don´t get a dropdown. any explanation?
Thanks
Just installed this plugin on 2.3.3. Works great … except for subcategories. Everything on the admin side works correctly; it just doesn’t sort the subcats when viewing on the frontend. I’ve read through this entire comment history. The line 58 change didn’t seem to apply anymore as of today. I’m using widgets so I don’t have to add the “orderby” statement. Is there anything else that I’m missing?
hi,
i installed it on 2.3.3 works fine in the admin interface, added widget, but only one category is shown in the frontend.
i’ve 5 main categories and several sub categories. just the last categorie is shown in the widget.
any hint?
And you were using the built in category widget before? Leave a comment with your real email so I can contact you.
So, for those of us running 2.3.3, using widgets, and who use sub-categories….
What’s the procedure to getting this plugin to run smoothly?
I am using wp 2.3.3 but categories not get the right order, first when I was using the 2.3.0 was all right, there is some problem about new version to solve?
Great plugin! Works right out of the box! Thanks!
Hello – I have tried my best to make this work correctly, but I am still having issues getting the categories in the correct order.
As instructed, I drop the “My Category Order” widget into the sidebar, then place the categories to my liking via the My Category Order WordPress tab. After all that, however, the categories are still in alphabetical order.
I have two places for categories on my site, above in the header and obviously in the sidebar widget. Interestingly, the header order is the typical A to Z, while the sidebar order is Z to A.
Any suggestions?? Thanks in advance for your assistance!
I got it to work once with 2.3.3 but then it will not reorder the categories again.
Hello,
thank’s first for the great plugin. I have a Problem with the widget. I ordered the categories in the backend and replaced the standard category widget with the My category order widget. But in the frontend I can only see the first category. I’ve one blog wich is member in 15 categories. But only the first category is shown. What did I wrong?
Greetings Hannes
Hi,
I’ve the same problem as Hannes. I only can see the “standard” category.
We us WPMU. Maybe there is the “bug”??
Would be great if there would be a solution.
Thanks a lot!
Same thing here…I can play with the category order in the back end but they don’t get re arranged on the site. Thank you for any help you can provide.
Neverming…ignore my previsous post. I found the fix on this page. Update 2/09/2008: Works with 2.3.3, just copy taxonomy.php again.
Thanks for a great plug in.
Figu
Have used your plugin on other blogs with success, and am now receiving the following error message upon setup of two new blogs:
WordPress database error: [Unknown column 't.term_order' in 'order clause']
SELECT t.*, tt.* FROM wp_gcterms AS t INNER JOIN wp_gcterm_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN (‘category’) ORDER BY t.term_order ASC
* No categories
Owe ya a beer when we solve :-)
What does it mean to copy taxonomy.php again? have taxonomy.php twice in the wp-includes folder?? I am using 2.3.3 and can’t seem to get it to work. I see it in the admin, but not in the frontend.Thanks so much for your help.
Am using WP 2.3.3 w/o widgets. My Category Plugin installs correctly, but only organizes by alpha order. How do I get the categories to be in the order I place them?
Thanks
Pingback: WordPress 2.3 M to P compatible Plugins | Download Things
For the people who have some problems juste open your sidebar.php find the line : and add this line between the brackets : ‘orderby=order&optioncount=0&hierarchical=0&title_li=Categories’ so the result is : <?php wp_list_cats(‘orderby=order&optioncount=0&hierarchical=0&title_li=Categories’); ?>
For the people who have some problems juste open your sidebar.php find the line :
Add this line between the brackets : ‘orderby=order&optioncount=0&hierarchical=0&title_li=Categories’
So the result is :
Hum…
The line you have to find contains : php wp_list_cats
Juste e-mail me at necromancer413@caramail.com for better explanation
Your plug in is very useful.
However, I really struggled with installation (in particular the instructions).
Eventually I realised I needed to go into my theme editor and edit the sidebar section and soon worked out where the code had to be inserted.
I suggest giving a bit more step by step instruction on what replaces what for those of us that arent used to going into that area of wordpress.
I also had an extra ‘Categories’ title on the site. It took me a while, but I worked out that setting &title_li= with nothing after it removed this extra title.
All in all, I am very pleased with the plug in, I just feel better instructions would help those with little programming knowledge.
Thanks.
Hi! Very nice plugin! But…
Is it possible to combine it with the category listing tab in the “new post” page?
…and what about combining it with other plugin such Advanced Search??
(many thanks)
Pingback: Extremeall » Blog Archive » fffffffff
Pingback: WordPress Meã‹ã‚‰æœ¬å®¶WordPress 2.3.3ã¸ã®ç§»è¡Œ | VIVABlog
I’m getting the following error on the My Link Order page in my admin interface:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘LIKE ‘term_order” at line 1
The site is running SQL 4.1.2.2. Is that the source of the problem? Any suggestions on how to get this to work for me?
Thanks in advance
Pingback: Bah! How To Edit Category Order? - Bloggeries Blog Forum
hi, I love your plugin, but I have some question
My site is running under WP 2.3.3 and I desperately ;) need 2 plugins working together: the My Category Order and Fold Category List. Both do not work together of course and I need help. Is there a way to make them both apply on the category list: fold it and organize it!
Thanks
This doesn’t work for me with wordpress 2.5. In 2.3 it was perfect but now it can’t change the order no matter what. I use subcategories as well, in case that helps solving this matter.
I’m in the process of updating and moving the plugin to the WordPress Plugin Directory. Here’s a direct link to the 2.5 download:
http://downloads.wordpress.org/plugin/my-category-order.2.5.zip
Pingback: 使用ã—ã¦ã„ã‚‹ WordPress Plugin : 独æ–ã¨å見ã®ä½•ã§ã‚‚レビュー
Hi i uploded the w2.3.2. and my wordpress is 2.3.3 but when i change the order it tells me it was sucefull but when i go to my page nothing is changed any help on this would be greatly appriciated
I keep getting this error message, please help!
Fatal error: Call to undefined function: absint() in /data01/flame/public_html/grocery/wordpress/wp-includes/taxonomy.php on line 554
Pingback: Sonika’s blog » ПорÑдок вывода категорий в sidebar (WordPress)
i also got this
Fatal error: Call to undefined function: absint() in /home/tokodea/public_html/dairy/wp-includes/taxonomy.php on line 554
what should i do? i’m newbie here
Hey.
I just setup My Category Order in WP 2.5, but when I add the widget to the sidebar it shows only ONE category even though I have several different ones. And it also has nothing to do with the include/exclude option.
Any idea what it could be?
Pingback: Keep your blog ordered with WordPress Plugins | Blogsessive
flo: I have the same issue than you. The cattegories appear in the management page but, when I use the My Category Order Widget, it shows only the first(dfault) category.
Any solution?
By the way, I had the same issue in the previous version of WP. I thought the problem was solved in the WP2.5 version. I’ve just upgraded my WP installation as well as other plugins and retried to install the new MyCategoryOrder plugin. But the problem is still there…
You can try this test version to eliminate any problems with include and exclude:
http://geekyweekly.com/wp-content/uploads/mycategoryordertest.zip
The only other reason categories don’t show up using wp_list_categories is that they don’t have any posts assigned to them.
The posts appear in the normal Categories widget and they have posts.
I’ll try the link and will report.
Bonjour,
I am french.
Where is the syntax for the include/exclude option.
Thank you
Nice job! Changes made the plugin to work in my blog. How was it done? Which changes were made?
Cesar, I completely removed the include/exclude code from the widget. Normally even if nothing is entered for them it still passes “&include=&exlude=” to wp_list_categories. For some reason your WP install doesn’t like that. I’ll make some changes with how the parameter list is put together to avoid this in the future.
“I just setup My Category Order in WP 2.5, but when I add the widget to the sidebar it shows only ONE category even though I have several different ones. And it also has nothing to do with the include/exclude option.”
After plugin uninstall, the effect has remained :(((
Now index page broken :((
Thanks for all Andrew. Great job! Keep going…
Hi, am on WP2.5. The sub-categories appears fine.However, i can’t seem to change the category order. Not sure what’s wrong?
hi,
I use WP 2.5 and your plugin.
But I find no possibility, to show also emtpy (!) categories.
I try to change the widgets.php (I use widgets in my sidebar) with
But still no empty category is listed.
This is the changed code of widgets.php (without beginning and end tags here!):
php wp_list_categories($cat_args . ‘&title_li=&hide_empty=0′);
But no empty category is listed. What shall I do now?
Thanks for the update of the plugin!
Now all works with WP 2.5, showing empty categories, too ;-)
Hello, useful plugin, many thanks. I just downloaded your plugin (for wp 2.3.3) but it doesn’t show the items of categories in your ordered widget, the fact comes simply because you use translation tag __ with empty string in argument of get list, and it brings problems with the argument ‘exclude’, in ‘mycategorieorder.php’ around line 150 :
$i = empty($options['include']) ? __(”) : $options['include'];
So it probably returns a non empty string so the argument include won’t be empty (when needed), to solve it just remove __ tag :
$i = empty($options['include']) ? (”) : $options['include'];
and it’s quite logic…make use to don’t translate empty strings it may brings problems when empty string has to be empty…it’s the way I understood and corrected it but please let me know if it comes from another reason.
Anyway thank you anyway for your good work
please delete my previous message, a tag missing ;-)
Hello, useful plugin, many thanks. I just downloaded your plugin (for wp 2.3.3) but it doesn’t show the items of categories in your ordered widget, the fact comes simply because you use translation tag __ with empty string in argument of get list, and it brings problems with the argument ‘exclude’, in ‘mycategorieorder.php’ around line 150 :
$i = empty($options['include']) ? __(”) : $options['include'];
So it probably returns a non empty string so the argument include won’t be empty (when needed), to solve it just remove __ tag :
$i = empty($options['include']) ? (”) : $options['include'];
and it’s quite logic…make use to don’t translate empty strings it may brings problems when empty string has to be empty…it’s the way I understood and corrected it but please let me know if it comes from another reason.
Anyway thank you anyway for your good work
Pingback: Lucky Tools » Blog Archive » カテゴリー表示をæ€ã„通りã®é †ç•ªã§ã€‚‘My Category Order‘
The update of your my-category-order-plugin for WordPress 2.5 does still not contain the possibility of showing empty categories as someone told above?!?!!!!
Still no checkbox for showing empty categories in widget!!
Could you please send the updated plugin files to the wordpress.org Plugin Directory? Thanks
Sorry if this is a stupid question ot if it’s been answered – but I couldn’t find it.
Can you create multiple widgets with Mycategoryorder?
I’m using WP2.3.3 (but want to use on a 2.5 blog also) and had no problem using it out of the box – thanks! I just can’t figure out how to get more than one MCO widget.
I also don’t understand why WP gives the option of 9 category widgets when you can’t include/exclude (why would you need them?). I know I’m missing something here.
Thanks!
Thanks for the suggestion Sean, I’ll update the MCO widget to allow multiple instances. I’m only going to update the 2.5 version, but the mycategoryorder.php will be compatible with 2.3.3. There is a enhancement of the built in Category widget that adds include/exclude but it hasn’t been included in the WP build yet. This weekend I added a few more option on the MCO widget: show update date, show empty, feed text and feed image. I’m trying to include all the parameters that can be used in a plain sidebar theme.
I’ll let you know when the “multiple widget” update is available. You can then use the 2.5 mycategoryorder.php on either 2.3.3 or 2.5, but you’ll still need to use the taxonomy.php for the specific version.
Same problem as #282 above. While I can sort categories in the admin section (and the sort is retained), they do not appear in order on the page. Am using sort_column=my_order in the tag.
Pingback: è¿‘é ƒã®toaruR » カテゴリã®ä¸¦ã³æ›¿ãˆã¨ãƒã‚¹ãƒˆ
Pingback: Wordpressã§ä½¿ãˆã‚‹ãƒ—ラグインを9㤠| DesignWalker
I’m on WordPress 2.3.3 so I installed mycategoryorder2-3-2.zip – the widget and manage category order look fine, but when I view the site the categories are still in the wrong order.
Your update -”Update 2/09/2008: Works with 2.3.3, just copy taxonomy.php again.” – is this the fix I need? If so, would you mind explaining it in a little more detail?
Thank you!
Tried using version 2.5 – no luck there either.
Awesome work – ! Just installed it on WP 2.5. Will post site when it is done –
Is there any way to get the post count next to the cats?
Okay… with a little search on this page I figured it out. Thanks to everyone who took the time to kick through this – just dig it..>!
Damn it… getting an error:
Parse error: syntax error, unexpected ‘=’ in /home/solecoll/public_html/wp-content/themes/premiumnews/sidebar.php on line 77
With this code:
’orderby=order&show_count=1&hierarchical=0&title_li=categories’
Hiya,
I appreciate the plugins. :-)
I’m having a l’il problem with the “My Categories” widget though … it doesn’t seem to hold its settings after a logout. I’m excluding “uncategorized” and choosing to display number of posts; I save it and all is fine; everything displays. The next day, my exclusion is gone and my checkmark as well.
Clues?
Thanks,
-jeff
Pingback: è¡Œè€…æ— ç–†ï¼UUCC.CC » æ’件推è-mycategoryorder
Hello,
I just downloaded this plugin and loaded the mycategoryorder.php in the plugins folder, but when I went to upload the taxonomy.php into the /wp-includes/ folder, it was already there.
I was asked to overwrite the file, but I didn’t, for fear that the file belonged to another plugin. How is this possible?
I am having the same problem as “Jeff Schult”. Settings are not being saved.
Help
Pingback: Spring Cleaning, or time for a HealYourChurchWebsite do-over. » Heal Your Church WebSite
Pingback: WordPress, Custom Motorcycles and a lot of Tweaking! | How to Market and Monetize Your Blog
Hi,
I’m testing this on a 2.3.3 site. Looks like an interesting plugin. Unfortunately the Widget functions properly and displays nav fine but doesn’t sort. The admin sort function works fine but the order doesn’t translate to the nav. Basically, same error as Chris’ issue in post #295.
If I try the taxonomy.php fix I receive an error:
Fatal error: Call to undefined function: absint() in /homepages/15/somenumbers/htdocs/domain/wp/wp-includes/taxonomy.php on line 554
Any ideas?
I use Your software and he work my very well. Thank’s
Good plugin.. is use it and is veery god.. thx
PLEASE PLEASE HELP!!!. I have just tried to add this plugin but it has screwed my bosses websites up. he is going to go mental if he sees t like this. HOW DO I GET IT BACK TO NORMAL!!!!! – http://www.warehousenews.co.uk/
I just upgraded to the latest WP 2.5.1. When I reactivated and upgraded my Category Order, the order is all out of wack on the site. The Category page shows them in the proper order, but when I click “re-order the links,” it flashes like normal, but doesn’t move anything.
Thoughts?
I am having a problem with the category order. The categories are not displaying in the order that I have set in the admin panel – they are changed from the default (alphabetical order) but not in the way I have specified.
Any ideas?
1. I uploaded mycategoryorder.php to /wp-content/plugins/
2. Activated the My Category Order plugin on the Plugins menu – OK so far
3. Moved the file taxonomy.php to /wp-includes/
I went back into my WordPress admin and got the following error:
Parse error: syntax error, unexpected ‘.’ in /home/blackha7/public_html/liv/wp-includes/taxonomy.php on line 18
I took the suggestion in the ‘readme’ file to change the line of code in the sidebar:
6. If you aren’t using widgets, modify sidebar template to use correct orderby value:
wp_list_categories(‘orderby=order&title_li=’)
It made no difference. Do you want to tell me what is going on? Thanks!!
Hi Andrew,
For some reason your email is sending me undeliverables.
Yesterday it looked ok and admin access was not a problem. I uploaded the file to the correct include directory. However this morning I again have this error message.
Warning: require_once(/home/blackha7/public_html/liv/wp-admin/includes/taxonomy.php) [function.require-once]: failed to open stream: No such file or directory in /home/blackha7/public_html/liv/wp-admin/includes/admin.php on line 11
Fatal error: require_once() [function.require]: Failed opening required ‘/home/blackha7/public_html/liv/wp-admin/includes/taxonomy.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/blackha7/public_html/liv/wp-admin/includes/admin.php on line 11
Can you try and get me out of this problem.
Hi, I’m using WP 2.2 and when I activate the plugin the order of categories changes but no matter what manual changes I make to the plugins nothing happens.
When I deactivate the plugin all categories go back to default and when I activate it again the same thing happens again … it rearranges the categories but doesn’t apply the order that I arrange them in. Please help, thanks.
Can somebody correct me if I’m wrong, but does this plugin only work to change the order of the categories in the sidebar?
I am looking to change the order of my posts so that I can choose the one that appears first on the main page other than the last post.
This way if I have an important post I can keep it on the very top no matter how many posts I add after that one. Thanks
Pingback: Here we go again, WP Plugin - My Category Order » Geeky Weekly
Pingback: Robert@PNG » Blog Archive » Blog Update V4.0…
hi there .thanks for plugin:
Does anybody know if tis script is compatible with WordPress 2.5.1 ?
Thanks in advance for any help on this!
best regards
I use 2.3.3 and can’t get any categories to change. I change the order in the My Category Order tab, then choose “Click to Order Categories”, then get the confirmation “Categories Updated Successfully’, but no changes actually take place.
Ideas??
???
Hi Sorry to say but my site doesnt work using my cat order !!! There must be a simple fix !!! no matter what I do it must go back to default settings what ever they are !!!
It should be noted that in order to use my menu order AND my category order plugins you must use the taxonomy.php file from the my category order plugin. Using the taxonomy.php from my menu order will only allow my menu order to work, however the one from my category order will allow them both to work.
Any luck with the Fatal Error on line 554? I Got the same one.
Duh – I was using the wrong verison. Hadn’t upgraded this site’s WP yet – so fatal error coming from that.
and if I don’t want to show the categories? I’m using version 2.5.1 in WordPress with no widgets. I need to modify sidebar.php in theme.
Thanks,
Johnny
Hi, i’m having a major problem with your plugin. I installed it per instructions, and when i went to manage my categories they were all gone. Then, I went to my blog and got a blank page, and then back to my dashboard and got a blank page. I cannot access my blog at all and I am kinda freaking out. Can you offer any advice??? I tried renaming the plugin in the plugins directory, tried deleting it, reuploading it, but nothing works. Help!!!!
I think I fixed it…
fixed. i had installed the wrong verson for my wp #. sorry for the confusion
Pingback: A Tanone dot Net » Blog Archive » Import Export Features of WordPress
Andrew-
I just can’t get the plugin to work. Ordered the categories in the required order and inserted the following simple line into the sidebar.php file:
Yet, the order is not what I chose in the MyCategoryOrder admin interface. Strange thing is, the resulting order isn’t even alphabetical. It just looks like a random order.
Not sure what I’m doing wrong, but I’m not trying anything fancy. It’s a basic setup but it keeps breaking.
It’s fixed thanks to the prompt email from Andrew. The solution of course was to replace the existing taxonomy.php file in the wp-includes/ directory with the new one supplied with the My Category Order plugin.
Thanks again – plugin works great.
Pingback: wordpress??????????My Category Order | ?????blog
Pingback: Mantén tu Blog Ordenado con Algunos Plugins | XeroBlog - Blogging - Consejos y Recursos para Bloggers
Hi! Thanks for this great plugin!!
Just an idea to improve it: Allow to add more than one MyCategoryOrder Widget. I’m sure I’m not the only one that would like to have a dropdown excluding some categories, and other dropdown with the one excluded…
Your plugin is fantastic. It’s such a relief when something does just what you hope it will. One question–what is the ‘feed text’ field for in the edit widget options? Should a few keywords go there? Or coherent sentences that the public will see? (Will it show up somewhere/ what’s it for?)
Pingback: ????? ????????? » ITbananas
The plugin looks to be loaded correctly, but doesn’t reorder the categories. I’m WP 2.3.2 and did everything in your directions through step 4. I am not sure if steps 5 and 6 apply to my situation or if so how to do them.
In the my category section I have reordered both categories and subcategories, but don’t see any change.
This will be a very valuable tool for me.
Thanks very much.
John
Hi there,
I tried your plugin with the Revolution-Theme (www.revolutiontheme.com) but nothing happens with the Frontend-Order of my categories, if I change it via your plugin. No errormessage, but the order does not change,
I hope you can help me…
Bastian
thanks for the plugin, everthings works fine, i just want to change the first category that comes automatically “All” to the german word “Übersicht”
how can i do that?
thank you very much
Pingback: ?????wordpress???? | ????
Pingback: ?????wordpress???? » ???·????
Pingback: My Category Order — ?????????? ????????? - ???????????????? ??????? ??? WordPress (?????????)
Pingback: ?????? WordPress "My Category Order" ???? ??????????? ?????? ?????????? ??????.
Pingback: Wordpress Plugins and Widgets
nice plugin here mate. Very useful
Pingback: ???????R? » ???WordpPress2.6??????
Hello, the plugin does not seem to work under wordpress 2.6. It was working perfectly before the upgrade, and now I cannot get it to sort anything at all.
Confirmed, the plugin doesn’t work with the version 2.6 of WordPress.
I’m just starting using the plugin and have WP 2.6 (just upgraded) and it’s working fine.
However, I’m curious about the “feed” thing…
Thanks for the great plugin!
Pingback: Lapsy`s Blog » Blog Archiv » Wordpress Kategorien sortieren mit “My Category Order”
Hi, I am not a programmer and just installed your plugin, which did install fine.
However, the categories don’t seem to be changed at all. I’m on WP 2.6.
Where do I modify the sidebar template? Can you be more specific–sorry, but I have no idea how to code and have to have idiot’s directions.
Thanks.
Installed the plug-in fine. Then I reordered my categories but they still look the old unordered way at my site. Might this be because I have a hosted site instead of a wordpress.com site? Thanks.
This plugin didn’t work with WP 2.6, and anybody help? Please update the plugin :)
This is a great plug in :)
GUYS, TO GET IT TO WORK IN 2.6, REMEMBER TO OVERWRITE THE TAXONOMY PHP FILE (A CORE FILE, WHICH GETS OVERWRITTEN BY UPDATE I THINK)
@matija:
yeah! thanks for the info. forgot that when upgrading… ;P
so, replacing the original wp-file taxonomy.php (in folder wp-includes) with the one which comes with the plugin, its now working for me on WP 2.6 again. :)
Will this plugin be modified to work with WP 2.6?
Cheers,
Gene
Can I clarify for other readers here that Matija means that after upgrading to 2.6, an* earlier version of taxonomy.php should be copied over into the wp-includes folder to replace the new version.
I upgraded from 2.5* to 2.6. the plug-in failed & now it works fine after following the above tip by Matija
Thanks so much.
Ally
“matija | July 24th, 2008 at 4:20 pm
GUYS, TO GET IT TO WORK IN 2.6, REMEMBER TO OVERWRITE THE TAXONOMY PHP FILE (A CORE FILE, WHICH GETS OVERWRITTEN BY UPDATE I THINK)”
Hello,
Im using wp 2.5 and I followed all the instructions for installing the plugin. I overwrote the taxonomy.php file and it still does not work. Im using the gazette theme by woothemes. I am not a programmer and am clueless as to how to proceed. Please help…
Thanks in advance
Pingback: ?????????? WordPress (?????? 2.6)
Hi Andrew,
Thanks for a great plugin. I’m using WP 2.5.1 and have uploaded your test plugin mentioned in Comment #275.
That seemed to have enabled the plugin to work (i.e. I’m able to sort the order of the categories), however:
1) Categories & subcategories that have no postings do not appear; and
2) Categories with postings do not show post counts.
I have read through all the comments above and have cut-and-pasted all the codes suggested above but none of them have solved the 2 problems above.
The codes that I have tried:
a) “(‘orderby=order&optioncount=1&hierarchical=0&title_li=Categories’); ?>”
b) “(’orderby=order&show_count=1&hierarchical=0&title_li=categories’)”
But it still doesn’t solve the problems.
Is there anything that I can do?
Thanks in advance!
Adam
Pingback: ???????????????? >> ??????????
Hi,
I’m working to make my plugin compatible with yours. May I suggest you a modification, so that you’ll not need to include the taxonomy.php ?
You should test if the code below is present or not in taxonomy.php. If not, you just have either show where shoud be added in the original taxonomy.php or patch it, if the file is writable, in order to be compatible with 2.5.1 and 2.6 and also the future versions of WordPress…
else if ( 'order' == $orderby ) $orderby = 't.term_order';
Hi,
What about WP 2.6. Anybody help me ?
Pingback: Wordpress 2.6 | Beitrag | Northern-Web-Coders
Pingback: WordPress2.6.1???? >> ??????????
Hi,
I have tried this plugin for wp 2.6 and it doesn’t seem to work. Do you have a verison for this Or is one planned?
Thanks In Advance
Adam
Hello there
i am using wp 2.6 and the plugin dose not work at all
even if i sort the cats using it, they will not be sorted
update please!
Pingback: ???????R? » WordPress2.6.1?
Pingback: What’s new in 2.0.7 ? | Category Icons
Pingback: 4 Extra Things That You Can Do With a Self-Hosted WordPress Blog (that you can’t do with a Free WordPress blog) | blog.classroomteacher.ca
It does not work with WP 2.6. Too bad.
yep doesnt work with the latest WP 2.6.1 :(
Pingback: Hello world! - ????
Russian language files (.po and .mo) you can download here.
Installation instructions:
1. Upload the mycategoryorder.php to /wp-content/plugins/ on your server.
2. 2.3 and above: move taxonomy.php to /wp-includes/
3. Activate the My Category Order plugin on the Plugins menu.
4. Plugin tab appears under the Manage menu, give the categories an initial order.
Hi, did all of the above. Then reordered my categories but they still appear in the original unordered manner.
Any help greatly appreciated. John
Pingback: WordPress Plugins auf eliZZZa.net * eliZZZa.net * all about web 2.0 & web design 2.0 * alles über Web 2.0 & web design 2.0
Pingback: eliZZZa.net * WordPress * WordPress Einstellungen * Pingdienste * eliZZZa.net * all about web 2.0 & web design 2.0 * alles über Web 2.0 & web design 2.0
Pingback: Aufräumen | Knalljas
Pingback: WordPress????????????? » Blog Archive » ???????????????????SEO?????????????????
Pingback: ??????WP?? - July’s Blog
Pingback: Personal Transformation
Pingback: WordPress 2.6.2???? >> ??????????
Pingback: ??????????????????? - ???????????
Pingback: Wordpress Plugin - My Category Order - WP Plugin Archive
cool, i used wordpress 2.6.2 and this plugin dont work on my theme. I have menu with submenu and the code in my theme is
————————–
wp_list_categories(‘show_count=0&title_li=&depth=5&’.$cats_to_exclude);
————————–
i change this to:
————————-
wp_list_categories(‘show_count=0&orderby=hierarchical&title_li=&depth=5&’.$cats_to_exclude);
————————-
and the menu and submenu is perfect hierarchical sorted.
I tried to put your line into the sidebar code, but I got a syntax error indicating there was an “unexpected =”
Any idea which “=” it was referring to?
Thanks,
Brian
I installed this very good plugin in wp 6 with widgets. Is it possible to show only two levels? I would like to hide the third until the level above is clicked.
@John:
I think I know the answer – even though it’s really no solution at all!
I found out that as soon as I patched taxonomy.php my frontend starts acting up – not in a good way. Everything on my front page is frozen until I update a page or a post simply by clicking publish. Then you will see all changed you have done.
Also: this exclude field in the widget section doesn’t work for me :(
@Andrew: It would be a charm if your plugin would also have setting to exclude categories from different parts of the weblog. Please talk to DjZoNe who programmed the “Advanced Category Excluder” (http://advanced-category-excluder.dev.rain.hu/), maybe you two can make one perfect category all-inclusive plugin.
Thanks for the plugin – just please make it work. :)
I am using WordPress 2.6.2
Antonio
I just made some tests and found out that the “WP Super Cache” plugin was the problem. As soon as I deactivated caching everything went back to normal, but when I have the widget option “show empty” checked I still cannot exclude this “Uncategorized”.
Pingback: Referenzen Plugin | poeschel-design.de / portfolio of christopher poeschel
I’ve activated the plugin and added the widget to the sidebar, but on the My Category Order page I don’t see any categories listed. There is just a blank box. I’m on WP 2.6.2.
Please Help!
thanks. Works GREAT with wpmu 2.6.1!
Hi,
It’s working great for me. I was wondering if there are any plugins it plays nice with that will let me create category feeds.
Pingback: WPLINKS » Para reordenar suas categorias
Pingback: ????????????????????? | WordPress?????
Pingback: links for 2008-10-18 « Free Open Source Directory
Pingback: WordPress 2.6.3???? >> ??????????
It’s working great for me.
Thank you for WordPress Plugin.
Good job!
Pingback: 30 Wordpress Plugins for Beginner | Free Andre Recommends
Pingback: My Category Order, ??? ????????? ????????? ? WordPress | ???? ???????? ?????????!
Pingback: ?? ???? ??, ?? ????, ??????? ?????????… | ????????.ru
My taxonomy.php file will not be updated (WP 2.6.3). Rights on the file are ok. Plz let me now where I have to put the code an what code to taxonomy.php.
Thank you!!!
Pingback: ???????????????????? | WordPress?????
Pingback: Speeding Up Your Wordpress Blog | Spontaneous Derivation
Pingback: Top 30 Best Wordpress Plugins for Beginner | Free Andre Recommends
Hello,
I try to use My category order with an horizontal list of category.(without widget)
So, in footer.php, I have that:
cat_ID) != “”) {
echo “”;
wp_list_categories(‘orderby=id&show_count=0&title_li=&use_desc_for_title=1&child_of=’.$this_category->cat_ID);
echo “”;
}
?>
Do you see what I have to do for use My Category Order?
thanks for your help!
Julien
Worked fine for us. The taxonomy PHP was already in the includes folder under Version 2.6.3.
Thanks for the great plug-in.
Bless you!
Pingback: » Category Icons - WordPress Plugins Catalog
hi,
we’ve tried 3 different versions of this plug-in and it just doesn’t work :\ The categories dont change at all :(
anything we can do?
eeek nevermind – the code change at wordpress works…
sorry and thank you!!!
Thank you for this great plugin!
It works just as great as the My Page Order plugin.
Pingback: WordPress 2.6.5 ???? >> ??????????
Pingback: WordPress plugin | Web ??????!
Pingback: My Category Order | CSS-Roots
Pingback: Category-icons ?????
Pingback: » My Category Order - WordPress Plugins Catalog
Pingback: 24kart» Blog Archive » ?????
Pingback: WordPress 2.7 ????? >> ??????????
Please, which is the syntax of the Include/Exclude options that appear at the MCO widget? Thanks
Pingback: WordPress 2.7 ???????? >> ??????????
Installed My Category Order in WooThemes’ Gotham News. I love it. However, due to some creative category play (I wanted to control which stories appeared on the home page below the theme’s “featured” news box) I have two categories that I don’t want to have displayed (Featured Story and Lead Stories). Is there a way to accomplish this with your plugin?
Hi
I am now using wordpress 2.7 with the busy bee woo theme. I uploaded your plugin for another site and it works wonders. Do you have version for 2.7. I tried 2.5 version but nothing happens when I move them and save.
Thanks for you time and your generosity with the plugin.
Dean
Pingback: 2008??WordPress?????????????? >> ??????????
it works perfect using subcategories with wp_list_categories() but not with get_categories()…
On my plugin page of My category order I got this:
(director dots are mine(
Warning: fo/pen(…wordpresswp-includes/taxonomy.php) [function.fopen]: failed to open stream: Permission denied in …wordpresswp-contentpluginsmy-category-ordermycategoryorder.php on line 316
Warning: fwrite(): supplied argument is not a valid stream resource in …wordpresswp-contentpluginsmy-category-ordermycategoryorder.php on line 318
Warning: fclose(): supplied argument is not a valid stream resource in …wordpresswp-contentpluginsmy-category-ordermycategoryorder.php on line 323
Error while writing to the file …wordpress/wp-includes/taxonomy.php.
Any sugegstions?… Thanx
On my plugin page of My category order I got this:
(director dots are mine(
Warning: fo/pen(…wordpresswp-includes/taxonomy.php) [function.fopen]: failed to open stream: Permission denied in …wordpresswp-contentpluginsmy-category-ordermycategoryorder.php on line 316
Warning: fwrite(): supplied argument is not a valid stream resource in …wordpresswp-contentpluginsmy-category-ordermycategoryorder.php on line 318
Warning: fclose(): supplied argument is not a valid stream resource in …wordpresswp-contentpluginsmy-category-ordermycategoryorder.php on line 323
Error while writing to the file …wordpress/wp-includes/taxonomy.php.
Any sugegstions?… Thanx
I have to fix wp-includes\taxonomy.php function get_terms
else if ( ‘term_order’ == $orderby )
$orderby = ‘t.term_order’;
and plugin works fine
Hi,
this is the error messagge on plugin page setup:
Warning: fopen(D:\inetpub\webs\accordingit\home/wp-includes/taxonomy.php) [function.fopen]: failed to open stream: Permission denied in D:\inetpub\webs\accordingit\home\wp-content\plugins\my-category-order 2\mycategoryorder.php on line 316
Warning: fwrite(): supplied argument is not a valid stream resource in D:\inetpub\webs\accordingit\home\wp-content\plugins\my-category-order 2\mycategoryorder.php on line 318
Warning: fclose(): supplied argument is not a valid stream resource in D:\inetpub\webs\accordingit\home\wp-content\plugins\my-category-order 2\mycategoryorder.php on line 323
Error while writing to the file D:\inetpub\webs\accordingit\home/wp-includes/taxonomy.php.
Where is the my error?
Thanks
Otello
Hi,
sorry but i don’t understand the message 427…
hello..
1. downloaded plug-in
2. install it on WP 2.7
3. no errors…
4. goes to my category options.. setup it
5. i see notification “SAVED”
6. go to my page.. nothin changed =(( i clear cash..doing everythin..but plugin doesnt work for me =(( plz help to solve the problem
7. Swap widgets or modify your theme. See steps 5 and 6 in the instructions on this page.
I’ve translated this plugin into Spanish… where can I send you the files?
i recently had to re-install windows and now this plugin is not allowing me to actually move my links or catagories-
this is all i see instead-
http://farm4.static.flickr.com/3334/3227558869_498cc27657_o.jpg
i know it is a simple thing but i cant figure out what i need to download in order to make this plugin function correctly.
is it java? i updated mine and it didnt fix it.
i turned my firewall off and still the links wont ‘drag’ because it wont recognize im actually trying to drag.
can anyone help guide me what i need as far as browser setting or whatever?
Pingback: Wordpress????????30? | Customizing-Design
When are you going to release a fixed My Category Order for WP 2.7? The functionality of the plugin seems to be working fine, but it doesn’t actually change the order of the categories.
Please? We really like the plugin.
Pingback: BBVAblogs ezine - Selección de contenidos de la Blogsfera BBVA » Archivos » Utilizando Wordpress como un CMS
Pingback: WordPress??????My Category Order???My Link Order? - ElectronicBrain is eating BreakFast
Hello,
After a bit of research I have this working perfectly on WP 2.7 on a new site I’m building at famda.org.au
I used
Hello
I am trying to control the order in which the categories are displayed. I am able to control it with the functions the wp gives you which are limited to name,count,ID
I installed and activated your plugin and was able to set the catagories in the options, but when I update and check the site nothing happens. I don’t know if there are other settings I need to configure…..
Hi,
Great tool… Just what I needed… But I can’t get it to work? It looks ok… I can move the cat’s around… But when save it looks fine in the plugin.. But has NO effect on my showing of cat’s??
I tried to change theme, I disabled all plugins… No way!
I’m on a 2.7 WP DANISH
Please help!
Hi,
I am using your plugin on WP 2.7 now and I can change the categories around and click store- but it has no effect on how the categories show up on my blog. Still in A-Z order. What/ where do I have to change something?
Let me know please. Glad for any suggestions. Please describe as detailed as you can, i am a beginner with PHP and CSS…. ;-)
Thanks!
Thanks. Works great on my website at http://www.biotechspeculators.com Very useful plugin and we much thank you for helpful plugin!
Hello,
I am new at all of this, but am creating a WP site, with multiple sidebars, and i would like to use mycategoryorder on each of the sidebars. the admin will only let me place it in one. i found this as a solution:
(from another web site):
For example, I wanted to use the Creative Commons widget on every sidebar. In the file /wp-content/plugins/wpLicense/widget.php I changed the line which registered a single widget
register_sidebar_widget(array(‘Content License’, ‘widgets’), ‘widget_cc’);
To instead register multiple widgets
register_sidebar_widget(array(‘Content License 1′, ‘widgets’), ‘widget_cc’);
register_sidebar_widget(array(‘Content License 2′, ‘widgets’), ‘widget_cc’);
register_sidebar_widget(array(‘Content License 3′, ‘widgets’), ‘widget_cc’);
register_sidebar_widget(array(‘Content License 4′, ‘widgets’), ‘widget_cc’);
and so tried this with your plug in:
mycategoryorder_loadtranslation();
$description = __( ‘Set the order in which categories will appear in the sidebar’,'mycategoryorder’ );
$widget_ops = array(‘classname’ => ‘widget_categories’, ‘description’ => $description );
wp_register_sidebar_widget(‘mycategoryorder’, __(‘My Category Order 1′,’mycategoryorder’), ‘wp_widget_mycategoryorder’, $widget_ops);
wp_register_sidebar_widget(‘mycategoryorder’, __(‘My Category Order 2′,’mycategoryorder’), ‘wp_widget_mycategoryorder’, $widget_ops);
wp_register_sidebar_widget(‘mycategoryorder’, __(‘My Category Order 3′,’mycategoryorder’), ‘wp_widget_mycategoryorder’, $widget_ops);
wp_register_sidebar_widget(‘mycategoryorder’, __(‘My Category Order 4′,’mycategoryorder’), ‘wp_widget_mycategoryorder’, $widget_ops);
wp_register_sidebar_widget(‘mycategoryorder’, __(‘My Category Order 5′,’mycategoryorder’), ‘wp_widget_mycategoryorder’, $widget_ops);
wp_register_widget_control(‘mycategoryorder’, __(‘My Category Order 6′,’mycategoryorder’), ‘wp_widget_mycategoryorder_control’, $options);
but it didnt work. alas. am i very far off the mark from making this happen?
Thanks!
Your plugin worked great for me with WP 2.7.0, when I updated to 2.7.1 it started reporting No Categories…
I downgraded back to 2.7.0 and it went back working :)
Thanks for mentioning the problem you had with upgrading Hikari. I’m happy with the way it’s working with 2.7.
I’m running it on 2.7.1 just fine. Not sure what is going on with Hikari.
Exactly the same problem of Hikari! I tried to disable, uninstall and install again, but it still doesn’t work. Now I had to disable it. Thanks for your help!
Upgraded yesterday to 2.7.1 and started getting the ‘no categories’ problem (even after going to options and having taxonomy.php updated). Eventually had to downgrade back to 2.7 and restore DB back-up from before upgrade.
Hello,
I’m using guzel theme (www.deluxethemes.com) I can’t find how to change default category order from alphabetic to custom.
Thanks for help.
Pingback: Een lijst met mijn 27 favoriete WordPress plugins - Hiranthi’s weblog
Pingback: web?????? » WordPress ?????????
For some reason one of my categories is no longer working. Firefox says “Firefox has detected that the server is redirecting the request for this address in a way that will never complete” It’s not a server issue. Seems to have started after I updated to wordpress 2.7.1 and then rolled back to the previous wordpress (subcatagories didn’t show with upgrade). Any thoughts as to how to fix this???
Amazing! Thanks.
Pingback: WordPress Plugins Used On The Michel Fortin Blog | The Michel Fortin Blog
Pingback: Linus?? » wordpress???????
I second the request to have this work for the get_categories function.
Does not seem to work on 2.7.1? Order does not change
Awesome plugin. Just what I was looking for! Why doesn’t WordPress incorporate stuff like this?
I have used your plugin with success before and say hank you for your work.
However, I have changed my theme, and don’t know what now…
Is it possible to make the plugin work with the categories displayed in the header?
The original code is:
and I tried to edit it to:
but that did not reflect the wanted outcome.
It just showed all categories with content, parent and child and not in the order I had set.
Please help, thank you :)
Michael
hmmmm – no code in the last post – I’ll try once more…..
Original code:
wp_list_categories(‘sort_column=name&title_li=&depth=3′);
Edited code:
wp_list_categories(‘orderby=order&hierarchical=0&title_li=&depth=3′);
Pingback: Wordpress AS3 Flash Navigation | Chris Teso - Director of Interactive : Flash Designer Developer : Portland Photographer
RE: “Upgraded yesterday to 2.7.1 and started getting the ‘no categories’ problem (even after going to options and having taxonomy.php updated). Eventually had to downgrade back to 2.7 and restore DB back-up from before upgrade.”
Decided to bite the bullet and do the upgrade again, had the same results. After hours of research and tweaking I think I came across the (my?) fix, at least it works here.
First hint was that removing the exclusions argument from my wp_list_categories() got my categories displaying again… Sometime later, I tried changing the exclude=0,22,40 to exclude=22,40 (dropping 0, which was the ‘uncategorized’ category) and voila! Everything is working as it was in 2.7 before upgrading to 2.7.1.
I am outta gas/gumption at this point, but I suspect that it’s puking on excluding any category that is empty.
Crazy thing. Using on WP 2.7.1 upgraded works fine, then installed a fresh version of 2.7.1 with the same template and it doesn’t work.
Great plugin!
I wanted to give permission for the blog authors to edit the categories orders, can you help me?
Thanks
Hi there. I have downloaded this link but totally can’t figure out how to change the order of my categories. Also, how can I create subcategories within a category — like within the blogroll? any help is appreciated@
Hi there. I have downloaded this link but totally can’t figure out how to change the order of my categories. Also, how can I create subcategories within a category — like within the blogroll? any help is appreciated!!
Hi Froman118 !!
Thx for a great plugin…
I’ve traslated the plugin into Danish!
Where do I send the file?
My category order isn’t working on my site. The only plugins I have installed are 1. Featured Content Gallery 2. Contact Form 7 and 3. My Category order.
I use the Lifestyle theme from StudioPress.
The screen where you can order the categories pops up, but the changes do not take effect. Please help!
Thanks,
Sabina
http://www.TheCompostQueen.com
Hi,
Non-coder, here, but not lazy and I’ve ready everything I could on getting this going to no avail. So . . .
I’ve got wp2.7 going with the Tarski theme (which has it’s own little admin area that does some stuff with categories, which may be the problem, I dunno) and I’ve installed MCO thus:
The taxonomy.php is in /wp-includes/ (but it was there already)
The “Categories” widget is replaced by MCO widget
and I’m getting MCO the admin drag and drop stuff to put the order in place, but when I do, it’s not in order and there are no subcategories.
I dug around and *finally* found the wp_list_categories code at wp-includes/category-templates/php file, but there seemed to be a lot going on there and what I was exactly supposed to replace was a bit unclear, so I figured I better leave well enough alone.
Here is my website: http://www.herbalremedyforum.com anyway.
And just to echo the venting of other folks on here: yes, it does seem funny that organizing the categories (which is pretty darn basic to the info layout of the site!) isn’t a priority :) oh well, thnks for the plugin and support — now if I can just get the durn thing working!
Hi :) So, despite lengthy forum lurking, I can’t get my category order to work with the tarski theme.
– the MCO widget is in use and seems to work right to the point where I look at the actual website — then, the order I set is disregarded.
also, the taxonomy.php is in /wp-includes/ (but it was there already). I posted this question also at WP forum under installation issues.
AH HA! Gah — after much more mucking about I discovered that the issue was on my end: to get the hierarchies right, yo uhave to opt in to them with the drag and drop widget on the widgets page — there is a scroll down menu! If you don’t choose “show hierarchies” then the categories list looks screwed up — I think folks not knowing about that little menu is the source of a LOT of confusion about why the plug in doesnt seem to work! So, whew — great job with this plug in!
Hello. Thanks for this plugin. I installed it, activated it, reordered my categories, and showed the widget in my sidebar. However now all my categories have disappeared, and I have not as yet been able to figure out what happened or how to correct it. Please advise!
Hi
I got some problem with the plugin..If i use the widget everything is fine and worls perfectly (you did a great job indeed).. but I use in the navigation bar also the gategory-icons plugin (v 2.0.7) and there the plugind doesnt work..the icons don’t change order..
I have this error message
Warning: fopen(D:\Inetpub\webs\bambooupnet\blog/wp-includes/taxonomy.php) [function.fopen]: failed to open stream: Permission denied in D:\Inetpub\webs\bambooupnet\blog\wp-content\plugins\mycategoryorder.php on line 318
Warning: fwrite(): supplied argument is not a valid stream resource in D:\Inetpub\webs\bambooupnet\blog\wp-content\plugins\mycategoryorder.php on line 320
Warning: fclose(): supplied argument is not a valid stream resource in D:\Inetpub\webs\bambooupnet\blog\wp-content\plugins\mycategoryorder.php on line 325
Error while writing to the file D:\Inetpub\webs\bambooupnet\blog/wp-includes/taxonomy.php.
cna you halp me please?? do you think it is because the site is under a linux and a win server???
thx a lot
G
Pingback: ???WordPress????????? | WEB??????????
Pingback: ???WordPress????????? | WEB??????????
Pingback: ???WordPress????????? | WEB??????????
Pingback: ???WordPress????????? | WEB??????????
Hi there. Great plugin, except all my subcategories are showing up at the top and I can’t get them to appear as children of their parent categories. Any idea how to fix this? I’m on WP v. 2.71. Thanks!
Ok nevermind – i didn’t have hierarchy checked. DOH! Thanks!!!!
Pingback: SisuCare - Financial Pet Aid During Tough Times « Holywebmaker’s Blog
Hi, MCO plugin was working fine until I upgrade my theme (gazette from woothemes) and WP 2.7.1 Now the navigation menu shows categories and subcategories all at once. What should I do?
Hi,
Help please all my articles disappeared after i installed the plugin.
fixed the problem with my host, happened same time as i installed the plugin ???
Problem with database
lol working fine thanks
Thanks, my problem has been solved!
Pingback: > Wordpress Special | Tavi.WS
I just installed the plugin and it seemed to run OK (using WP 2.7.1)
but when I drag the categories (or subcategories) to the desired order,
and refresh the page, the categories (2nd row of links in the StudioPress Lifestyle template I’m using don’t seem to change; do I need to modify some other parameters? Thanks in advance for a reply to the email address above! :-)
Pingback: ???????? 1 - ?????????????
Hey!
Its a real cool plugin something that i was rather dreaming about until i landed to the solution…. i installed it and then got to saw the “category order option” under posts section of wp admin…i even got to juggle the categories and upon updating, it told me that the categories have been updates… but that was for the good part…upon refreshing my web’s page, nothing happened..the same order is showing ..btw i am using category menu navigation…so what do I do now???…am really in love with this n wanna use it **sigh**
Thanks!
Pingback: wordpressCategory order,????? | WP?WordPress????????
Pingback: WordPress?????KiwareEX1.2?????
Great plugin thank you!!
Anyway to have recent posts be displayed under the category in the widget?
Been trying for 4 hours to work this together with latest post by category with no luck, any insight would be greatly apreciated!
Thanks,
Dale Jacobs
Dale,
Your email is returning undeliverable so hope you get this:
I’m assuming you mean this plugin, http://www.dagondesign.com/articles/latest-post-from-each-category-plugin-for-wordpress/
You’ll need to modify that plugin to allow sorting with the My Category Order order, at line 335 you’ll see this line:
{$sort_code}
Replace it with this line:
ORDER BY {$tp}terms.term_order ASC, post_date DESC
That should make it order with the MCO ordering.
Pingback: Wordpress?????? | ????????
Andrew !
Thank you so much, that worked perfectly.
Would rather not ask the same question again, but for another project I am using http://blogsessive.com/blogging-tools/wp-plugin-latest-posts-by-category-archive/
And am trying to do the same thing as sort the Latest Posts by Category Archive widget to sort by MSO plugin.
I tried to use the code you put above with different variables to match the plugin with no luck.
I fully understand if you don’t have time to solve this issue since you already solved my last, but if its easy!
Thanks agian,
Dale Jacobs
Sorry to post again, but from my digging, I am guessing its something in one of the next two lines, so though tI would post so you didnt need to look through the plugin…
Either here?
$catLink = get_category_link($category->term_id);
Or maybe here?
$catQuery = $wpdb->get_results(“SELECT * FROM $wpdb->terms AS wterms INNER JOIN $wpdb->term_taxonomy AS wtaxonomy ON ( wterms.term_id = wtaxonomy.term_id ) WHERE wtaxonomy.taxonomy = ‘category’ AND wtaxonomy.parent = 0 AND wtaxonomy.count > 0 ORDER BY wterms.term_id”.$excludeQuery.$includeQuery);
Again thanks for your time!
Pingback: ??IT???????? - WordPress ??Plugin ?? 13 - My Category Order
Pingback: VicLovan.com » Plugins info
this is great! just great! :)
Ok, maybe I’m an idiot, but where is the “manage” section where I can access the ordering feature of this plugin? I can’t find it. :-(
Any update for 2.8 in the works? When I upgraded my categories disappeared. I deactivated this plug in and my categories re-appeared. Would love to get the order working again. Thanks for the plugin!
Does not seem to work with WordPress 2.8. I tried to activate/de-activate it as well as reinstall it. I very much like this plug in along with the My Page Order, and would like to know if you plan to pick this back up?
2.8 make us sad. Waiting for update! Good luck!
Waiting for an Update, too! Thx for you hard work. Your plugin is awesome.
Pingback: Wordpress 2.8 Update – inkompatible Plugins » BrasilOnline Newsblog » BrasilOnline NetSolutions
- Installed WordPress 2.8
- Plugin is updated with WordPress 2.8 version
- is in place
- On navigation is says No Categories. When I replace order with ID categories shows up
Mehmet could you please explain a bit more???
@418: You must show up once the MyCategoryOrder Admin Page (for updating taxonomy) … then it works normally again.
BrasilOnline, Your way isn’t work. Every time i visit MyCategoryOrder Admin page i recieve “File /home/advokata/public_html/wp-includes/taxonomy.php has been patched successfully.”
Ok I’ve updated mycategoryorder with 2.8 and then it works. Sorry
How am I supposed to update the plugin with WP 2.8? Should I manually recode the plugin for WP 2.8, or what do you mean?
For 2.8 version in fact, i had the message ” Pas de categories ” in the first time.
I’ve gone to the MYcategoriesOrder Admin pannel and i saw that the wp-includes/taxonomy.php was updated ( automaticly ). I’ve returned to my Home Page and it was OK !
So you just have to go to MYcategoriesOrder Admin panel and it will be fixed !!
Had the same problem with this plugin showing “No Categories” after upgrading WordPress to 2.8 and the plugin to 2.8. Nothing worked except deactivating the plugin, deleting the plugin folder by way of FTP and reinstalling and activating through the plugin panel. All better.
Pingback: WordPress 2.8 ?????????????????????? >> ??????????
Pingback: Wordpress plugins to make your business thrive! | Serendipity Web Solutions
Pingback: ???WordPress???????? ?????25? | ?????????????
on WP 2.7.1 I insert this code in sidebar:
and saw:
CategoryName (5)
after upgrading WordPress to 2.8 I look like the following:
CategoryName
(5)
As I can correct it
Pingback: ??IT???????? - WordPress ??Plugin ?? 14 – My Link Order
Pingback: ?????????????? ????????? - WP-My-Category-Order
Maybe this will help someone else. I could not find the Manage tab, mentioned in the docs. I eventually found a My Category Order link under Posts that seems to do the trick.
So far so good.
hello,
thank you for this great plug in
I am interested in translating to Arabic
how can help?
Pingback: My Top WordPress Plug Ins For Internet Marketers : TomeyBingMarketing.com
Hello. When WP 2.7.1 was released I reported some kind of bug that makes the plugin not work.
Well I stayed with 2.7.0 to use it, and now with 2.8.0 the same problem is happening :(
What can I do to use My Category Order with newer versions? Is it only me having this problem?
You can see my production site at http://Hikari.ws, it is running 2.7.0. At http://wptests.hikarinet.info/ you can see the development system, running 2.8.0, and it says simply “No categories”. :(
To update I simply extracted 2.8.0 and restored wp-content and copied database config file. Everything else it the same, I’ll leave it open so that you can see the bug running.
plz help :(
I just upgraded from WP 2.8 to version 2.8.1 and all categories/subcategories disappeared. Any ideas how to get them back?
Please update to work in 2.8.1
thanks!
Anyone works well in 2.8.1 with this plugins??
“Maybe this will help someone else. I could not find the Manage tab, mentioned in the docs. I eventually found a My Category Order link under Posts that seems to do the trick.
So far so good.”
Thanks so much for your reminding!
I finally found it under Posts too.
By the way, I use wordpress 2.7.1
Hi,
I love the My category plugin and it worked fine until WP 2.8, Now i updated to 2.8.1 and it doesnt work anymore:
The error message is :
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order ASC' at line 1]
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN (‘category’) AND tt.count > 0 ORDER BY order ASC
ARRGGGGHHHHH. I shouldn’t update wp anymore. it always creates problems and always i swear not to do it anymore and then i get tempted again :-)
However, Can you please help to make it run again ????
THANKS SO MUCH !!!
Please Update to 2.8.1
———————-Please Update to 2.8.1
———————————————Please Update to 2.8.1
thanks!
———————-thanks!
———————————————thanks!
;-)
Hi I think the 2.81 problem solves easier than i thought.
Try to get to the plugin settings for my Category Order again and just press the button “Click to order categories” again. Just as if you changed the order and want to update it.
And voila, it works again !!!!
You can see on my site: http://www.oge-gallery.com that it works.
Wow, this was really a small heart attack, but a very simple solution. Hope it helps for you too.
Andrew, thanks so much for this great plugin !!!! and your fast reply !
Hello, I read through all the comments here and number 134 by Phillip is exactly what I’d like to do! I’m on WP 2.3
I would like to have two separate catagory list…one for “search by property type” and one “search by property disttict”
Is this possible and how to do it with your plugin?
Thanks in anticipation,
Dave.
I am a newbie and very ignorant of php. My question is whether we can exclude certain categories with this plugin. My situation is that I have a long list of categories. Among categories i have are names of authors of articles. I would like to have a box in the side bar to list all these or some of the authors. I also have categories like politics, sports, business etc. which I want to put in another box.
Eventhough this plugin is great, if it can help us to add boxex of selected categories, it would be perfect.
thank you
Philip
To fix the “no category” issue, you have to go to page Posts > My Category Order, then change the file permission of wp-includes/taxonomy.php to writable, say “666″ or “766″ or “777″ (as instructed).
@klyuen , In what part of the taxonomy.php file I will add the value “666″ or “777″ as what you are mentioning?
This solve the problem. Thanks klyuen!
I added the 666 value at the very first function of taxonomy.php,
function create_initial_taxonomies() {
register_taxonomy( ‘category’, ‘post’, array(‘hierarchical’ => true, ‘update_count_callback’ => ‘_update_post_term_count’, ‘label’ => __(‘Categories’), ‘query_var’ => false, ‘rewrite’ => 666) ) ;
Pingback: Now it works | The Grand Adventures of Daisy Donnie
Howdy!
I have been using this plugin since 2.7. Around 2.7.1, it stopped working for me. I’ve waited it out thinking maybe it was known, and i didn’t want to pester anyone. However i am running 2.8.2 now with the latest version of your plugin and when i rearrange the categories to the order that i want it doesn’t work. They stay in the same order that they are in now.
I’ve tried changing the taxonomy.php in the category section to rewrite=666, rewrite=777, rewrite=true… each time restarting apache and still didn’t fix the issue.
Any idea’s?
Well i’ve fixed it. Turns out my theme change the way how it displayed that information.
Pingback: ????????????????? - : ?????
I need help!!!!!
I have the latest version of your plug-in. It was working when I had 2.7, but now when i have 2.8.3, it doesn’t work. In the settings I can order with drag and drop, but it doesn’t show in my site. I have categories as a top menu (www.tukhtaev.com/blog) so it is important for me to have that plug-in.
please, help me…
I couldn’t fin taxonomy.php to change the code. Where I can find it?
Thanks in advance!!!
Hi,
have the same issue as the previous post: WP 2.8.3 has broken your wonderful plugin.
Hope it’s easy to fix!
Thanks!
L.
Pingback: Top nh?ng plugin th??ng dùng cho Wordpress | T?P CHÍ TI?N. COM
Hi there, I ahve down loaded the plug in, and activated it, and it works on the admin side of the site, but does not work on the visitor side of the site. I am using wordpress version 2.8.3, with a theme called superblogger. Now I think I have found WHY it’s not working, but Im not sure how to fix. this code is in my header.php file: any suggestion on what to change this to? I would appreciate it
just realised I cant pst code! it looks like this: ?php wp_list_categories(‘sort_column=name&title_li=’); ?
Warning:
Tested in 2 different installations, the widget returns nothing after updating to WordPress 2.8.4 ! I switched to the default category widget.
Waiting for an update & thank again for this great plugin.
Hey There! I, too, am waiting for the bugs to be fized with this loverly plugin so that it is compatible with WordPress 2.8.4
Pingback: My category order not working after WordPress upgrade | Kadimi
The plugin can not work with “Role Scoper”, could you help me, thank you!
Pingback: Kevin » My Category Order
Pingback: ????????????????? - : ?????
Desperate for this plugin to work with 2.8.4 !!!! Any indication of whether this is in the works?
The problem with 2.8.4 is that get_categories now won’t allow “orderby=order” anymore.
Either “orderby=id” or “orderby=name”. Leaving “order” in there will kill the entire output.
Any ideas if this is even fixable?
Pingback: Nützliche Wordpress Plugins - Pooly.net
Pingback: Si të ndryshojmë renditjen e kategorive në WordPress?! | Besart Bajrami
# 2.3 and above: move taxonomy.php to /wp-includes/
What does this mean?
Is there a version compatible with 2.8.4?
It’s a pity get_categories doesn’t seem to respond to ‘orderby=order’. I can usort the resultant categories so it’s not insoluble, but I think it ought to.
Pingback: ??????? ???? | UA-blogger
Hi,
great Plugin. Here one more idea. To use your plugin in websites wich use images for the titel it could be useful to implemnet a checkbox to fade out the default titel “catgories” if no titel is typed in the widged.
Best regards
Pingback: MichelFortin.com’s Active Plugins | BootStrapNow
Pingback: Favorite WordPress Plug-ins | The Oddball Group
Pingback: ??? ??????? | ?????????? ? ???????
Pingback: Wordpress Folding Category List - Lonewolf Designs
Pingback: WordPress 2.8.5 ???????????????? >> ??????????
First of all, let me say I am using the plugin successfully in my blog. It works just fine!
However, I couldn’t stop being bothered that it patches a core WordPress file. Digging a little bit, I noticed that the function that is being patched accepts filters, which means that you can attach custom code to it without touching the WordPress files.
Is that an alternative you considered?
Thanks!
Hi,
If you aren’t using widgets, modify sidebar template to use correct orderby value: wp_list_categories(‘orderby=order&title_li=’);
This does not works in wordpress 2.8.5
Thanks.
Oh my. This widget it perfect! Now sure why something so simple can’t be done in the wp system to begin with but I guess that leaves the doors open for guys like you to use your creative talents. Thank you!
Pingback: WordPress??????15???????? | WordPress???????????????????????
Pingback: ?????????????(s91???) - ?????????
Pingback: ?? | ????????????? « MUKI space*
Pingback: ?????????????????WordPress????????????? | ?????
Hey,
Your Plugin works great for me, but there was a lack of selecting the current-cat css class in the single post view. i have added this functionality to the plugin. if anyone is interested in this, please send me an email.
this can also help if someone needs this hack: http://codus.mho.org.in/quick-n-dirty/wp-current-cat-in-single-posts/
cya
Plugin looks awesome but it doesn’t work with 2.8.5! Please update it.
Pingback: jeffwarren.org
2.8.5 update made this plugin stop working. I hope a fix is on the way?
Pingback: ??????? ??? Wordpress, ???????? ????????? ? | DESIGN STYLES - ???????????? ??????? ? ???-??????
hey there,
i love the idea of your plugin and GREAT job on the idea, especially on the drag&drop interface on the backend!
anyhow, the changes i make there are not visible on the frontend of my site, even after i inserted the code snippet you suggest :(
i read some other users are having the same problem. is there any kind of a cure yet? would be amazing.
thanks in advance!!
johanna
Hi there
Your plug in is very very useful. The plug in works with the categories listed on my side bar but it deosn’t work on the categories listed in the header. ( same list different position).
Can you please help me make the plug in organize the categories in the header as well.
Thanks In advance
never mind i figured it out
I love this plguin. Alas, it’s broken in 2.9 too (as of the version I checked out from SVN about an hour ago, r12181).
Hi,
First I love your plugin, so thank you.
I was wondering if there was a way to make the sub/child categories collapsable/folding either on click or hover in the drop down? Hopefully that makes sense. I’m trying to have only the parent categories show when the drop down is pulled up and then either on hover or click have the child categories appear.
Thank you.
Duane Smets
@Stephanie Leary – it’s working ok for me in 2.9. Have you visited the “My Category Order” admin page after upgrading and then clicked “Click to Order Categories”. That’s a must for me after every WordPress upgrade.
Pingback: WordPress 2.8.6 ???#more??? >> ??????????
Yes, I see now why that’s necessary. Working great. Thanks!
Love the plugin… I have one suggestion to include on the instruction tab @ WP.org. After I upgraded to WP 2.8.6, the plugin was broken. I had to go back in and reset the file perms on wp-includes/taxonomy.php because for some reason, when WP upgrades, it does not respect file perms on that one and it changes it back to 644. It took me a while to figure out why the plugin was broken, so maybe on the instruction tab, you might mention that you have to edit file perms on taxonomy.php after each WP upgrade.
Thanks for a great plugin!
Pingback: ?????????????? | ???????????????SEO???????W3C?????????tro-suke
Pingback: Wordpress??????? « Geecrat
Hello there,
I would like to know if there is a way I can get category list for a particular Post using your sorting method. You can see the “Starring” section on each latest movie on my website. I want to order them plus want to keep my look and feel.
Any help is highly appreciated.
Thanks,
Pratik