Archive

Author: Abdul Awal Uzzal

  • Setting up and using WordPress Plugin Deploy Action on github

    This article explains how to set up a Github action for a WordPress plugin to automatically deploy new versions to the WordPress.org plugin repository. It also explains how to set up an action for updating the plugin’s readme and assets.

    Read more β†—

  • Elementor file select control

    Few days ago, while working for Elementor PDF Viewer for WordPress Addon, I was looking for a control to allow users to select a pdf file from media library, found the Media control in elementor but that only allows to work with images. What a disappointment! So, I started looking for ways to make my…

    Read more β†—

  • Sort WooCommerce Attribute Values before displaying on Single Product Page

    In this article, I have shared a snippet that allows you to sort attribute values in woocommerce. I have also shared a code to restrict sorting to specific attributes.

    Read more β†—

  • Replace spaces in File and Folder names recursively in macOs Terminal

    I’ve been working with a folder that has images in subdirectories and I needed to organize those and remove spaces from both directory and file names. And in this article I’ll just share that small piece of commands I’ve used to replace all the spaces from Directory and file names. We’ll do it in 2…

    Read more β†—

  • Announcing version 2.0 of zipCF php script

    It’s been a while since I started zipCF project in 2016. Many people used to visit the articles everyday which makes it obvious that the script became a little famous πŸ˜‰ That’s amazing! I’ve been looking at the comments and emails regarding the feedback and feature requests for the script. And version 2.0 contains some…

    Read more β†—

  • Generate Dynamic Sitemap for Specific filetypes inside a folder recursively using php

    Today, I needed to create an xml sitemap for all the pdf files under a directory as well as inside the sub directories of that directory. Doing that manually requires lot’s of time and energy and that is a complete waste. So, I started digging and created a very small php script that will list…

    Read more β†—

  • Example code of Google Recaptcha implementation with php curl

    Google reCaptcha is the most used captcha for preventing spam on web forms. Its a very useful thing to keep website, specially the forms which works with data. If you want to know more about recaptcha, please visit the reCaptcha website. Installing and using reCaptcha is easy and google already has a very informative documentation…

    Read more β†—

  • Display current website ip on browser toolbar

    I was working to migrate a website from a server to another, After doing migration of all the files and database I’ve pointed the domain to the new server. That’s when the weird things starts. Normally dns propagation takes some time. In some cases it takes only a few minutes but in other cases it…

    Read more β†—

  • Ways to convert a string variable to integer in Javascript

    In Β this article I am going to write about converting a javascript variable to integer. Its important to have both variable as integer when you’re doing calculations using javascript. I’ll share 2 ways here in this article, there might be other ways as well. Please feel free to share your favourite way in comments section.…

    Read more β†—

  • Register Missing Post Types in WordPress

    Today while working on a WordPress site which has content imported from a drupal site using a plugin. That plugin imported content in various post types, so all the content are in database but I can’t see these in WordPress admin panel, because we don’t have the post types registered. The plugin just imported the…

    Read more β†—