Coder Social home page Coder Social logo

masonitedoors / widen-media Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 7.0 379 KB

Search & add Widen digital assets to your WordPress Media Library.

License: GNU General Public License v2.0

JavaScript 6.22% PHP 88.53% SCSS 5.25%
cdn dam digital-asset-management media-library wordpress wordpress-plugin

widen-media's Issues

Support Document File Types

It would be great for the plugin to be able to support document file types (e.g. .pdf, .docx .txt) and allow for them to be uploaded to Wordpress from Widen.

Add pagination to search results

We need pagination within the search results as it currently caps out at 100 (the request limit).

Total amount of results for that search should also be displayed.

Add filter for search

A great feature for this would be to filter what a based on file type or category of files to see. An example of this would be to display only images or only documents. Also, filters could be added for showing only .pdf or .png. This would rely on #21 for the document support before it would be feasible.

Allow user to sync meta data from Widen

Currently once an asset is added there is no way to automatically update the asset's metadata within WordPress with any changes from Widen.

This should be a button somewhere within wp-admin to initiate this action

We can also create a widen-media WP-CLI command to allow for metadata syncs programatically.

Add pagination to bottom of search results.

#3 added helpful pagination to the search results. Pagination added to the bottom of the page would be amazing so that a user doesn't have to scroll all the way back up to the top of the results each time.

Cannot add a new page to a menu when plugin is active

In the menu screen of wp-admin, when this plugin is active, a 500 error can be seen when attempting to add a new page to a menu.

<br><b>Uncaught Error</b>: Cannot use object of type WP_Error as array in <b>/opt/masonite-wp/var/www/html/wordpress/wp-content/plugins/widen-media/lib/Admin.php</b> on line <b>974</b><br><ul><li>save_post_collection_cb()<br><span class=“qm-info qm-supplemental”>wp-includes/class-wp-hook.php:289</span></li><li>apply_filters()<br><span class=“qm-info qm-supplemental”>wp-includes/class-wp-hook.php:311</span></li><li>do_action()<br><span class=“qm-info qm-supplemental”>wp-includes/plugin.php:478</span></li><li>do_action()<br><span class=“qm-info qm-supplemental”>wp-includes/post.php:4153</span></li><li>wp_insert_post()<br><span class=“qm-info qm-supplemental”>wp-includes/nav-menu.php:521</span></li><li>wp_update_nav_menu_item()<br><span class=“qm-info qm-supplemental”>wp-admin/includes/nav-menu.php:961</span></li><li>wp_save_nav_menu_items()<br><span class=“qm-info qm-supplemental”>wp-admin/includes/ajax-actions.php:1491</span></li><li>wp_ajax_add_menu_item()<br><span class=“qm-info qm-supplemental”>wp-includes/class-wp-hook.php:287</span></li><li>apply_filters()<br><span class=“qm-info qm-supplemental”>wp-includes/class-wp-hook.php:311</span></li><li>do_action()<br><span class=“qm-info qm-supplemental”>wp-includes/plugin.php:478</span></li><li>do_action()<br><span class=“qm-info qm-supplemental”>wp-admin/admin-ajax.php:175</span></li></ul><p>There has been a critical error on your website.</p><p><a href=“https://wordpress.org/support/article/debugging-in-wordpress/”>Learn more about debugging in WordPress.</a></p>

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.