Add a Style Switcher to your WordPress Theme
Whenever I download a WordPress theme there’s hardly ever a time that I leave it as is. Almost for sure – I will have to change some things to customize according to the site’s identity. For instance,...
View ArticleHow to create an Email Opt in Box for your Downloads – Part 2
So you’re giving away free material from your site. And now you need a way to capture your users’ information. An Opt in box may be the perfect solution for you. From my previous post, we already have...
View ArticleHow to Create an Advanced Search Form for WordPress
So you want to learn how they do those pretty slick WordPress search forms. The ones that have drop downs of categories, filtering through your posts as soon as you press submit. These are most often...
View ArticleLet’s create a wrapper for the Captcha helper in Codeigniter
I needed to create a couple of forms for my latest project using the Codeigniter (CI) framework. For those who have worked with CI before, it has many neat classes built in – including Captcha. Captcha...
View ArticleCreate a Testimonials section for your WordPress site – the Right Way!
I was recently given the task of updating the testimonials section of our company WordPress site. Imagine my disappointment to see a static page with a running list of paragraphs and author names. I...
View ArticleAdd an additional Body Class to WordPress by using the Post Slug
One of the real useful things I’ve come across with WordPress is the body_class() method. This adds several classes to the body element of your HTML. The output looks something like below: Why is this...
View ArticleBuilding 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...
View ArticleBuilding 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....
View ArticleBuilding 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...
View ArticleCreate a Single Page Portfolio from Scratch – Part 3: jQuery and PHP
Finally, we have come to the conclusion of this 3 part series. This part focuses on user interactions and functionality of our portfolio. The upper sections of the page I will take you through...
View ArticleHow to create an Email Opt in Box for your Downloads – Part 1
Recently I had to come up with a solution to the low subscriber issue that I’ve been having. Compared to the number of downloads, I have an extremely low number of RSS, Twitter and Facebook followers....
View ArticleLet’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...
View ArticleShow 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,...
View ArticleGet 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...
View ArticleTaming the Grid – Align your WordPress posts perfectly using PHP and CSS
Grid based web design is becoming an art that each web developer must master. News portals, magazine layouts as well as showcase websites all adhere to the intricacies of the grid – which when...
View ArticleHow 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...
View ArticleLaracasts.com: a gold mine of content for Web Developers
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...
View Article