gooloo.de for Developers.
gooloo.de shares here free-to-use and Public Domain Code Snippets and basic Plugins based on PHP, made with the Help of AI-powered Platforms like Perplexity Pro, and ChatGPT Plus.
Image Alt Text based on Post Title
Hello, with the following Code Snippet you can update all your Images Alt Texts by clicking save on your posts. This works by adding the Post Title as the Image Alt Text when you save a post. This works on all already existing images and posts; you’ll need to update them/save them again, for the…
Midnight Auto-Updater Plugin for Translations, Themes, Plugins
Hi, we all know the security aspect of having your plugins, themes, and translations up-to-date. The following Plugin automatically updates all available plugins, themes, and translations at midnight (based on your WordPress installation’s timezone). This Plugin has been thoroughly tested and the ZIP-File is less than 2kb. You can download the Plugin for free here.
[AAWP + Paid Memberships Pro] Remove AAWP based on User Level/Membership
Hi, this is a very small, but extremely powerful code snippet, that removes AAWP Boxes on the frontend entirely from users who are subscribed to a specific membership level. In our code, Levels 2 and 3 do not see any AAWP-generated advertisements. To change that, change the level numbers accordingly in Use the following Code…
[Paid Memberships Pro] Give users 7 day early access to unpublished posts
Hi, for gooloo.de +PLUS, our new ad-free solution, we wanted to enable that users of specific levels [in this code snippet levels 2 and 3, please change accordingly!] the ability to access all future, unpublished posts, that would be published in 7 days or max. That way, users of specific levels, can access posts 7…
Create a sortable Signup Date List in User List
Hello, to combat Spam we regularly check for the newest WordPress Users. Though you can’t sort by default by their signup date. This Code Snippet adds another row in the User List with the Signup Date in a sortable list.
Add verified checkmark to Post Authors (Divi, Standard Theme and wpDiscuz)
Hi, we are using Divi and wpDiscuz and we wanted to make sure, that people knew, when we we’re writing our responses, that it’s actually us. Therefore, we used this Code Snippet to add a verified checkmark with a responsive overlay when scrolling above it or clicking on it (on mobile). This Snippet adds a…
Allow only administrators to have HTML Tags in their Name and Bio
This Snippet is very easy. It ensures that only Administrators can have symbols apart from A to Z and 0-9 in their Author Names and Bios. Just add this code snippet to your functions.php file:
Easy LLMs.txt File
AI can be good. Can. But it currently isn’t – and disrupts everything from news to your basic search query. To block your website from most bots, do the following: First, create a file called llms.txt and add it to the root folder of your website, so that it reaches at yourdomain.com/llms.txt Add this to…
Add Sources via Metabox
Hi, to structure our posts better and have a clearer division between the content, we’ve added a sources meta box that automatically appends them at the end of the post, linking to them via a target=”_blank” solution. NOTE: If you use custom post types, use the following code. If not, scroll down to “Snippet”. Snippet…
Ask for Comments at 50% of paragraphs
With this very easy snippet, to all posts a container will be inserted at 50% of the posts paragraphs that asks for feedback/comments. In this version, it’s german and the currently used version on gooloo.de. You can alter it to your personal needs. The text is responsive, creating a one-line headline on all screen sizes…