I’ve been a Software Engineer for many years. And for the past few, JavaScript has been emerging with newer, better and shinier things. But like many others, I’ve been having a little bit of JavaScript fatigue. Lately, I’ve been looking to other frameworks with more stability. Something that I rely on – that will work […]
Category Archives: PHP
PHP is a server side programming language used for generating web pages. This is the processing that happens for dynamic pages to be generated. This list contain articles about PHP.
How to create an Accordion Block using React and WordPress’ Block API
I was tasked with creating a custom component for our public website which runs on WordPress. Most commonly known as an “Accordion“, it is a section of a page where you can have a title and an expandable and collapsible directly underneath it. Usually a list of these items are blocked together – forming an […]
Get all posts from WordPress REST API
As you may know, WP REST API has a limit of 100 records per call. This is what it says in the API Docs:Now this may be enough for some people, but what if you need to get ALL of them. Here are two solutions that I came up with. 1. Using PHP We’re using […]
Show number of posts out of total records in WordPress
From time to time, I just look at my blogs and see what I can add to it to make it more appealing to the user. I’ve always admired those sites that tell you what number of posts a certain category has, and what number of posts it is currently showing. So I set out […]
Building a user registration system – Part 3: The Password Reset Form
So now we’ve come to the last part of this series. We need a way to let users back in when they forget their passwords. So we’re going to need a form, a mechanism to notify them with a unique token, as well as another form to actually do the resetting of the password. Plenty […]
Building a user registration system – Part 2: The Set Password and Login Forms
So let’s continue with our registration system. We left off at the point where we have the registration page setup. So let’s try it out and fill in some information. Add your name and an email address. The fields should have validation, so you should see an error if you missed a field, or the […]