Skip to main content
A White Pixel
  • WordPress Gutenberg Developer’s Guide
  • Latest Posts
    • WordPress
    • Gutenberg
    • Themes
    • WooCommerce
    • Gravity Forms
    • Advanced Custom Fields

Latest articles

WordPress Theme Tutorial for Beginners – Part 10: Adding More Templates

In this lesson of the WordPress theme tutorial for beginners we will dive more into templates. We’ll learn about template parts and implement it for reusability. And we’ll add more of WordPress’ default templates to our theme. But before we start adding more template files we need to know why we should bother with template […]

Guide: Change Prices in WooCommerce by Code

This post is for you who want to add code that adjusts the prices in your WordPress WooCommerce webshop. You can either increase the prices or discount them. And how and from where the adjustments come, depend entirely on your case. Your webshop could operate with percentage discounts set on each registered user, a custom […]

WordPress Theme Tutorial for Beginners – Part 9: Menus and Widget Areas

This lesson covers how to add two core WordPress features to our theme; menus and widget areas. We learn how to register a location for a site main navigation menu and output the menu in our templates, as well as allowing adding widgets in our sidebar and footer area. The keen of you might have […]

WordPress Theme Tutorial for Beginners – Part 8: Translation

In this lesson we learn about how translation (or otherwise known as i18n) in WordPress works and how to make the necessary adjustments in our templates. We will also learn how to set up PoEdit properly to create a translation file for our theme, ready to be translated into different languages. Why bother with adding […]

Guide: Modify WordPress’ global query

In some cases you might need to modify the global post query WordPress is performing on any page you are visiting – both admin and frontend. In this guide we will look at which hook to use, and how to change the query arguments to your liking. Which hook to use First you need to […]

WordPress Theme Tutorial for Beginners – Part 7: Theme Setup and Featured Images

This lesson of the WordPress theme tutorial for beginners continues by adding the basic, required code for theme setup. We learn to add theme supports, and as a result of that WordPress’ featured image functionality gets activated. In this lesson we’ll also fix the frontpage title by applying our first filter. We will work mostly […]

WordPress Theme Tutorial for Beginners – Part 6: A Theme’s Functions.php

Today we will learn where and how to add code outside the templates in our theme. We do this by adding the theme’s functions.php file. Along the way we’ll also learn how to add your stylesheets and scripts the proper way. A theme’s functions.php file A theme needs somewhere to place code that is not […]

Coding for WooCommerce: An introduction

This is a beginner developer’s introduction to the plugin WordPress WooCommerce. In this post we’ll look at the basics of how WooCommerce works and how we can customize it in our theme or plugin using hooks and templates. First off, WooCommerce offers great flexibility for theme and plugin developers to adjust its functionality. For simple […]

WordPress Theme Tutorial for Beginners – Part 5: Accessing Post Information

This lesson of the WordPress theme tutorial for beginners will be all about how we can access and output information such as its link, title, and more from each post when inside the post loop. We do this with template tags. In the process we will also add the single view templates to our theme. […]

WordPress Theme Tutorial for Beginners – Part 4: The Post Loop

In this lesson of the WordPress theme tutorial for beginners we will go into detail about the “post loop” in WordPress; what it is, how it looks like, why we use it and how to access posts. We will then go about implementing the loop in our theme. The post loop If you are familiar […]

Posts navigation

« Previous 1 … 6 7 8 9 Next »

Categories

  • Advanced Custom Fields (7)
  • Gravity Forms (5)
  • Gutenberg (31)
  • Mini Tips (3)
  • Themes (30)
  • WooCommerce (9)
  • WordPress (37)

Newest Posts

  • How to Translate custom Gutenberg Blocks with block.json
  • Creating Custom Gutenberg Blocks with block.json
  • Gutenberg: Updating withSelect and withDispatch into React Hooks (useSelect and useDispatch)
  • How to Add Post Meta Fields to Gutenberg Document Sidebar
  • In-Depth Guide in Creating and Fetching Custom WP REST API Endpoints
  • How to Deprecate Gutenberg Blocks

Tags

admin (5) ajax (2) cpt (4) css (4) filters (10) hooks (12) i18n (3) javascript (28) media (1) menus (6) object-oriented (2) plugin customization (20) post query (5) rewrite url (3) scripts and styles (6) seo (3) theme (17) widgets (3) WP REST API (2)