GithubHelp home page GithubHelp logo

eddiemoya / media-categories Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 824 KB

WordPress Plugin to enable media categories - http://wordpress.org/extend/plugins/media-categories-2/

Home Page: eddiemoya.com

JavaScript 20.88% CSS 3.15% PHP 75.97%

media-categories's People

Contributors

blwbebopkid avatar eddiemoya avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

blwbebopkid

media-categories's Issues

Bulk change categories for multiple media items

Hi!
Thanks for a great plugin!
It would be an awesome feature if you could select multiple media items and bulk change categories for them. I think it is a common workflow to upload multiple media files by dragging and dropping them for upload. But after uploading i cannot find a way to bulk change multiple media files to a specific category. The only way now seems to be to edit every single one by one which is tedious when you have hundreds of media files that you'd like to share the same category.

skarmavbild 2013-09-17 kl 12 40 38

Plugin breaks Jetpack Tiled Galleries

Hello, as soon as Media Categories-Plugin is being enabled in WordPress, Jetpack Tiled Galleries stops working and WordPress shows the standard gallery layout!

This question was already posted in the WordPress board, but until now there was no solution to this problem.

I think the problem is that both plugins are modifying the gallery shortcode and this results in a conflict!

Would be glad if you could fix the problem.

Regards DonTimo

PDF media gallery

I'm trying to either create an RSS feed of PDF newsletters I've uploaded, or use your Gallery/Category feature to do the same.

The plugin works with jpg and png media files, but, when I create a category for PDF docs and then make that it's own gallery, nothing shows up.

Any suggestions?

Thanks~

File ordering

It would be great if there was a way to order the gallery items.
I can do this by updating the database table but this doesn't help my client.
Great plugin though!

PHP Strict Standards: Declaration of Attachment_Walker_Category_Checklist:

I am getting the following warning messages when I switch on Wordpress debugging. Using Wordpress 3.9.1 and Media Categories 1.5

[28-Jun-2014 22:23:37 UTC] PHP Strict Standards: Declaration of Attachment_Walker_Category_Checklist::start_lvl() should be compatible with Walker::start_lvl(&$output, $depth = 0, $args = Array) in /content/sites2/p/u/pushingouttheboat.co.uk/web/wp-content/plugins/media-categories-2/attachment-walker-category-checklist-class.php on line 37 
[28-Jun-2014 22:23:37 UTC] PHP Strict Standards: Declaration of Attachment_Walker_Category_Checklist::end_lvl() should be compatible with Walker::end_lvl(&$output, $depth = 0, $args = Array) in /content/sites2/p/u/pushingouttheboat.co.uk/web/wp-content/plugins/media-categories-2/attachment-walker-category-checklist-class.php on line 37 
[28-Jun-2014 22:23:37 UTC] PHP Strict Standards: Declaration of Attachment_Walker_Category_Checklist::start_el() should be compatible with Walker::start_el(&$output, $object, $depth = 0, $args = Array, $current_object_id = 0) in /content/sites2/p/u/pushingouttheboat.co.uk/web/wp-content/plugins/media-categories-2/attachment-walker-category-checklist-class.php on line 37 
[28-Jun-2014 22:23:37 UTC] PHP Strict Standards: Declaration of Attachment_Walker_Category_Checklist::end_el() should be compatible with Walker::end_el(&$output, $object, $depth = 0, $args = Array) in /content/sites2/p/u/pushingouttheboat.co.uk/web/wp-content/plugins/media-categories-2/attachment-walker-category-checklist-class.php on line 37 

Taxonomy counts are incorrect.

Originally reported in a comment here: #7 (comment)

The count of how many media items are in a given term is not being updated.

I believe this is probably due to taxonomy caching, which should be a simple fix.

Metaboxes not functioning properly when using a non-hierarchical taxonomy

Javascript acts strange. When adding new term it gets double posted. On saving, the term using used, instead new terms are created with numbers as names - probably the ID's of the terms that were selected.

Two metaboxes appear, one that is the custom hierarchical metabox and a standard non-hierarchical metabox.

Column sorting not sorting properly

Go to Media Library
Click on any taxonomy column's header

Expected Result:
Media items are sorted by terms alphabetically

Actual Result
Media items are sorted partially alphabetically with unpredictable mistakes in the order.

Media Files not being included in Category Template

Hi,

I'm using WordPress 3.7.1 and Media Categories 1.5.

I have a few images uploaded to the Media Library which are under different categories. But when I view any of these categories, the WordPress loop is not including attachment posts.

I tried modifying the query to include 'any' or 'attachment' post types by editing functions.php in my theme, but none is returning anything.

add_action( 'pre_get_posts', 'category_attachments' );

function category_attachments( $wp_query ) {
    if ( $wp_query->get( 'category_name' ) || $wp_query->get( 'cat' ) )
        $wp_query->set( 'post_type', array('attachment') );
}

If it's of any use, I can share a dump of the query from the category.php file.

Media Modal "Metafauxes" glitch open after save.

This bug only appears when using multiple taxonomies with Media Categories

  1. Go to any post.
  2. Click Add Media
  3. Click any media item
  4. Expand one of the taxonomies
  5. Check or uncheck any term
  6. Move the mouse out of the area

Actual Result:
The result is that all metaboxes are expanded.

Expected Result:
The states of the metaboxes as they were before the autosave should be preserved.

issue with custom taxonomy in media overlay

Hi Eddie - been working with your plugin for possible use on client project. I started with ver 1.4, in a test install of WP 3.5. I saw there were some formatting issues so I located this 1.5 beta version you are working on.

When using the standard Category taxonomy it is working just as you described.

But I am trying to use a hierarchical custom taxonomy and getting different results with it. (My custom taxonomy is working perfectly in the Media Library, page, so I know it is correct).

When I add
add_filter('mc_taxonomy', 'mwd_mc_filter_taxonomy');
function mwd_mc_filter_taxonomy($taxonomy) {
if ( $taxonomy == 'category' ) {
$taxonomy = 'clip';
}
return $taxonomy;
}
to functions.php, the plugin line that displays the taxonomy name and the down arrow to its right is appearing. However nothing happens when I click the down arrow. Also, the WP default taxonomy tag-like entry field appears above it (it is correctly displaying the two terms this test image is assigned to) When I switch to the WP default Category taxonomy, clicking the down arrow does display the category terms, and the default media overlay single taxonomy entry field is hidden.

To summarize, the 1.5 plugin version works correctly with the default WP Category taxonomy but seems to not be working correctly with a custom taxonomy.

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.