WordPress Developer Ukraine, Kyiv
Add Custom Fields to the WordPress Comment Form with Comment Meta

Add Custom Fields to the WordPress Comment Form with Comment Meta

Add a rating field to the WordPress comment form with comment meta Comments have their own meta table, which works like post meta: add_comment_meta(), update_comment_meta(), get_comment_meta(). With it the comment form can collect more than a name, an email and a text: a rating, an RSVP answer, a topic. WooCommerce product reviews are built exactly…
Simple mail form use AJAX

Simple mail form use AJAX

A simple example of AJAX for an HTML form As they say, a developer does not live by WordPress alone. Today I will show an example of AJAX for a simple landing page built without the most popular CMS. The form sends an email without a page reload.
Customize and Style a Google Form on Your WordPress Site

Customize and Style a Google Form on Your WordPress Site

Customize a Google Form for your WordPress site Usually a contact form on WordPress is Contact Form 7 plus a plugin that saves the entries to the database, such as CFDB7. Sometimes a client prefers Google Forms, because the answers land in Google Sheets. Embedding the form as an <iframe> takes a minute, but the…
How to Add Google reCAPTCHA v2 to WordPress Forms

How to Add Google reCAPTCHA v2 to WordPress Forms

Add Google reCAPTCHA v2 to a WordPress form Google reCAPTCHA v2, the “I’m not a robot” checkbox, stops most spam bots on contact, registration and comment forms. You need two keys from Google and two pieces of code: the widget in the form, and a check of its token on the server before the form…
How to Add a Front-End Login Form in WordPress

How to Add a Front-End Login Form in WordPress

Add a login form to any page in WordPress Sending users to wp-login.php works, but on a membership site or an online shop it breaks the design: the visitor suddenly sees a different page with the WordPress logo. The login form can be shown on any page of the theme instead.