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

Category: Mini Tips

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

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

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)