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 […]
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.
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 […]
Building a user registration system – Part 1: The New User Form
Almost every website will have some form of public and restricted area. WordPress for instance, has the admin side where you can create posts, manage plugins, install themes etc. For this tutorial, we are going to create a similar mechanism. One that will restrict users from accessing sections of the site. We will create a […]
Let’s make a WordPress Widget that displays our Custom Post Types
So I had a question from one my readers: “How can I add a Latest Listing widget in the sidebar“, which really translates to “How do we create a WordPress Widget?” Well, a widget that pulls our Custom Post Types. So I did a bit of research, and it turns out – that it’s not […]