Anonymous and Arrow Functions in PHP

I’ve already covered the basics of functions in PHP in one of a previous tutorials. Even though PHP has a lot of built-in functions, it gives us the choice to define our own functions as well. There are different ways to define our own functions in PHP. PHP Functions in PHP: Return Values and Parameters… Continue reading Anonymous and Arrow Functions in PHP

Show WordPress Related Posts With Taxonomy and a Custom Post Type

What You’ll Be Creating Sometimes you want your blog posts to appear on more pages in your WordPress site than just your blog. You’ve already got the option of using category and taxonomy archives, as well as tags. This can help you divide up your content and add a variety of sections to your blog… Continue reading Show WordPress Related Posts With Taxonomy and a Custom Post Type

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

How to Develop a Processwire Theme

In this beginner’s tutorial you’ll learn about creating your own ProcessWire CMS themes. We’ll create a super simple site, covering templates, fields, theme structure and PHP variables. Don’t forget to get up to speed by following the first of our tutorials How to Install and Setup ProcessWire CMS. Where to Find Your ProcessWire Theme Unlike other CMSs like… Continue reading How to Develop a Processwire Theme

How to Make WooCommerce Product Attributes More Prominent

What You’ll Be Creating WooCommerce product attributes are a really useful feature, but by default they’re hidden quite a way down the page, in the Additional Information section. Depending on your theme, they might not be visible until the user clicks on a tab, which means many users may not look at them.  Sometimes it’s… Continue reading How to Make WooCommerce Product Attributes More Prominent

Display WooCommerce Categories, Subcategories, and Products in Separate Lists

What You’ll Be Creating WooCommerce gives you a few options as to what you can display on your archive pages: products categories (on the main shop page) or subcategories (on category pages) both products and categories. When I’m setting up a store, I normally select the third option: products and categories/subcategories. This means visitors to… Continue reading Display WooCommerce Categories, Subcategories, and Products in Separate Lists