Using the Code Snippets plugin
Instead of creating your own custom plugin, or changing the functions.php of your theme, you could also use the Code Snippets plugin to add custom filters and change the behavious of picu.
- Install & activate the Code Snippets plugin from the WordPress.org Repository
- Navigate to the Snippets Menu
- Add new Code Snippet and paste a code snippet from our examples into the Code textbox.
- You can add as many snippets as you like and activate/deactivate them as needed.

Troubleshooting
Please be careful. Playing around with code has the potential of crashing your website. If you have made a mistake that renders your website unresponsive (eg. error message or white screen), rename the my-picu.php
inside the wp-content/plugins
folder to something like _my-picu.php
. This way, WordPress will no longer execute the plugin and your site should be back up and running.
Also: always make sure you’ve made a backup before you make any changes.
Still having issues?
In your WordPress Admin go to picu > Settings > Debug Info and send the contents of this page and your questions to support@picu.io.