Embed pastes from pastebin.com into your WordPress site.
Store your text online on Pastebin.com and embed it to your WordPress site.
Pastebin is a an online web service where you can store text for a certain period of time. The website is mainly used by programmers to store pieces of sources code or configuration information, but anyone is more than welcome to paste any type of text. The idea behind the site is to make it more convenient for people to share large amounts of text online.
With the Pastebin WordPress plugin, you can easily embed pastes to your WordPress posts using the paste URL or paste ID.
Choose any item from pastebin, or create your own! Copy the item URL and paste it to your post text editor. Then simply click over to the visual editor to confirm that it loads properly.
Alternatively, you can embed pastes to your content using the [pastebin id=""]
shortcode and the paste ID.
For any questions or more information, please contact us.
With this plugin you can use the URL to embed pastes. Just paste the item URL into your post editor:
http://pastebin.com/hcv2WRnX
Since WordPress 4.2, you can double click the embedded item to set max width and max height. It will add the WordPress [embed]
shortcode:
[embed width=”600″ height=”400″]http://pastebin.com/hcv2WRnX[/embed]
Note: Doing it the WordPress way, using the [embed]
shortcode, is backwards and forward compatible, and it works with all the themes.
You can use the Pastebin shortcode to embed pastes that shows full code, full height depending on amount of lines in paste.
[pastebin id="hcv2WRnX"]