Skip to content

Mit Sortable Tag Count wird bei WordPress in der Adminübersicht der Beiträge und Seiten eine neue, sortierbare Spalte eingefügt. Diese enthält die Anzahl der jeweils vergebenen Schlagwörter (Tags).

License

Notifications You must be signed in to change notification settings

ThomasKujawa/sortable-tag-count

Repository files navigation

Sortable-Tag-Count

Why?

In one project, we had assigned several hundred keywords. In an SEO audit, we were advised to minimize the number of keywords. Deleting the keywords was of course no problem. Redirecting the now missing archive pages was also straightforward. However, I was now faced with the problem of which of the several blog posts now had none, one or x keywords. I couldn't find a solution or a code snippet anywhere.

Description

Features

The plugin adds a new, sortable column to the overview of pages and posts in the backend. The number of assigned keywords is displayed in this column. When the posts or pages are updated, the number is updated if necessary.

Usage

Activate the plugin. The column is displayed. Click on the column header to change the sorting.

Playground:

Click here to start the plugin in playground.

Frequently Asked Questions

Does this plugin work with PHP 8?

Yes, it's actively tested and working up to PHP 8.3.

Check for WordPress Coding Standards

Initialize

composer install

Run

vendor/bin/phpcs --extensions=php --ignore=*/assets/*,*/vendor/* --standard=ruleset.xml .

Repair

vendor/bin/phpcbf --extensions=php --ignore=*/assets/*,*/vendor/* --standard=ruleset.xml .

Check for WordPress VIP Coding Standards

Hint: this check runs against the VIP-GO-platform which is not our target for this plugin. Many warnings can be ignored.

Run

vendor/bin/phpcs --extensions=php --ignore=*/vendor/*,*/node_modules/*,*/block/*,*/svn/*,*/src/* --standard=WordPress-VIP-Go .

About

Mit Sortable Tag Count wird bei WordPress in der Adminübersicht der Beiträge und Seiten eine neue, sortierbare Spalte eingefügt. Diese enthält die Anzahl der jeweils vergebenen Schlagwörter (Tags).

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors