Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Category Import

This is a plug-in allowed user to bulk create categories with certain input format. Meanwhile, the plugin forces the category display by id.

1.How can I import categories?

You can put one category per line.eg:

Chapter One

Chapter Two

Chapter Three

You can also create a hierarchy by placing a slash between categories in one line. eg: Level A / Level B / Level C

If you have a hierarchy like this

Level A - Level B - (Level C/Level D) (level C and level D are both the sub-cateogries of level B)

You can put it either in this way

Level A / Level B / Level C

Level A / Level B / Level D

or this way

Level A / Level B / Level C

Level B / Level D

According to the plugin, the second one will be more efficient.

2.How to import subcats with the same name

From version 1.0.2, between each slash, you are allowed to put a delimiter to separate the category name and slug. The plugin will then use the slug to identify different category. Be notice that if the slug is not given, name will also be used as slug. By default, the delimiter is dollar("$"), but you can change it to any character you want, except slash("/").

eg:

input

Level A1 / Level B$level-b1 / Level C$level-c1

Level A2 / Level B$level-b2 / Level C$level-c2

output

Level A1 - Level B - Level C

Level A2 - Level B - Level C

3.Can I remove the order by id feature?

At the version 1.0, I didn't provide a switch for this feature. But if you want to do this, simply open the 'categoryImport.php' file with your notepad. Find the line 100, you should see a line of code like this:

add_filter('get_terms', 'order_category_by_id', 10, 3);

If you find that, put two slash at the beginning of this line:

//add_filter('get_terms', 'order_category_by_id', 10, 3);

Save and close the file. That's it.

Requires: 3.0.0 or higher
Compatible up to: 3.0.5
Last Updated: 2011-5-12
Downloads: 6,340

Ratings

4 stars
4.4 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1 100,1,1
100,2,2
100,2,2
33,3,1
100,1,1
100,1,1