Minify and compress Javascript files in PHP

Minify and compress Javascript files in PHP

Loading time is an important factor in search engine optimization and for the user experience. E …

Read More

Convert 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 More

Calculate 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 More

Add 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 More

Set 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 More

Remove 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

Anonymize IP address of WordPress comments

In the context of the European privacy policy regulations some regulations for web page owners a …

Read More

Remove the URL field in the WordPress comments form

As we know, comments are often misused by website visitors to get external links. Outgoing links …

Read More

Add WordPress images to the RSS feed

By default, if you have enabled the WordPress RSS feed, images will not be included in the RSS f …

Read More

Custom image sizes for your WordPress theme

WordPress has 5 default formats for image sizes, which are automatically created every time afte …

Read More