Custom Field select list is truncated

As explained here there is a WordPress limit of 30 for the number of custom fields that are available by default. But you can change the behavior as shown with the hook postmeta_form_limit in the below example. add_filter( ‘postmeta_form_limit’ , ‘customfield_limit_increase’ ); function customfield_limit_increase( $limit ) { $limit = 100; return $limit; }

How to Filter in the “Add Media Popup” to show only “unattached” Media

Can’t deliver a working example but there is this relevant section in wp-includes/js/media-views.js on Line 3173: media.view.AttachmentFilters.Uploaded = media.view.AttachmentFilters.extend({ createFilters: function() { var type = this.model.get(‘type’), types = media.view.settings.mimeTypes, text; if ( types && type ) text = types[ type ]; this.filters = { all: { text: text || l10n.allMediaItems, props: { uploadedTo: null, orderby: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)