stuttter / wp-media-categories Goto Github PK
View Code? Open in Web Editor NEWCategories for media & attachments
License: GNU General Public License v2.0
Categories for media & attachments
License: GNU General Public License v2.0
The plug-in uses different user controls to define categories of an image in the media library.
1. Media library in list view
Open media library of WordPress and select list view option.
Now click any image in the library and it will open in detail. For category assignment, the plug-in now displays a couple of checkboxes to select the desired categories. This works fine and this is what I would expect.
2. Media library in tile view
However, I don't use the list view. I rather select the tile view in media library.
Now it I click an image, it opens in a dialog that does not have checkboxes for category selection. There simply is a text field that I have to enter the desired category. Furthermore, there is an additional input field 'Image link' that I don't even know, what it is used for. Text fields for category selection are very bad in terms of usability.
So my question is: Why does the plug-in not use checkboxes here for category selection as well? This would improve usability and is less error-prone than text fields. The same applies to the 'Add media' dialog in posts. There, we also have text fields instead of checkboxes.
This is a no-go for me. I really like the idea of the plug-in, but I cannot use it in my WordPress installations, when there are text fields to define media categories.
The infinite loading (and fall back load more button) are both not working when this plugin is active. I don't mind hitting the load more button if we can actually browse the media library.
When I make ajax calls I get a plugin error.
Looking at the code I found this in: wp-media-categories/wp-media-categories/includes/functions.php
function wp_media_categories_update_count_callback( $terms = array(), $media_taxonomy = 'media_category' )
$prepared = $wpdb->prepare( $sql, $media_taxonomy->name, $media_taxonomy->name );
$media_taxonomy
is defined as a string but used as an object.
When activated, the plugin changes the post type of the front end search to 'attachment' which means posts aren't displayed in search results.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.