WordPress.org

Ready to get started?Download WordPress

Forums

Media Library Categories
[resolved] Mixing with posts categories... (9 posts)

  1. John
    Member
    Posted 4 months ago #

    This is very helpful for some things I'm doing with images, and I want to ditto a couple others here in this forum and say I also would like to see it totally separate from the posts WP posts categories, both a separate category panel in the backend as well as the image categories not showing in a front end category widget...

    Also, as it presently is it doesn't give a count of items in the image categories, either in the front or back end, and that'd be nice to have as well...

    I tried using your snippet in your FAQ in my child functions.php, but it breaks your plugin... Pulling it back out cleared the problem though, with no lasting effects, which was appreciated...

    https://wordpress.org/plugins/wp-media-library-categories/

  2. jeffrey-wp
    Member
    Plugin Author

    Posted 3 months ago #

    If you wish to seperate the categories in the library from the categories in WordPress posts and pages. This is possible, please look at the faq.

    But I see you have already tried this and it won't work. I have also seen in your user activity that your trying out some other plugins. Maybe they are causing for conflict? Have you tried disabling the other plugins and does the seperation of categories then still don't work?

    I will take a look a the count of the items in the images categories.

  3. John
    Member
    Posted 3 months ago #

    Thanks for getting back here, and yes the snippet didn't work for me...

    A lot of my user activity regarding plugins is related to sites other than the one I'm using this plugin on...

    I just disabled all but essential plugins, which are also ones I either have a lot of confidence in from using in other sites, or are clearly benign... Then I retried the snippet in my theme's function.php, and the same thing happens, breaks your plugin...

    Breaking in this case meaning basically the column for image categories remains, but all of the categories are removed, leaving a "-" ...

  4. John
    Member
    Posted 3 months ago #

    P.S...

    The categories for the individual images return when the snippet is removed...

  5. John
    Member
    Posted 3 months ago #

    OK, here is more...

    I really would like to keep using this plugin, it helps with what we are doing with some images a lot...

    First to say that the same thing happens whether I put the snippet in through the child's function.php file via Appearance/Editor, or I put it in through the Code Snippets plugin...

    So now I have your plugin installed in a test site that has only your plugin activated, only Jetpack even installed otherwise, a brand new install I am going to be using at some point to test some things but is just sitting there now... It has the theme I am using installed with it's Child, a clean theme install as well, and a theme I've used a lot, and that is kept very up to date by it's developer... I've uploaded a few web optimized images and set a couple categories for them...

    And again the same exact thing happens... As soon as I put your snippet into the Child function.php it breaks your plugin in the same exact way as described above...

    I've left it that way for now... If you want to give me an email address I can send you a link and admin login to that site...

    Obviously I want to help with this, because it is a great plugin ass well as especially useful to us...

    So hoping you will have some time to address this... :-)

    Regards.

  6. jeffrey-wp
    Member
    Plugin Author

    Posted 3 months ago #

    The snippet creates a seperate new group of categories for the media library. So it is meant to remove all the associated categories (because they are the categories from post and pages). By default the new group of categories for the media library is empty, only leaving a "-". You have to create your own categories in the categories submenu under media.

  7. John
    Member
    Posted 3 months ago #

    Thank you for this, that wasn't clear before but now it is, and after redoing categories (with which the plugin helped immensely!) it seems to be working perfectly in these regards...

    Being a bit of a perfectionist that I am, the count on items in each category, in the image categories admin page, though there are items in all, is showing 0 (zero) on 7 out of 8 categories... Interesting that the one that does show the count (accurate), is the last one..?

    AND, greatly appreciating this plugin, a whole LOT... :-)

    Kind Regards.

  8. John
    Member
    Posted 3 months ago #

    Was back and forth with marking this resolved, but it IS in fact very resolved and appreciated, though I am curious about the count in the categories, hoping you might still respond to that here...?

  9. jeffrey-wp
    Member
    Plugin Author

    Posted 3 months ago #

    The count in the categories is fixed in version 1.4.8 and in Premium version 2.0.2.
    After a category is changed / added or removed from a media item all the counts will be correctly updated.

Reply

You must log in to post.

About this Plugin

About this Topic