WP Manifestindependent plugin directory
manifest / media / otomaties-social-media-picture-generator

Otomaties Social Media Picture Generator

Allow visitors to generate a social media picture with a custom overlay

★ 1stars
38composer installs

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/tombroucke/otomaties-social-media-picture-generator/archive/refs/heads/main.zip

On Packagist as tombroucke/otomaties-social-media-picture-generator:

composer require tombroucke/otomaties-social-media-picture-generator
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Plugin boilerplate

Clone

git clone git@github.com:tombroucke/plugin-boilerplate.git

Rename

PLUGIN_NAME="my-plugin"
PLUGIN_NAMESPACE="MyPlugin"
rm -rf plugin-boilerplate/.git
mv plugin-boilerplate/plugin-boilerplate.php plugin-boilerplate/"$PLUGIN_NAME".php
mv plugin-boilerplate "$PLUGIN_NAME"
find "$PLUGIN_NAME" -type f -name '*.php' -not -path '"$PLUGIN_NAME"/vendor/*' -exec sed -i '' "s/PluginBoilerplate/${PLUGIN_NAMESPACE}/g" {} \;
find "$PLUGIN_NAME" -type f -name '*.php' -not -path '"$PLUGIN_NAME"/vendor/*' -exec sed -i '' "s/plugin-boilerplate/${PLUGIN_NAME}/g" {} \;
sed -i '' "s/PluginBoilerplate/${PLUGIN_NAMESPACE}/g" "$PLUGIN_NAME"/composer.json