Blog Archive
2024
- Disabling Payment Methods in WooCommerce Based on Conditions
- How to Update Product Quantity in WooCommerce Using Custom Code
- Dynamically Generating a Table of Contents in WordPress
- Direct Checkout in WooCommerce - Add Product to Cart from Checkout Page & Skip Shop, Product, and Cart Pages
- Understanding the Impact of git reset --hard Command
- How to Move Uncommitted Changes to a New Branch in Git
- How to Hide Applied Coupon Codes on the Checkout Page in Easy Digital Downloads
- Dynamically Apply a Coupon in Easy Digital Downloads After Adding an Item to the Cart
- Creating Easy Digital Download Coupons Dynamically
- How to Add Custom Images to WooCommerce Product Gallery Using Filters
- How to Hide WooCommerce Gallery Images from Non-Logged-In Users
- Trunk-Based Development vs. Feature-Driven Development (Git Flow) - A Comprehensive Guide
- Writing Effective User Stories - A Guide with Examples
- Ultimate Git Commands Cheat Sheet - Comprehensive Guide for Developers
- How to Create Multiple Post Types in Jekyll for Enhanced Content Management
- Enhance Your WordPress Site's Security by Removing the Version Number
- How to Safely Enable SVG File Uploads in WordPress
2023
- Automating Release Generation with GitHub Actions
- WP CLI Commands to Bulk Delete Entries in WordPress Database
- Split a Single CSV File into Multiple Files Using the Split Command - Bash
- Migrating code repo from BitBucket to GitHub
- Streamlining Development - Our Journey with Git, Bitbucket, and Jira
- The Amazing Adventure - Solving the Mysteries of a WooCommerce Store
2022
- Installing Docker on Linux Mint 20.x / Ubuntu (Jammy 22.04 / Impish 21.10 / Focal 20.04 / Bionic 18.04)
- Installing Docker Compose in Linux Mint 20
- Using PostgreSQL database with Django
- Find largest number in a list of numbers - Python
- Solve "ValueError invalid literal for int() with base 10" - Python
- Handling dynamic subdomain with Flask - Python
- A minimal example about WordPress object cache
- Select random element from a list - Python
- Write our first Selenium program with Python 3 & Firefox
- Install Geckodriver in Ubuntu & its variants
- Querying WordPress Multisite Sites With Meta Queries
- Show the last n lines from systemctl service log - Linux
- Limit network bandwidth in Linux
- Check for changes on remote (origin) Git repository
- Remove ignored files / directory from Git repository
- Trigger Bitbucket pipeline based on commits in specific branch or specific tag
- Track and push empty folders in Git
- Handle tenant specific subdomains for SaaS application
- An intro about single tenant architecture & multi tenant architecture
- Convert SQLAlchemy DB Model into entity relationship diagram using Python
- Unit testing WordPress plugin using PHPUnit
- Composer - Installation and how to use Composer in PHP project
- Dynamically create file in WordPress upload directory & make it as post attachment
- List Docker Containers
- Run bash command inside a running docker container
- Enable WooCommerce payment methods using WP-CLI
- Create shipping zone and add shippig method in to shipping zone using WP-CLI - WooCommerce
- Get all autoloaded option keys in wp_options table - WordPress
- Manage package dependencies in Python project
- Difference between sprintf() & vsprintf() functions in PHP
- Customize / Modify WooCommerce REST API response using filter
2021
- Change / Disable the Easy Digital Download renewal discount if the license key expired
- Create dynamic image using Python with Pillow package
- Discard local changes in Git
- Remove last commit from Git repository
- Change the directory name of Git repository
- Handling form using AJAX in WordPress
- Reset a branch to a specific tag in Git
- Clone all branches in a remote Git repository
- Gitk - GUI wrapper for Git log
- Move existing, uncommitted changes to a new branch in Git
- Show SKU with product names in cart & checkout - WooCommerce
- Sanitize array using WordPress sanitization functions
2020
- Action hooks that trigger on, before or after add, update or delete actions of option - WordPress
- Get all variations of a variable product - WooCommerce
- Generate random string - Python
- Split domain from an email address - Python
- Get upcoming N days - PHP
- Split time in to time slots - PHP
- Add / change default user password in PostgreSQL
- Install PostgreSQL 11 on Debian 10 (Buster)
- Create database, user & allow access - PostgreSQL
2019
- Redirect single pages of post type in to post type archive page - WordPress
- Get details about available image sizes - WordPress
- Change shipping and billing address title - WooCommerce
- Add phone number to the output of the addresses on the "My Account" page - WooCommerce
- Conditional tags for order thank you page - WooCommerce
- Get WordPress image element from attachment URL - WordPress
- Handle plugin activation hook in multisite & single site - WordPress
- Get WordPress SQL query details
2018
- Remove edit, view, trash and quick edit links within posts list of admin screen - WordPress
- PHP Errors not displaying or not logging - LAMP server - Solved
- Display all hooks sequentialy that run on a page - WordPress
- Get downloadable files of a downloadable product - WooCoomerce
- Add actions based on WooCoomerce order status
- Stop Google from translating datepicker input field
- Unzip zip file using PHP
- Handle custom form in WordPress
- Disable single page view & archive page view of Custom Post Type - WordPress
- Get variation product data on selecting variation options - WooCommerce
- Add TinyMCE WYSIWYG (Rich text area) meta box - WordPress
- Reorder product tabs in single product page - WooCommerce
2017
- Download webpage for offline reading - wget
- Remove product tabs in single product page - WooCommerce
- Change item price from cart page - WooCommerce
- Clear all cart items using URL - WooCommerce
- Write custom data to WordPress default debug.log file
- Top 10 best WooCommerce shortcodes that help us to sell more
- Add new menu item in my account navigation - WooCommerce
- Short code to check user logged in status - WordPress
- Install new fonts - Debian 8
- Change number of posts displayed per page as per conditions - WordPress
- Modify already registered post types - WordPress
- Install & configure a basic nginx server on Debian 8 for static website hosting
- Update hostname and FQDN - Debian 8
- Update query order - WordPress
- Display featured products - WooCommerce
- Remove "Category:", "Tag:", "Author:" etc strings from the_archive_title - WordPress
- The essential & basic WP-CLI commands for a WordPress developer
- Install theme unit test data using WP-CLI - WordPress
- A basic Samba server on Ubuntu
- Refresh the invalidated cache using cron job - Magento 1
- Reset admin user password using SQL query - Magento
- Remove shortcut links in WordPress toolbar
- Hide 'Show Toolbar' option in WordPress profile page
- Hide search form in WordPress toolbar
- Remove color scheme picker from WordPress profile page
- Remove WordPress update notification on normal user dashboard
- Remove WordPress.org menu from toolbar
- Move files recursively from source to remote server - SCP Command
- Brief about Magento 2 cache commands
- Magento 2 customer account password options
- Enable or disable maintance mode - Magento 2
- Replace string in multiple files - Command line
- Solve Grunt error - Port 35729 is already in use by another process
- Install WP-CLI
- Install LAMP - Apache2 , MariaDB, PHP 7 on Debian 8
- Enable / Disable Magento 2 module using command line
- Disable WYSIWYG editor - Magento 2
- Create a container for new block - Magento 2
- Enable admin account sharing - Magento 2
- Call static block in layout file, phtml file or CMS content - Magento 2
- Switch Magento 2 environment mode
- Install Magento 2 using composer
- Upgrade PHP version to 7 on Ubuntu 14.04 / 16.04
- Install Atom text editor - Ubuntu 14.04 / 16.04
- Find recently modified, created or accessed files - Linux
- Convert video and audio files - Linux
- Delete meta values for all posts - WordPress
- Get current store details - Magento 1
- Simple ways to improve page conversion on product page
- Encrypt Email Addresses - PHP
- The add_image_size() function - WordPress best practices
2016
- Remove page title using filter - WordPress
- Comment out code in Liquid Template Language
- Remove Plugin Stylesheets and Scripts - WordPress
- Get blog page URL - WordPress
- Customized Product Query using WP_Query - WooCommerce
- User names for connecting to AWS EC2 instances via SSH
- A Bash script for automated WordPress backup
- Check if list elements are integer - Python
- IO redirection - Linux
- Disabling the wp-cron.php - WordPress
- Initiate action when post was updated - WordPress
- Remove password strength meter - WooCommerce
- Create MySQL database backup using `mysqldump` - Linux Command
- Check if file exist? - Bash
- Disable Comments on Media Attachment Page - WordPress
- Sort elements in a list - Python
- Use wild card in Linux commands
- Basic & useful Linux commands
- Send admin notification when a new post published - WordPress
- Custom post type with Post ID as slug for single post - WordPress
- Redirect user after password reset - WordPress
- Find and replace last occurrence of a character in string - Python
- Create sub directories recursively - Bash script
- Move Pagination to top - WooCommerce
- Useful bash script for a developer
- Override product short description - WooCommerce
- Clean the page head - WordPress
- Override default breadcrumb - WooCommerce
- Display percentage of savings on sale badge - WooCommerce
- Remove Sale badge - WooCommerce
- Add custom style sheet on new post or edit post admin pages - WordPress
- Anchor tag with target attribute - Markdown
- Read the text on images - Browser extension
- Make a string's first character as uppercase - PHP
- Add custom class on images - WordPress
- Change phpMyAdmin access location - LEMP server
- Securely copy or transfer files across hosts - command line
- Basic commands to manage Exim mail server
- Identify remote web server
- Create MySql database and user - command line
- Customize WooCommerce placeholder image
- Change WooCommerce pagination next and previous text
- Limit maximum, minimum quantity and quantity step - WooCommerce
- Display an array in a readable format - PHP
- Automatically shut down computer after downloading files - Linux command
2015
- Add or remove Google fonts in RWD theme - Magento 1.9
- The shutdown command in Linux
- A quick guide to write your first Bash script
- Allow customer to purchase only one item - WooCommerce
- Convert .ppk file to .pem file & connect to remote server via SSH - Linux
- Tweaks on WooCommerce page title using woocommerce_page_title filter
- Update Ubuntu server via command line
- Rename files and folders via command line - Linux
- Move files and folders via command line - Linux
- Compress and decompress files using command line tools - Linux
- Do some action after WooCommerce order completed
- Check if product is already in cart and use custom Add to Cart button text - WooCommerce
- Display product price for logged in users only - WooCommerce
- Change WooCommerce default product sorting labels
- Download files using Wget - Linux command line tool
- Change default sender name and email of WordPress notifications
- Change Place Order button text in WooCommerce checkout page
- Change Proceed to Checkout text in WooCommerce Cart page
- Remove navigation links from Magento 1 account dashboard sidebar
- Quickly change translatable strings using gettext filter - WordPress
- Remove WooCommerce default product sorting options
- Send notification to administrator on WooCommerce user registration
- Search text in a directory using grep - Linux command line tool
- Optimize Contact Form 7 for Better Performance - WordPress
- Remove query string from static resources ( CSS & Javascript ) - WordPress
- Conditional Tags for WooCommerce
- Tools for web server load testing and performance benchmarking
- Change Continue Shopping button link on WooCommerce cart page
- Determine the status of a script - WordPress
- Get WordPress attachment ID from the file URL
- Get values of product custom attribute - WooCommerce
- Check if WordPress sidebar have active widgets
- Display total items and total price in cart - WooCommerce
- Add SKU in cart page detail - WooCommerce
- Get Product gallery images - WooCommerce
- Strip HTML tags from WordPress Content
- Get WordPress page content from Post ID using get_post()
- Redirect user after successfull registration - WordPress
- Disable default WordPress dashboard widgets
- Add Open Graph meta tags in Magento 1
- Simple spam protection on contact forms using hidden input field
- Style placeholder text of input fields - CSS3
- Create and use custom Image attribute in Magento 1
- Optimize Magento 1 Database by clean up log entries for better performance
- Redirect to last added product category page from continue shopping button on cart page - Magento 1
- Get WordPress Page permalinks in template files using Page ID, Name or Slug
- Add Odd or Even class to posts in loop - WordPress Themes
- Add default post class in WordPress themes
- Turn on WordPress Error Reporting
- Creating custom variables in Magento 1 & accessing them in template files
- Remove customer login title on all Magento 1 pages
- Vertical margin and padding are not working in labels – Quick fix
- Move Magento 1 installation from one server to another
- Display special price as percentage of savings pramotion in Magento 1
- Centering a DIV on screen using translate() transforms property with percentage values
- Hide text using CSS – a neat and better approch
2014
- Display Custom Post type posts in WordPress default blog pages
- Display all products without pagination – Magento 1
- Disable multiple address checkout in Magento 1
- Add new class to body via local.xml file – Magento 1
- Remove top links one by one in Magento 1 using local.xml file
- Add custom breadcrumb for pages that miss default breadcrumb – Magento 1
- Add a mini login form to header – Magento 1
- Enable post tags for pages -WordPress
- Change page template via local.xml file – Magento 1
- Call static blocks in template file – Magento 1
- Display all sites in a network as a drop down list – WordPress
- Call a template file - Magnto 1
- Display WordPress post and page ID in admin interface
- Add a home page link in Magento 1 default top navigation
- .htaccess, 404 error and LAMP server
- Replace Sort by “Position” text on toolbar to Sort By “Default” – Magento 1
- Install latest Netbeans on Linux Mint / Ubuntu
- How change the document root of the Apache in LAMP Server?
- Add a search form in WordPress navigation menu
- Add an Add to cart button outside a product page – WooCommerce
- How to change Add to cart button text in WooCommerce
- How Override / edit WooCommerce template files – WordPress
- Remove default WooCommerce checkout input fields – WordPress
- WooCommerce add to cart button directly redirect to checkout page – WordPress
- Enable featured image in WordPress pages
- Add custom Javascript and CSS in WordPress
- Adding custom image size for WordPress media Library
- The basics of WordPress post thumbnail
- Enable Excerpt in WordPress pages
- Display page ( post ) content from page ( post ) ID – WordPress
- Hide / Disable WordPress admin bar
- Check a number is even or odd in PHP
- Fix for PHP Warning – Invalid argument supplied for foreach() in …
- Create custom WordPress search form in easy steps
- Make custom styles only for Mozilla Firefox
- Create custom menus for WordPress themes
- Add or remove stylesheet & scripts in Magento 1 themes using local.xml
- Move right sidebar cart in to left using local.xml – Magento 1
- Add custom PHP code in Magento 1 CMS page
- User friendly product availability message in Magento 1
- Service Temporarily Unavailable – Disable maintenance mode in Magento 1
- Add total items & price in top links – Magento 1
- Hide Paypal Logo from sidebar – Magento 1
- Use different header file for WordPress
- Display top level categories & sub categories from template files - Magento 1
- Display all product reviews on product page – Magento 1
- Replace filter links in layered navigation with checkbox – Magento 1
- Add to wishlist & Add to compare links in product list page - Magento 1
- Display breadcrumb on any template file – Magento 1
- change number of up-sell products - Magento 1
- Display login and logout links from template file - Magento 1
- Display top level categories from template files - Magento 1
- Make a tag based related posts list for WordPress
- Exclude Pages from WordPress Search query
- Insert content after each posts with filter hook - WordPress
- Remove Post revisions from WordPress Database
- Enable template path hints in Magento 1 front end
- Different user related URL for template files in Magento 1
- Add to cart button on upsell products in product detail page - Magento 1
- Restore deleted project pages in Netbeans IDE
- Quickly comment out code block in NetBeans IDE - Keyboard shortcut
- Replace footer text in WordPress dashboard
- Add to cart button in related products on product detail page - Magento 1
- The basics about packages and themes in Magento 1
- Redirect to post if search results only returns one post – WordPress
- Random banner in Magento 1 using static blocks
- Change admin path after installation - Magento 1
- The basics of Magento 1 template hierarchy
- Highlight Author’s Comment in WordPress posts
- Display upcoming posts in WordPress
- Change default Gravatar for comments – WordPress
- Set up custom header, footer or sidebar for different category posts – WordPress
- Show post excerpts in archives and index pages in WordPress
- Display categories as drop down list in WordPress template file
- Add WordPress shortcode in template file
- The Git & official Git book “Pro Git”
- Exclude posts from WordPress home page based on their category
- Custom CSS styles for individual WordPress posts
- Disable HTML content in WordPress comments
- Create a random post page in WordPress
- Change WordPress logo in Login page
- The basics of GET & POST methods in PHP
- Use first Post image as featured image in WordPress
- The Markdown markup language, syntax and examples
- Set up GitHub pages & Custom domain for GitHub pages
- Display posts published one year ago - WordPress
- List our most commented posts as popular posts in WordPress
- Get posts with custom field & specific value - WordPress
- Remove login error message from WordPress
- Make custom taxonomies for WordPress as a plugin
- Exclude categories from category list - WordPress
- Remove website field in comment form – WordPress
- Modify excerpt length & more tag – WordPress
- Empty WordPress trash before 30 days
- Add a temporary maintenance session for WordPress site
- Optimize web pages by disabling Etags
- Make a custom post type for WordPress as a plugin
- Turn off globbal_register in PHP via .htaccess file – Apache web server
- Make a theme independent static page for WordPress
- Delete all spam comments in WordPress using SQL query
- AUTO INCREMENT a Field in MySQL
- Disable image Hotlinking via .htaccess
- Make a WordPress child theme to learn basics
- The basics about WordPress template hierarchy
- Basics of PHP sessions – start, store values & destroy or unset them
- Using Google reCAPTCHA with PHP
- Find files using glob() - PHP function
- Optimize web pages using compression with mod_deflat or mod_gzip Apache modules
- Optimize web pages by leverage Browser Caching
- Date formats in Liquid Templating Engine & Jekyll
- Array functions in PHP
- Understand & avoid PHP_SELF exploits
- Add meta description in Jekyll posts
- All about the !important CSS declaration
2013
- The meta title & meta description length limit on Search Engines Result Pages
- An introduction about CSS3 media queries
- Best SEO practices in Meta description
- Add meta description on Anchor CMS default theme
- Self submit a form values using PHP_SELF
- Add Google analytics on Anchor CMS
- Anchor CMS – a lightweight, minimal & Open Source blog engine
- An introduction to Static site generators
- Escape Liquid template tags in Jekyll posts
- ID or Class - Selectors and there semantic use in HTML
- The input types in HTML5 form element
- Some HTML5 elements & its breif intro
- Noindex Jekyll posts using meta robot tags
- Handle a basic HTML form with PHP
- Difference between HTML & XML
- Make an Archive page for Jekyll without plugins
- Add Meta description & get more visitors for web pages