WP 6.8: Meta boxes no longer auto-scroll due to new resize handle

Has a Temporary CSS solution. I hope WordPress at least makes this optional so users can disable it if they want to. Add this to functions.php add_action(‘admin_head’, function () { echo ‘<style> .edit-post-meta-boxes-main.is-resizable { height: auto !important; min-height: 100% !important; max-height: 900% !important; overflow: visible !important; } .components-resizable-box__container.editor-resizable-editor { height: auto !important; } .editor-visual-editor { … Read more

WP_Query returns wrong post when searching by title?

We should be able to fix the query by doing this instead: $query = new \WP_Query([ ‘post_type’ => ‘location-data’, ‘posts_per_page’ => 1, ‘post_status’ => ‘publish’, ‘title’ => $title ]); This is because page is unnecessary and may not be the parameter you actually needed, paged would have been more appropriate, but it too is unnecessary. … Read more