WordPress Developer Ukraine, Kyiv
WP_Query Loop: Incorrect Sort Order with AJAX Filters

WP_Query Loop: Incorrect Sort Order with AJAX Filters

WP_Query loop: incorrect sort order with AJAX filters A custom loop with AJAX filters sorted posts correctly for one post type and incorrectly for another. The query arguments were the same, which was a mystery at first. The culprit turned out to be a plugin that changes the order of posts for the post types…
Gutenberg: Troubleshooting “Updating Failed” Errors

Gutenberg: Troubleshooting “Updating Failed” Errors

Gutenberg: troubleshooting “Updating failed” errors The Gutenberg editor saves posts through the REST API. When saving fails, the editor shows a generic “Updating failed” banner that gives no clue about the actual cause. Here are the five most common reasons and how to fix each one.
WordPress: Layout Broken by Unexpected HTML Tags in ACF Fields

WordPress: Layout Broken by Unexpected HTML Tags in ACF Fields

WordPress: layout broken by unexpected HTML tags in ACF fields A layout looks perfect on localhost but is broken on the staging or production server. The template code is the same, Git is in sync. The culprit is often invisible: a content editor copied text from another website or a Word document and pasted hidden…
WordPress Mixed Content: Site Uses HTTPS but Assets Load Over HTTP

WordPress Mixed Content: Site Uses HTTPS but Assets Load Over HTTP

WordPress mixed content: site uses HTTPS but assets load over HTTP Your site runs on HTTPS, but images, scripts or stylesheets still load over HTTP. Browsers block these “mixed content” requests, and in some cases they even make Gutenberg fail to save. The root cause is almost always a hardcoded http:// URL somewhere in wp-config.php,…