New answers tagged media-library
Just add frame: 'post', to wp.media attributes. There are two types of pre-built frames in WordPress 3.5 – post and select. Select is the default frame type and it is the interface that is created in the custom-header.js file. The post frame is what appears when we click on the Add Media button while editing posts or pages. Information from ...
I disabled the post thumbnail editor plugin, then everything started to work again as normal. But for the general advise for similar kind of issue is, disable your plugins one by one and test. Then you can find the plugin which is not compatible with wordpress update. So that you can disable that plugin at lease until it is giving new update. ...
The easiest way around this is probably to reset the Admin password on the old Database. If you have PHPMyAdmin or a very similar DB admin interface, do the following: Import the old database. Open the user's table, usually called 'wp_users'. Find the user you wish to change the password for, and replace the contents of the 'user_pass' field with a plain ...
Found the problem. It was a problem with my host, in the path the ID3 folder name was uppercase, while on the server for some reason it was lowercase, this is why it didn't find it.
Order by the author's display name: This is most likely by design, because the only information about the author in the wp_posts table is the author ID. We can join it with the wp_users table to get more information about the user and then modify the order accordingly. Here's an example how we can order by the display name: /** * Modify the author ...
Ended up taking a different approach - I exported all the content I had already created so I didn't lose it, used the WB Migrate DB Pro plugin to import the content I wanted to carry over from my old site, and them imported all the new data again. A bit roundabout but effective!
Verify that the "GD" php library is enabled. You can do so by adding phpinfo(); to one of your php templates and then search the result for GD or GD Support. The GD library is used for image manipulation and resizing is one of those functions. To enable GD on windows you can edit the php.ini file in your php installation and uncomment the php_gd2.dll ...
From the WP-CLI documentation about wp post delete: wp post delete $(wp post list --post_type='attachment' --format=ids) See wp post list for additional information.
Top 50 recent answers are included