Code Monkey home page Code Monkey logo

wp-media-categories's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wp-media-categories's Issues

Feature Request: Add checkboxes for category selection

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.

List view in media library

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.

Category picker in list view

2. Media library in tile view

However, I don't use the list view. I rather select the tile view in media library.

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.

Category input field in list view

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.

Broken Loading

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.

Inconsistency in the variable type of the function

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.

Breaks front-end search

When activated, the plugin changes the post type of the front end search to 'attachment' which means posts aren't displayed in search results.

Feature Request: Change term 'media-category' in URI

I would like to change the term 'media-category' that is used in the URI to address individual media categories. I've tested other plug-ins and they had an options page, where developers could set that part of the URI individually.

Change term in URI of media category

It would be neat, if you could add such a feature as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.