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

Tag: menus

Add User-Friendly Custom Meta Settings to WordPress Menu Items

In a recent WordPress update it is now possible and pretty simple to add custom meta fields to menu items. In this post we’ll learn how to add our custom settings to menu items, update their settings, and finally how to take the meta data in use. Recently WordPress announced support for adding custom fields […]

How to Add Custom Settings to an Existing Widget in WordPress

In this post we’ll learn how to add your custom HTML and settings to any of WordPress’ standard widgets or others. Using those settings we’ll learn different tricks in how to manipulate the widgets behaviour accordingly. The first part; adding and saving your custom settings, is fairly easy. The second part depends on what specifically […]

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

WordPress tutorial: Custom Menu For Posts or Pages in the Sidebar

This post is for you who manages a WordPress site that has a lot of content, possibly many pages structured in hierarchy, and wish for better navigation outside the main menu. In order to help navigate the site a custom menu related to the current post will help tremendously. The problem with placing a menu […]

Learn How to Write Menu Walkers for WordPress Menus

WordPress allows using so-called Walker classes for traversing and displaying elements in an hierarchical structure. In this post we’ll learn about how to create, implement and customize our own walker class to customize our menu output. The most known use of customization with Walker classes in WordPress is for menus, but in reality WordPress uses […]

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

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)