Easily insert specific Pastebin files with this shortcode [ pastebin id=”xxxxxxxx” ], and gives the include a GitHub styled makeover.
Two ways are provided to insert the shortcode. (The value “xxxxxxxx” represents your Pastebin file ID.)
- Insert [ pastebin id=”xxxxxxxx” ] manually.
- The plane text editor “Pastebin” shortcode button.
You can place these shortcodes in pages, posts or any custom content.
- Unzip pastebin-shortcode.zip and upload the pastebin-shortcode folder to /wp-content/plugins/.
- On Plugins > Installed Plugins page, activate the Pastebin Shortcode plugin.