How to Let Users Dynamically Change the Number of Posts per Page in WordPress

Consider the following scenario: you have a WordPress blog with hundreds of posts. On your blog archive page, six posts appear at a time. Of course, there’s pagination for moving between older and newer posts. But what if you want to give users the option to choose the number of posts they want to display… Continue reading How to Let Users Dynamically Change the Number of Posts per Page in WordPress

How to Build a UIkit Lightbox With Dot Navigation

* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} Have you ever worked with the UIkit front-end framework? Its current version at the time of writing is 3.9.4, and in the next few months, YOOtheme (the team behind it) plan to release v4. This isn’t the first time I’ve written about UIkit; some years ago, while still… Continue reading How to Build a UIkit Lightbox With Dot Navigation

Rock the Stage with a Smooth WebGL Shader Transformation on Scroll

From our sponsor: Guide customers along the path to purchase with our award-winning platform. Starting at $14.99/mo. It’s fascinating which magical effects you can add to a website when you experiment with vertex displacement. Today we’d like to share a method with you that you can use to create your own WebGL shader animation linked to… Continue reading Rock the Stage with a Smooth WebGL Shader Transformation on Scroll

How to Create Lists in Your App with Flutter?

A list is a key UI element for mobile apps. You’ll learn all about how to create lists in your Flutter app in this tutorial. You don’t need to be an expert developer to create lists in your Flutter app. If you’ve developed apps for Android or iOS in the past, Flutter’s ListView should seem… Continue reading How to Create Lists in Your App with Flutter?

How to Preserve the Menu State on Page Load (Using Local Storage)

What You’ll Be Creating In this tutorial, we’ll create a simple static site with Tailwind CSS and then learn how to preserve its menu state on page load. The first time we visit the site, the menu will be hidden. However, as soon as we open it and close the browser, we’ll use local storage… Continue reading How to Preserve the Menu State on Page Load (Using Local Storage)

Functions in PHP: Return Values and Parameters

Functions are an important part of programming languages. They help us avoid code duplication by allowing us to run the same set of instructions over and over again on different data. In this tutorial, we will talk about functions in PHP. We will cover all the basic concepts of functions in PHP, and you’ll learn… Continue reading Functions in PHP: Return Values and Parameters

String Concatenation in PHP

String concatenation is a very common and useful operation in PHP. There are many ways in which you might want to join strings together like prepending, appending, or combining them at some other point. In this quick tip, I’ll teach you string concatenation in PHP. You’ll learn how to prepend or append strings in PHP… Continue reading String Concatenation in PHP

How to Use Map, Filter and Reduce in JavaScript

Functional programming has been making quite a splash in the development world these days. And for good reason: Functional techniques can help you write more declarative code that is easier to understand at a glance, refactor, and test. One of the cornerstones of functional programming is its special use of lists and list operations. And… Continue reading How to Use Map, Filter and Reduce in JavaScript

You Won’t Win SEO With Hacks, Here Are 3 Winning SEO Strategies

The world of search engine optimization was born with all sorts of different hacks and shortcuts that many people use in an effort to grow their business. Knowing effective SEO tricks would be incredibly profitable, but unfortunately it’s not that easy This becomes evident as soon as you do a Google search about anything SEO-related,… Continue reading You Won’t Win SEO With Hacks, Here Are 3 Winning SEO Strategies

Using Redux in a React Native App

Redux is a library for state management that ensures that the application logic is well-organized and that apps work as expected. Redux makes it easy to understand your application’s code regarding when, where, why, and how the state of the application is updated. Redux is made up of the following key parts: actions reducers store… Continue reading Using Redux in a React Native App

Real-Time Stock Data Using Marketplace’s API

In this time of global economic turmoil, it’s more important than it’s ever been that your financial decisions are based on accurate, up-to-date, market information. In a world where stock price is a key confidence marker, the businesses that attract attention, secure investment, and grow, are the ones that can demonstrate their value in a… Continue reading Real-Time Stock Data Using Marketplace’s API

'Knowing what you're looking at' – JS tips for new React developers

