Apraksts
This plugin ensures that all posts will always be in the default category. Whenever any post is saved, all posts not currently in the default category are put in the default category. For example, by renaming the default category ‘All’ you always have a category containing all posts.
Uzstādīšana
- Unzip all-posts-default-cat.zip to the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Save any post, this will put all posts in the default category.
- From now on, any time a post is saved, all posts will be kept in the default category.
BUJ
Why would you want to put all posts into the default category?
One reason is to rename the default category to “All” and ensure that all posts will always be in that category.
But isn’t the default category named “Uncategorized”?
Yes, but this can be renamed, for example to “All”.
How do I rename the default category?
Go to Dashboard->Posts->Categories. Edit the first category, this is the category with id ‘1’ and has no checkbox for bulk actions.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“All Posts Default Category” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “All Posts Default Category” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.0
- First stable release
1.1
- Made a change to detect default category instead of assuming default category id of ‘1’