masonitedoors / widen-media Goto Github PK
View Code? Open in Web Editor NEWSearch & add Widen digital assets to your WordPress Media Library.
License: GNU General Public License v2.0
Search & add Widen digital assets to your WordPress Media Library.
License: GNU General Public License v2.0
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.
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.
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.
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.
cc @ipetty14
This data should be stored within the site's database utilizing update_user_meta().
#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.
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>
WordPress natively allows users to add/upload files to the media library. This proposed setting would disable that functionality and only allow widen assets via this plugin to be added.
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.