August 17, 2020 I have a confession to make. While I have been a professional web developer for over 6 years, I didn’t feel comfortable with JavaScript until a year and a half ago. I still don’t feel like I know a lot of things. There’s a lot that still confuses me. But I’ve grown… Continue reading 'Knowing what you're looking at' – JS tips for new React developers

How to Redirect With PHP

Redirection allows you to redirect the client browser to a different URL. You can use it when you’re switching domains, changing how your site is structured, or switching to HTTPS. In this article, I’ll show you how to redirect to another page with PHP. I’ll explain exactly how PHP redirects work and show you what… Continue reading How to Redirect With PHP

Using ipdata for Geolocation

When most people think of geolocation, they remember the familiar pop-up notifications saying that the “website wants to know your location”. But did you know that you can get geolocation information about your visitors with the IP address alone, without requiring any extra permissions? To web developers, geolocation is a treasure trove of information and… Continue reading Using ipdata for Geolocation

Metatags 101: A Simple Guide for Designers

One of my mottos in life, and in business is this: “If Google tells you to do something, you better get it done.” And when it comes to using HTML meta tags for SEO, none of us should be messing around. That said, you know how it is with Google search. The algorithms are always… Continue reading Metatags 101: A Simple Guide for Designers

How to Create a WordPress Child Theme

If you’re using a theme you downloaded from the free WordPress theme repository, or maybe one you’ve bought from ThemeForest, you may want to make some tweaks to it. Maybe you want to register a new font or add a new template file. Maybe you want to add some code from one of the tutorials or… Continue reading How to Create a WordPress Child Theme

Create a New WordPress Site While Keeping Your Old Static Site Running

What You’ll Be Creating If you’re switching to WordPress from a static site, from a site builder provided by your hosting provider, or even from an old WordPress site, you’ll want to ensure that your old site still works while you’re setting up the shiny new WordPress installation. The good news is that you don’t… Continue reading Create a New WordPress Site While Keeping Your Old Static Site Running

The Binary Search Algorithm in JavaScript

In this post, I’ll compare linear search and binary search algorithms. You’ll learn pseudocode for linear and binary algorithms, see examples to demonstrate both the methods, learn about time complexity, and get a step-by-step guide on how to implement the algorithms. Introduction As a programmer, you want to find the best solution to a problem… Continue reading The Binary Search Algorithm in JavaScript

How to Make a Great (Coming Soon) Website Product Launch Page

Launching a new product is an exciting business venture, one that could mean a world of difference for your business. However, as you’re prepping for the launch, it’s important to think about how you’re going to promote your product as well as make it possible for people to buy it. Here are two options: Create… Continue reading How to Make a Great (Coming Soon) Website Product Launch Page

How to Add Multiple Selection to Android RecyclerView

The RecyclerView widget is an integral part of most Android applications today. Ever since it was added to the Android support library in late 2014, it has eclipsed the ListView widget as the most preferred widget for displaying large, complex lists. However, there’s one important feature missing in it: support for selecting and tracking list items. RecyclerView… Continue reading How to Add Multiple Selection to Android RecyclerView

File Upload With Multer in Node.js and Express

When a web client uploads a file to a server, it is generally submitted through a form and encoded as multipart/form-data. Multer is middleware for Express and Node.js that makes it easy to handle this multipart/form-data when your users upload files. In this tutorial, I’ll show you how to use this library to handle different file upload situations… Continue reading File Upload With Multer in Node.js and Express

MasterStudy – Revolutionary Learning Management System on Vue.js!

MasterStudy Major Update! Introduction to the exclusive development of the LMS for effective organization of online courses. What is MasterStudy? MasterStudy is an elegant WordPress theme for educational needs. It is full of premium plugins that are professionally integrated to save your money and create the best online learning site for both teachers and students.… Continue reading MasterStudy – Revolutionary Learning Management System on Vue.js!

Understand Arrays in PHP

* { box-sizing: border-box; } body {margin: 0;} In this post, you’ll learn the basics of arrays in PHP. You’ll learn how to create an array and how to use associative and multidimensional arrays, and you’ll see lots of examples of arrays in action. What Is an Array? In PHP, an array is a data… Continue reading Understand Arrays in PHP