Announcing: Kirby Pig Latin Plugin

Hi all!

To the best of my knowledge, nobody has written a Kirby plugin like this one yet, so here we go!

I wrote a field method plugin to convert text to Pig Latin, and it’s atrocious. This was mostly an exercise to learn about writing Kirby plugins, but I thought I’d post it here for people’s amusement.

Kirby Pig Latin Plugin on Github
From the readme:

Have you ever wished you could easily convert your website’s text to pig latin? Have you looked far and wide for the perfect Kirby plugin to do this exact thing for you? Are you a masochist who enjoys installing terrible, hacky, ugly plugins that are almost certain to destroy everything you love? Well today’s your lucky day!

Don’t roast me too badly!
Simon

2 Likes

:joy:

Pro tip: Do not use a closing PHP tag at the end of your index.php.

https://www.php.net/manual/en/language.basic-syntax.phptags.php

thanks for sharing. it certainly is a very unique plugin.

high praises for documenting your code well. thats a skill easily lost when programming a lot.

it might be a major undertaking at first but my best tip to improve in coding php is installing https://github.com/nunomaduro/phpinsights and trying to solve the issues it reports.

Thanks for the feedback Sonja! I’ve fixed this now :slight_smile:

Thanks for the praise :slight_smile:

I’ll take a look at PHP Insights when I’ve got a spare moment, it looks useful! I really appreciate your feedback.

Also, I’ve used your plugins for a few personal projects (like your RSS plugin and fingerprint plugin on my site here). Thanks for everything you do, both here on the forums, and in contributing plugins for Kirby!

1 Like