WordPress Developer Ukraine, Kyiv
How to Create a Custom Login Page in WordPress

How to Create a Custom Login Page in WordPress

Rebrand the WordPress login page without editing core files The default login page at wp-login.php works fine, but the WordPress logo and the link to wordpress.org look strange on a client’s site. WordPress has hooks for the logo, its link and its title, and a hook to load your own stylesheet on the login screen,…
How to Create a Custom Taxonomy in WordPress

How to Create a Custom Taxonomy in WordPress

Register a custom taxonomy for a post type WordPress has two built-in taxonomies for posts: categories (hierarchical) and tags (flat). A custom taxonomy works the same way, but you decide what it is called and which post types it belongs to: books by genre, portfolio items by technique, events by city.
How to Create a Child Theme in WordPress

How to Create a Child Theme in WordPress

Create a WordPress child theme in two files When you customise a theme by editing its files, every theme update overwrites your changes. A child theme solves this: it takes all templates and styles from the parent theme, and you keep only the files you change.
How to check it’s default page template?

How to check it’s default page template?

How to detect the default page template in WordPress This is a quick post. When you need to check which template a page is using, you’d normally call is_page_template(). But how do you detect that a page uses the default template, the one without a name in the Page Attributes box? There is no template…
How add checkbox to list fields in Mailchimp

How add checkbox to list fields in Mailchimp

Passing checkbox values to Mailchimp Mailchimp’s subscriber list stores more than just email addresses: you can add custom fields for names, cities and other data. But there is no checkbox field type in Mailchimp, which catches many developers off guard when they try to map a Contact Form 7 checkbox directly.
How to change arguments of the global query on default pages

How to change arguments of the global query on default pages

Modify the global WordPress query on default pages pre_get_posts fires after the query variable object is created but before the database query runs. It gives you direct access to the $query object for every query WordPress makes, including the main loop, so you can change arguments without duplicating the template or creating a secondary query.
How to get ACF field on the different pages

How to get ACF field on the different pages

Retrieving ACF fields outside the loop ACF’s get_field() function works inside the WordPress loop without extra arguments, but when you need to read a field value from functions.php, an AJAX handler, or a template for a different post, you have to pass the post ID explicitly.
Allow upload SVG files to WordPress

Allow upload SVG files to WordPress

How to allow SVG uploads in WordPress SVG is the format of choice for logos and icons, but WordPress blocks it out of the box. There are two ways to enable it: install a plugin, or add a small filter to your theme or plugin code.
Redirect to “Thank You Page” after success sent mail

Redirect to “Thank You Page” after success sent mail

Redirecting to a Thank You page after Contact Form 7 submission Contact Form 7 doesn’t include a built-in redirect option. The plugin author argues that modern Analytics tracking makes redirects unnecessary, but clients often still want one. Here are two copy-paste-ready approaches — one server-side, one front-end.