WPForms is a great form plugin for WordPress. It has an implemented honeypot functionality, but because the plugin is so popular, many spammers know about this honeypot and know, how to not trigger the honeypot. I receive a lot of spam from WPForms forms, that’s why I was looking for a solution to implement a […]
In Germany, the GDRP (in german its the “DSGVO”) permits the usage of Google Fonts. Instead, you have to host the fonts locally. The Astra Theme loads Google Fonts by default, if you don’t use the System Fonts. This is a problem in regard of GDRP. To avoid this, you have to add the desired […]
In post archives, WordPress mostly shows a post excerpt instead of the full post, followed by a “Read more” link. If your post contains tags like “pre” or “code” (and many more), the content of these tags will be removed from the excerpt. This can lead to conditions, where the excerpt does not show the […]
FacetWP is a cool WordPress plugin, that allows filtering archives, search results, etc. by so called facets. You can find more information about this plugin here. FacetWP works fine with the Astra theme, except one point – pagination. Lets say, your archive has 10 pages and you select one facet to reduce the number of […]
I just had a problem with this site. I use Laravel Forge to manage multipe VPS. Most of these VPS host multiple WordPress websites (using isolation). And I just want to delete one of these sites and create the same site again. That didn’t work. The site creation failed after deleting the site with the […]
You can use a simple SQL statement to remove a featured image from all posts, pages and custom post types in WordPress. Simply run this statement against the database: Please create a backup before running this statement – if anything goes wrong!
In WordPress, you can add pages to the admin backend by using the functions add_menu_page() or add_options_page(). If you use these functions, you may run in an error, that you get: You do not have sufficient permissions to access this page Even if you are a Super Administrator. What went wrong? Both functions allow to […]
If you use WordPress in combination with a Laravel Forge provisioned server, you may encounter problems when WordPress is not installed at the root level. I discovered especially REST errors (404), when the WordPress installation is contained in a subfolder. To fix that problem, add this to your nginx configuration: Replace my_subfolder by the name […]
If you want to debug / log WordPress database queries, you have to enable SAVEQUERIES in wp-config.php: After enabling SAVEQUERIES, add this code to your functions.php or a plugin: This method will create a file wp-content/sql.log and log all your database queries there.