Martin Jost

Open Graph in WordPress einbetten, ohne Plugin

Das Open Graph-Protokoll ermöglicht es, dass jede Webseite als “rich object” im &#82 …

Read More

Get Metadata from WordPress Video and Audio files

In addition to images, videos and audio files are other formats that we can upload to WordPress …

Read More

Use PHP to remove certain characters or words from a string

The default PHP function str_replace(); is a useful tool if we want to remove certain characters …

Read More

Get the current WordPress URL

In some cases, it may be necessary to get the current WordPress URL of where the user is current …

Read More

Compress files with Gzip in PHP

If you already want to Gzip compress a file with PHP, the following function will help you. This …

Read More

Trim a PHP string before the last special character

This small PHP function is helping us to get only a part of a value (string) by using a specific …

Read More

Get the absolute File Path (Document Root-Path) in WordPress

Wenn man als Webentwickler mit Dateien arbeitet, die auf dem Server liegen und diese innerhalb e …

Read More

Create a connection to WordPress MySQL database in PHP

WordPress stores all the website data in a database and uses it, for example, if a certain conte …

Read More

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

Minify or compress CSS in PHP

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

Read More