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.
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…
Submit your posts to the Internet Archive
With this very simple plugin, all posts and pages that are published in the future, will be automatically submitted to the Wayback Machine’s Internet Archive for crawling. The request is submitted automatically once a post or page is published, including those, that are planned. Update 1 Here’s an optimized version of the Wayback Machine archiving…
[Update] Auto Post your WordPress Posts to Bluesky
Hi, we’ve created a very tiny, under 12kB (3kB zipped) in size Plugin that automatically shares your WordPress Posts to your Bluesky Account. First, download the Plugin here. After that, install and activate it through Plugins > Add New; or by uploading the unzipped plugin via FTP. Current Version: 1.8 (Dec 2nd 2024) Please update…
Add a for “Logged-in”, “Logged-out”, and “All” Users selection to WordPress Navigation
Hi, with the following code snippet there will appear a selection dropdown in your WordPress Navigation’s Items that will hide them for logged-out, logged-in, or all users or more so show them to only the specified users. This code is extremely helpful for things like Login and Logout Links in your Navigation. Add to your…
Aggressively block all notifications in WordPress Backend
Hi, we wanted to reduce our plugin and instead of relying on one, we created the following snippet. It blocks every and all notices in the WP Backend (though that includes “Saved Post”, and other WP-own notifications). Add the following snippet to your functions.php, or via a Plugin.