Skip to content

coderog-software/primary-category-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Primary Category Manager WordPress Plugin

Display and change the primary category of posts directly from the WordPress post list with inline editing using AJAX.

Features

  • Adds a "Primary Category" column to the post list.
  • Displays the primary category of each post.
  • Allows inline editing of the primary category using a dropdown.
  • Uses AJAX for smooth and fast updates.

Installation

  1. Upload the plugin files to the /wp-content/plugins/primary-category-manager directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Go to the post list to see the new "Primary Category" column and start using the inline editing feature.

Usage

  1. Navigate to the WordPress post list.
  2. Click on the primary category name to display a dropdown.
  3. Select the new primary category from the dropdown.
  4. The primary category will be updated via AJAX.

FAQ

Can I change the primary category for custom post types?

Currently, this plugin supports only the default 'post' post type. Support for custom post types may be added in future releases.

Will this plugin remove existing categories from my posts?

No, the plugin retains all existing categories and only updates the primary category.

Screenshots

  1. The "Primary Category" column added to the post list.
  2. Inline editing of the primary category using a dropdown.

Changelog

1.1

  • Added custom CSS for better styling.
  • Improved the AJAX request to retain existing categories.

1.0

  • Initial release.

License

This plugin is licensed under the GPLv2 or later license. For more information, see GPLv2 License.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any bugs or features.

Author

Acknowledgements

  • Inspired by the need for a simple solution to manage primary categories in WordPress.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published