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.

  • Set Viewport Meta via PHP Snippet

    Set Viewport Meta via PHP Snippet

    Hello, we’re using Divi as our main page builder over on gooloo.de and have seen, that there is missing a header for visually impaired people. This universal PHP Snippet sets the device width as the main width and enables scrolling up to 5x zoom into the page. Place it anywhere in your functions.php, or via…

  • Post List inspired by Spiegel.de

    Post List inspired by Spiegel.de

    We really enjoy our SPIEGEL+ Membership and we’re genuinely in aw with the work they do on a daily basis, even when sometimes our opinion differ. We wanted to have a very basic version of how they style their posts in the DER SPIEGEL App on Android. We’re using here a dynamic shortcode with added…

  • Hero Banner inspired by Boosteroid

    Hero Banner inspired by Boosteroid

    We we’re looking at Cloud Gaming Services and found a Hero Banner that looks absolutely stunning. We found it on Boosteroid and have made something inspired by it. See the Pen Hero Banner with overlapping PNG by Nico Pahl (@gooloonetwork) on CodePen. This comprises of three components. JavaScript to close the Hero Banner, CSS, and…

  • Add PDF as E-Mail Attachment based on Subject

    Add PDF as E-Mail Attachment based on Subject

    Hi, we were looking for a very simplistic code, that is not based on a Plugin specifically, but rather all E-Mails sent through the query. We’re now using this code. Explanation In $subject add specifically which subject line should be used. This needs to be an exact match. In $pdf_id add the media library item…

  • Add a full-width container looking like a Facebook Page Header

    Add a full-width container looking like a Facebook Page Header

    Hi! For an ad campaign we were looking for a clean, easy-to-use container that looks something like Facebook’s Header on public pages. To use this, you can view the CodePen or scroll down for further details. See the Pen Facebook Page Header Design by Nico Pahl (@gooloonetwork) on CodePen. First, we need to place the…

  • [Update] Animated Gift Box Overlay with FontAwesome for a Giveaway

    [Update] Animated Gift Box Overlay with FontAwesome for a Giveaway

    We used this code example to promote a giveaway with Lush. You can use and edit this code freely. Also: If you don’t want the additional functionality, scroll down, to only use the DIV container, and associated CSS. Add as a PHP Snippet to your functions.php, f.ex. via Code Snippets Plugin. See the Pen Animated…

  • Send Messages to your Telegram Broadcast through your WP Dashboard

    Send Messages to your Telegram Broadcast through your WP Dashboard

    Hello, we we’re looking for a simple solution and creates this small, handy, tool. To use, unzip the folder, you can download here, and open “telegram-message-sender.php”. Enter your Bot Token and your Channel-ID with appending @ into the PHP Code. Either use the code as a functions.php file (f.ex. through Code Snippets) by Copy and…

  • Automatically append a Word or Phrase after a Post Title, based on Category ID

    Automatically append a Word or Phrase after a Post Title, based on Category ID

    This code is very simple. It adds a seperator (|) and a desired word or phrase at the end of a post, when it is in your defined category ID. For example, if you set the ID to 1, all posts in category ID 1 will have this text appended. You can see it in…

  • Add a Text (f.ex. Privacy-related) before your Comments

    Add a Text (f.ex. Privacy-related) before your Comments

    With this code, an text passage will be placed right before your comments, if they’re open for that post. You can modify the text within and use basic HTML. To use this, add it to your Theme’s functions.php, or via a Code Snippet Plugin.

  • Notify IndexNox API on Category description Update

    Notify IndexNox API on Category description Update

    We’re using RankMath for all of our SEO needs, but one place hasn’t been integrated fully into any SEO Plugin: The Categories. We saw, that categories’ descriptions we’re outdated and no Search Engine was notified, whilst posts, and pages, we’re updated correctly. To add the categories’ edit, we’ve added the following Code sample. Add it…

Follow us on Codepen