From cdb7185b72cf77c90607a69b3742e966fe1e775f Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Tue, 24 Mar 2015 17:37:15 +0000 Subject: [PATCH] First commit --- settings.php | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ tagimporter.php | 32 ++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 settings.php create mode 100644 tagimporter.php diff --git a/settings.php b/settings.php new file mode 100644 index 0000000..4e6b9e7 --- /dev/null +++ b/settings.php @@ -0,0 +1,55 @@ +
+

Tag Importer

+ + '' && wp_insert_term( $term, $tax) ) { + $success++; + } + } + + echo "

Saved $success terms.

"; + +} +?> +
+ +
+

Choose a taxonomy to import into:

+ + +

+ Paste in your tag names (terms), one tag on each row. Duplicate tags will only be added once. +

+ + + +
diff --git a/tagimporter.php b/tagimporter.php new file mode 100644 index 0000000..675ef05 --- /dev/null +++ b/tagimporter.php @@ -0,0 +1,32 @@ +