Skip to content

Category «Tips and Tricks»

Tips and tricks i’ve learned and want to share….

PHProxy version compatible with PHP 8.0/8.1

I found the original source of PHProxy , but got a lot of errors everywhere 🙂 PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /var/www/html/index.php on line xxx So i modified it to be compatible with PHP 8.0, it can still contain some bugs. Please report …

Adding WordPress meta descriptions without the need of any plugin.

It is possible to create meta descriptions automatically in WordPress for every post, page or category. Add above function to your theme’s functions.php (“wp-content/themes/(theme_name)/functions.php, it’s best to create a child theme first but not necessary. There are three functions describing the type of content, is_category, is_home and is_singular (a single page). If you look at …

PHP Code Snippets Powered By :