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

Complete Reference for Adding Advanced Custom Fields Groups and Fields by Code

The plugin Advanced Custom Fields (ACF) supports fully setting up fields and groups by PHP code in your theme or plugin. The benefits of doing this is that all your fields will be available regardless of WordPress instance you’re working on (for example if you need to switch between local, test server, and live server). […]

Guide on How to Add Custom Fees to WooCommerce Checkout by Code

There are some cases when you might need to add a fee to the cart totals. Sometimes only if a certain condition is met, for example depending on the cart totals or shipping location. With WooCommerce adding a fee is pretty easy – much easier than adding a discount in fact. In this post we’ll […]

Coding for Advanced Custom Fields: An Introduction

Advanced Custom Fields (ACF) is a WordPress plugin that is a great tool in setting up custom post meta. It allows you to easily build and configure complex and user-friendly meta boxes with all kind of fields and settings for post types, taxonomy, user screens and options pages. And it’s super developer-friendly. Now, you could […]

Tutorial: Create a Microdata Widget for Your Business in WordPress

In this tutorial we’ll learn how to create a custom widget that outputs your business information, such as its official name, address, phone number and e-mail. But we’ll take it one step further by outputting it with Microdata or schema markup, which will allow search engines to understand your content. Widgets are dynamic blocks that […]

Complete Guide: How to Dynamically Populate Fields in Gravity Forms

Building simple or complex forms in Gravity Forms is easy and quick. One of the functionality Gravity Forms offers is allowing you to conditonally pre-select or pre-fill in fields in a form. This is useful when you have the same form on multiple contact pages for each department, and want to preselect the corresponding department […]

How to Add Custom Endpoints to My Account page in WooCommerce

This post will go through how to add custom endpoints to WooCommerce‘s “My Account” page. We can make it accessible in two ways; either as an own custom tab, or as a button to each order in the “Orders” tab. WooCommerce’s “My Account” page is using WordPress’ built-in functionality for endpoints which makes it easy […]

Coding for Gravity Forms: An Introduction

Gravity Forms is perhaps the most well-known and best form builder plugin for WordPress. Not only is it easy to use and has plenty of add-ons for implementing payment or newsletter into your forms. But it’s also very developer-friendly and flexible. Personally I’ve been using and developing with Gravity Forms for at least 5 years […]

Tutorial: How to Add a Custom Bulk Action in WordPress Admin

Above most tables of elements in WordPress admin (e.g. posts, pages, comments, plugins, and users) you will find WordPress’ functionality for bulk actions. Bulk actions allow you to check off multiple elements, choose an action and have that action performed for all elements at once. In this post we’ll look at how to add our […]

Add a Custom Permalink Setting for your Custom Post Type in WordPress

This is a tutorial on how to add a custom setting to WordPress’ admin page “Settings > Permalinks” to define the slug for your custom post type. If you are developing a theme or plugin for others that has a built-in custom post type, adding this setting will be appreciated by its user for allowing […]

How to Change Common WooCommerce Texts with Code

WooCommerce is chock-full of filters, hooks and functions to help you customize and utilize the plugin in your theme or plugin. Here are some small, but useful, code examples, a-ha’s and how-tos of common changes of different text outputs. Changing “Add to cart” button texts There are two filters; one for “add to cart” texts […]

Posts navigation

« Previous 1 … 4 5 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)