Skip to content

Easily insert specific Pastebin files with this shortcode [ pastebin id="xxxxxxxx" ], and gives the include a GitHub styled makeover.

Notifications You must be signed in to change notification settings

ajtroxell/pastebin-shortcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Pastebin Shortcode

Easily insert specific Pastebin files with this shortcode [pastebin id="xxxxxxxx"], and gives the include a GitHub styled makeover.

##Usage

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.

##Installation

  1. Unzip pastebin-shortcode.zip and upload the pastebin-shortcode folder to /wp-content/plugins/.
  2. On Plugins > Installed Plugins page, activate the Pastebin Shortcode plugin.

##Screenshots Shortcode button

Inserted shortcode

Pastebin file ID

Gihub styled output

About

Easily insert specific Pastebin files with this shortcode [ pastebin id="xxxxxxxx" ], and gives the include a GitHub styled makeover.

Resources

Stars

Watchers

Forks

Packages

No packages published