Category: WordPress Hooks

  • How to Add Additional Attributes to the Script Tag in WordPress?

    In

    Often it is required to add some additional attributes to the script tag in WordPress. Since, we use wp_register_script to properly register scripts with WordPress but the function doesn’t give us the flexibility to pass additional attributes as parameters. So we need to find an alternative way to do this. In this special episode of…

  • How to create Gutenberg blocks with ACF Pro?

    In

    After official introduction of Gutenberg in version 5.0 of WordPress in 2018, the Gutenberg editor has been evolving daily. It was just a “fancier” way to create and publish content four years ago, but today we can do much more things with it. WordPress now provides a tool for modular content, full site editing experience,…

  • Useful WordPress Hooks – Part 2

    In

    In our second episode of Useful WordPress Hooks, we are going to explore more into the world of WordPress hooks. If you have missed the first part, read here about Useful WordPress Hooks – Part 1 3. Automatically insert content after posts that contains a specific tag Depending on the structure of the website and…

  • Useful WordPress Hooks – Part 1

    In

    For a WordPress developer, action hooks and filters are like their brothers and sisters. It helps a developer to hook into any particular code block/function and interact with it by modifying the data. Hooks are a way for one piece of code to interact/modify another piece of code at specific, pre-defined spots. They make up…

  • Create a Sitemap in Your WordPress Site Without Using a Plugin

    In

    As WordPress users, we often find ourselves relying heavily on plugins for various functionalities. But the use of too many plugins can cause multiple issues on your site such as site performance issue, security vulnerabilities issues and so on. Today, we will create a sitemap for our website without a plugin. The details are below.…

  • Manually create an admin user in your WordPress site

    In

    Sometimes WordPress admins lost access to their site dashboard which is very frustrating. Then you have to take an alternative step to gain access to your WordPress dashboard. It happens that you forgotten passwords or installled a malfunctioning plugins, or there could be other technical issues that can lock you out of your WordPress site.…