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

Tag: plugin customization

Programmatically Create Content from Gravity Forms Entries

This post will guide you in how to create any kind of content (users, posts, or something else custom) based on entries in a Gravity Forms form. We will add an area in entry details screen in admin to create content based on the submitted information. What we’ll make We will create a new metabox […]

How to Create a Front-end Form with ACF

In this tutorial I’ll show you how to create a front-end form with Advanced Custom Fields (ACF). I’ll go into detail about how it works and how you can tweak it to fit your needs. Advanced Custom Fields (ACF) is a free plugin that helps you add field settings of a whole bunch of types […]

Tutorial: Create an Advanced Custom Gravity Forms Field Type and How to Handle Multiple Input Values

In this tutorial I’ll show you how to create an advanced custom Gravity Forms field type. The field will have multiple inputs and will need special handling in order to store and display the submitted values. What we will make In this example I’m assuming an example of a WordPress website owner that deals with […]

How to Dynamically Populate Advanced Custom Fields Settings

With some PHP code it’s really easy to dynamically populate an Advanced Custom Fields (ACF) value or choices. You can do this for any kind of inputs, including the choices of radio, checkboxes and similar. In this post we’ll look at how. The filter Advanced Custom Fields offers a filter named acf/load_field. You can use […]

Create Custom WooCommerce Product Tabs with Advanced Custom Fields

When viewing a product in WooCommerce information about the product is displayed in tabs. These tabs are fixed and generated by WooCommerce, outside your control. This post will show you how add code that allow the authors to add custom tabs with custom content to products. Disclaimer: There is a WooCommerce extension called WooCommerce Tab […]

How to Add Fontawesome Icons to Menu Items With Advanced Custom Fields

This post will show you how you can use Advanced Custom Fields (ACF) to allow adding icons to your menu. In this example we’ll add a Fontawesome icon, but you can modify the code to fit your needs. You could instead add a file picker for SVG files or something else. This guide will work […]

How to Programatically Add a Custom Discount to WooCommerce Checkout

In this post we’ll look at how we add discounts programatically and automatically. To do this we utilize WooCommerce’s coupon functionality but we make it automatic, and we hide the fact that it’s a coupon to the customers. I have tried to keep the code as general as possible as the conditions for applying discounts […]

How to Make Custom Gutenberg Blocks with Advanced Custom Fields Pro

Since version 5.8 of Advanced Custom Fields (ACF) Pro you can use ACF to create custom Gutenberg blocks. All you need to handle are the PHP templates. This makes it very easy for developers who are not yet experienced in the modern Javascript required to create custom blocks for Gutenberg with any of the field […]

Gravity Forms: Add Custom Inputs to Fields and Remote Post after Submission

In this Gravity Forms tutorial we’ll learn three things: How to add a custom input to any field type of your choice How to add custom settings to your form And finally how to remote post submitted values for specific fields after each form submission. This post assumes that you want to add functionality to […]

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). […]

Posts navigation

1 2 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)