The Must Have for WordPress
The Must Have for WordPress
×
  • Home

Martin Jost

December 3, 2019
WordPress

Open Graph in WordPress einbetten, ohne Plugin

Das Open Graph-Protokoll ermöglicht es, dass jede Webseite als “rich object” im “social graph” behandelt werden kann. Der Open Graph wird vor allem von Facebook dafür genutzt, spezielle Inhalte wie den Titel, die Beschreibung oder das Bild einer Webseite auszule ...

Read More
Share on Facebook Tweet on Twitter Share on Linkedin Pin on Pinterest Send via E-Mail Send via WhatsApp
December 5, 2019
PHP WordPress

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 and make them accessible to users. Depending on the use case, it may be useful to get certain metadata from video or audio files to show more details for the user. How can I get Metadata fro ...

Read More
Share on Facebook Tweet on Twitter Share on Linkedin Pin on Pinterest Send via E-Mail Send via WhatsApp
December 5, 2019
PHP

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, symbols or words from a string. Below I show you how to work with it. How do I remove specific characters from a string? The following wrapper function shows how we can use PHP to remove s ...

Read More
Share on Facebook Tweet on Twitter Share on Linkedin Pin on Pinterest Send via E-Mail Send via WhatsApp
December 5, 2019
PHP WordPress

Get the current WordPress URL

In some cases, it may be necessary to get the current WordPress URL of where the user is currently browsing or visiting a web page to pass that URL in a particular PHP function. How do I get the current URL in WordPress? The following function is useful to getting exactly the current W ...

Read More
Share on Facebook Tweet on Twitter Share on Linkedin Pin on Pinterest Send via E-Mail Send via WhatsApp
December 5, 2019
PHP

Compress files with Gzip in PHP

If you already want to Gzip compress a file with PHP, the following function will help you. This allows you to store a file in advance gzip-compressed. How does the Gzip function work? Um mit dieser Funktion zu arbeiten, benötigen wir den absoluten Server-Pfad zu einer Datei, welchen w ...

Read More
Share on Facebook Tweet on Twitter Share on Linkedin Pin on Pinterest Send via E-Mail Send via WhatsApp
December 5, 2019
PHP

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 character as an indicator. How do I get only the last part of a value? We can use the following function to get only a value after the last character we’ve passed to the function. ...

Read More
Share on Facebook Tweet on Twitter Share on Linkedin Pin on Pinterest Send via E-Mail Send via WhatsApp
December 5, 2019
PHP WordPress

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 eines WordPress-Templates aufrufen möchte, benötigt man den absoluten Pfad zu einer Datei. Zum Beispiel kann dies hilfreich sein, wenn man bestimmte Dateieigenschaften oder Dateiinhalte ausle ...

Read More
Share on Facebook Tweet on Twitter Share on Linkedin Pin on Pinterest Send via E-Mail Send via WhatsApp
December 5, 2019
Database PHP

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 content or settings of a post will output to a visitor. In most cases, a MySQL database is used. As theme or plugin developers there may be reasons to change specific settings in the WordPress da ...

Read More
Share on Facebook Tweet on Twitter Share on Linkedin Pin on Pinterest Send via E-Mail Send via WhatsApp
Page 1 of 3
Posts navigation
1 2 3
  • Imprint
  • Privacy Policy
© 2016-2023 - wphave - The Must Have for WordPress
Login

Lost your password?

RequiredEssential cookies enable basic functions and are necessary for the proper functioning of the website.
  • Name: Cookie Status
  • Provider: Owner of this website
  • Purpose: Is necessary to check whether the user's web browser allows cookies.
  • Privacy Policy: https://wphave.com/privacy-policy/
  • Cookie Name(s): cookie_status
  • Duration: 1 Minute
  • Name: Cookie Consent
  • Provider: Owner of this website
  • Purpose: Is necessary to check whether the user agrees to allow opt-in cookies or not.
  • Privacy Policy: https://wphave.com/privacy-policy/
  • Cookie Name(s): cookieconsent_analytics, cookieconsent_marketing, cookieconsent_status
  • Duration: 1 Year
  • Name: Like Button
  • Provider: Owner of this website
  • Purpose: Is necessary to check whether the user has already gave a like for a specific post.
  • Privacy Policy: https://wphave.com/privacy-policy/
  • Cookie Name(s): like_btn_{POST_ID}
  • Duration: 21 Days
  • Name: Post Rating
  • Provider: Owner of this website
  • Purpose: Is necessary to check whether the user has already rate a specific post.
  • Privacy Policy: https://wphave.com/privacy-policy/
  • Cookie Name(s): rating_{POST_ID}
  • Duration: 7 Days
AnalyticsStatistics cookies collect information anonymously. This information helps us to understand how our visitors use our website.
  • Name: Google Analytics
  • Provider: Google LLC
  • Purpose: Google cookie for website analysis. Generates statistical data on how the visitor uses the website.
  • Privacy Policy: https://policies.google.com/privacy
  • Cookie Name(s): _ga, _gat, _gid
  • Duration: 2 Years