WordPress Developer Ukraine, Kyiv
CSS Grid layout fundamentals for WordPress theme developers

CSS Grid layout fundamentals for WordPress theme developers

CSS Grid layout basics for WordPress theme developers For years theme layouts were built with floats or with the Bootstrap 12-column grid. Both work for equal columns, but anything asymmetric means nested rows, offset classes and clearfix hacks. CSS Grid works in two dimensions at once, rows and columns, so one rule on the container…
Details
Get the current logged-in user data in WordPress

Get the current logged-in user data in WordPress

Get the current user in WordPress: wp_get_current_user() and friends Showing the name of the logged-in user, loading their own data, hiding a block from guests: almost every project needs the current user. WordPress has a small set of functions for it, and the only real pitfall is calling them too early, before WordPress knows who…
Details
Change the WordPress login URL without a plugin

Change the WordPress login URL without a plugin

Hide the WordPress login page behind a secret key, without a plugin Every bot on the internet knows /wp-login.php, and a new site gets password guessing attempts within hours. Moving or hiding the login page does not make passwords stronger, but it removes almost all of this automated noise: fewer requests, smaller logs, less load.…
Details
Add a custom field to the WooCommerce checkout page

Add a custom field to the WooCommerce checkout page

Add a custom field to the WooCommerce checkout page The WooCommerce checkout collects the usual data: billing and shipping address, contact details, payment method. Real shops often need more at the moment of purchase: a gift message, a preferred delivery time, artwork instructions, a company VAT number. The checkout is the right place for it,…
Details