✴︎ Welcome

to my

Blog.

—20.26

  • Registering a Custom Post Type & Restricting Access in WordPress

    In this blog, we’ll take a deep dive into the process of registering a custom post type (CPT) in WordPress and managing access restrictions. We’ll walk through the code to register the CPT “Custom Posts” (slug: rt-custom-posts) and restrict access to Gutenberg, with custom columns for post metadata. We will explore each function used to…

    Read more

  • Building a Searchable Taxonomy DropDown Component for WordPress Gutenberg

    In this blog post, we’ll dive deep into the creation of a customizable, searchable dropdown component for selecting terms from custom taxonomies in a WordPress Gutenberg block. This component is particularly useful for projects that require users to filter or select terms dynamically, enhancing the user experience and making content management more intuitive. Overview of…

    Read more

  • Building a Custom Autocomplete Dropdown with WordPress FormTokenField

    In modern WordPress development, enhancing user experience (UX) for custom components often involves handling data from custom post types and ensuring a smooth and responsive interface. In this technical tutorial, we’ll explore how to create a custom autocomplete dropdown using WordPress’s FormTokenField for a tag-like movie selection with added “Load More” functionality. We’ll be focusing…

    Read more

  • Understanding Blocks in WordPress: Server-Side vs Client-Side Rendering

    Dynamic blocks in WordPress offer flexibility by allowing the block’s content to be rendered dynamically, as opposed to static blocks which have a predefined structure and content. This approach is essential when working with content that needs to be updated based on external data or user interaction, such as displaying the latest posts or filtering…

    Read more

  • Slot Fills and Extending the Editor UI in WP

    When developing custom WordPress blocks or adding extra functionality to the block editor, you may encounter the need to enhance the editor interface in ways that go beyond just creating blocks. WordPress offers a powerful solution for this: Slot Fills. They allow developers to insert custom UI components into specific areas of the block editor.…

    Read more