Get the installation URL of WordPress
In some cases, it can be very helpful to use the WordPress installation URL for a PHP validation …
Read MoreMinify or compress CSS in PHP
For developers of plugins or themes, it is important to provide the included CSS (stylesheets) f …
Read MoreMinify and compress Javascript files in PHP
Loading time is an important factor in search engine optimization and for the user experience. E …
Read MoreConvert HEX color to RGBA color code in PHP
While working with theme or plugin options, in some cases we need to convert a hex (hexadecimal) …
Read MoreCalculate the correct content width for the Gutenberg editor
The WordPress Gutenberg editor allows you to customize and edit web page content according to th …
Read MoreAdd custom classes to the WordPress BODY tag
Anyone who develops their own theme with a customizable layout or settings a theme needs to add …
Read MoreSet custom WordPress post format for custom post type
If you’re working with custom post types in WordPress, you may have noticed that all post …
Read MoreRemove date / time from WordPress comments
By default, the date and time of a comment are displayed in WordPress. Basically, it is always a …
Read More