• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Ani's Webdev Blog

A learning diary of website development

  • Home
  • Demo
    • Ajax Contact Form
  • WordPress
  • Front-end
  • Backend

Backend

reCaptcha v3: How to implement on WordPress custom forms to stop bot signups

Modified on: February 17, 2021

google recaptcha

In this article, let’s discuss how to implement reCaptcha v3 on a custom forms and the differences among the reCaptcha versions.

Filed Under: Backend, Featured, Wordpress, Wordpress Plugins, WordPress Themes Tagged With: javascript, php, security

[PHP] Get rid of multi-layered if-else nested conditions

Modified on: July 4, 2020

So after a time learning and practicing, I realized there are some ways to get rid of multi-layered if-else nested conditions.

Filed Under: Backend Tagged With: clean code, code refactoring, php

WordPress: How to make the functions.php less messy

Modified on: July 4, 2020

make functions.php less messy

I have been working with WordPress for a while and one thing that irritates me is that the functions.php contains a lot of codes. This makes the file looks messy and hard to follow. Check out from here some methods to improve this.

Filed Under: Backend, Featured, Wordpress, WordPress Themes Tagged With: clean code, code refactoring, php

WordPress: Redirect archive 404 pages to blog post page

Modified on: July 4, 2020

This post shows you how to make a redirect that all 404 archive pages will be forwarded to the blog post page, or a new page that you define.

Filed Under: Backend, Wordpress, WordPress Themes Tagged With: php

Code refactoring: When and How

Modified on: July 4, 2020

In general, code refactoring refers to the process of changing bad codes into cleaner, purposeful, human-readable, reusable code in order to be cost effective, easy to maintain and collaborate, and probably a better performance.

Filed Under: Backend, Featured, Front-end, Wordpress Tagged With: clean code, code refactoring

WordPress’s ACF: Dynamically populate a select list with values from repeater text fields

Modified on: January 1, 2021

1. Task description There are two custom fields made with Advanced Custom Fields Pro plugin: Video Tutorials and Video Tutorial Sections. Video Tutorials: has a repeater field that include Video name (Text), Video URL from Youtube (Text), and Video section (Select). This will display under a page called Video Tutorials. Video Tutorial Sections: a repeater […]

Filed Under: Backend, Featured, Front-end, Wordpress, Wordpress Plugins Tagged With: advanced custom fields

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2

Primary Sidebar

Hello! My name is Anh. I am a front-end developer in Oulu, Finland. Currently, I work with PHP, HTML, CSS, JavaScript and love writing about them. This blog is my learning diary. Please feel free to join the discussion!

FOLLOW MY BLOG

Thank you for visiting this website! I hope you find something useful here :). Contact me by email: anh@anhkarppinen.com.