G

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

Minify or compress CSS in PHP

For developers of plugins or themes, it is important to provide the included CSS (stylesheets) f …

Read More
M

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
C

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
C

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
A

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
S

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
R

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