Wordpress: Using wp_remote_get() to fetch remote REST json API
Learn how to use wp_remote_get() a wordpress builtin api to fetch any REST apis. wp_remote_get() is useful if you want to integrate data from another web service into your WordPress site, or if you want to consume data from an external API for some other purpose. For explanation we will use github REST api and pull git commits and print them.
Hugo: Using getJSON to fetch remote REST API in hugo template
Hugo is very powerful static site builder, it can fetch any JSON rest API and build content out of it. In this example we will use getJSON hugo function to fetch the json data from Woocommerce site. You can develope this further and create a full fledged headless e-commerce website with hugo at the frontend wordpress and woocommerce as a backend.
Imagemagick Convert PDF to Image
How to convert a pdf to image using Imagemagick
How to customize Thunderbird Mail theme using userChrome.css
Thunderbird has lots of customization option, In this guide learn how to customize Thunderbird Mail theme using CSS
Imagemagick Perspective Transform for Floor Tiles Layout
In this how to guide we show you how to perspective transform using Imagemagick for floor tiles layout
Imagemagick Resize, Crop Images
Simple commands to resize, crop images using Imagemagick
Hugo: How to escape Hugo shortcodes
If want to escape/comment a shortcode (aka. prevent from executing shortcode) in a .md, and display the shortcode itself in the output.
Hugo: shortcode for displaying a cards
Hugo shortcode snippet for displaying a cards (with tiles and content). Cards will help you highlight a block content in a post
Delhivery API status tracking rest API
How to use Delhivery REST API for tracking shipment status.
PHP: Calculate date difference in days
How to find number of days between two dates using PHP?