Skip to content
Get Started

Categorize Media

Categorize Media organizes the Media Library with a folder tree in the sidebar. Drag files into folders and manage folder settings from a modal.

  • Create folders in bulk, duplicate folder trees, sort them, and navigate back to a parent using breadcrumbs.
  • Drag files into a folder or choose a destination from the searchable Upload to folder list on supported upload screens. The list shows parent folders and their subfolders.
  • Use folders in supported media and gallery pickers. Enable Multilingual assignments to include linked media translations from WPML or Polylang.
  • Use a media folder as the source for a gallery on a post or page.

This module used to be labeled Media Categories. Same tool, clearer name.

Enable it if:

  • You want editors to file images as they upload them or maintain a gallery from the Media Library.
  • You want this Content feature without installing a separate plugin for it.
  1. Go to WP PowerSuite -> Modules.
  2. Open Content or search for Categorize Media.
  3. Toggle Categorize Media on.
  4. Confirm WP PowerSuite Pro is installed and your license is active.

Toggle it off anytime to stop this module from loading.

  1. Open Advanced settings from the Media Library and enable Front-end folder galleries. You can also enable Masonry gallery layout or Gallery lightbox here.
  2. In the block editor, insert the Folder Gallery block and choose the folder. For a shortcode, use [wppsmodule_folder_gallery folder="123"] and replace 123 with your folder ID.
  3. Choose a grid or masonry layout, set captions as needed, and preview the page. Public galleries exclude restricted folders and images attached to private or password-protected posts.

To check the gallery, add a public image to the folder and reload the published page. A cached page shows the change after its cache refreshes.

  • No change after enabling. Confirm the toggle is on, hard-refresh, and review this module’s settings.
  • Conflicts. Temporarily disable other plugins that implement the same feature.
  • Locked / inactive. Install WP PowerSuite Pro beside the free plugin and activate your license.
  • Unexpected side effect. Toggle Categorize Media off to revert, then re-enable with adjusted settings.

Prefer the command line? You can turn this module on or off with WP-CLI instead of the dashboard:

Terminal window
# Turn the module on
wp powersuite module enable content-folders
# Turn the module off
wp powersuite module disable content-folders
# Check whether it is on, its category, and where its settings live
wp powersuite module get content-folders

Managing more than one site? Add --url=https://example.com to point a command at one site. If this is a Pro module, install WP PowerSuite Pro and activate your license first. New to WP-CLI? See the full command guide.

What does Categorize Media do?

Organize the Media Library into folders, choose a folder at upload time, and publish a gallery that follows its folder.

Is Categorize Media included in WP PowerSuite Pro?

Yes. Categorize Media ships in the WP PowerSuite Pro add-on. Install Pro beside the free plugin and activate your license.

Does Categorize Media need configuration?

Enable the module to organize media. Open Advanced settings in the Media Library to choose features such as bulk folder creation and front-end galleries.

How do I turn Categorize Media off?

Go to WP PowerSuite → Modules, find Categorize Media, and toggle it off.

Developer notes (hooks & filters)

Source: modules/content-folders/module.php, modules/content-folders/views/media-sidebar-folder-item.php, modules/content-folders/views/media-sidebar.php. Boot: standard · context: admin, ajax, frontend, rest.

Hooks (non-exhaustive): init, add_attachment, ajax_query_attachments_args, wp_ajax_wpps_folders_add, wp_ajax_wpps_folders_update, wp_ajax_wpps_folders_delete, wp_ajax_wpps_folders_settings_save, wp_ajax_wpps_folders_reorder, wp_ajax_wpps_folders_assign_media, admin_enqueue_scripts, load-upload.php, admin_body_class, admin_footer, admin_notices, manage_media_columns, manage_media_custom_column.