WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by DobsonDev v2.1.12

DobsonDev Shortcodes

Add a collection of helpful shortcodes to your site.

DobsonDev Shortcodes

The facts

Rating
5★ from 4
Active installs
100+
Price
Free
Last updated
5 May 2020
Added
Mar 2014
Requires WP
2.5
Tested up to
WP 5.4.21
Downloads
17,568

Our analysis

AI-assisted

DobsonDev Shortcodes is a WordPress plugin that provides a collection of shortcodes for embedding various types of content, including PDFs, GitHub gists, Twitch streams, and videos from YouTube and Vimeo. It includes a TinyMCE Plugin that adds a button to the editor, allowing users to easily insert shortcodes with a user-friendly interface.

This plugin is suitable for users who want to enhance their WordPress site with multimedia content and interactive elements without needing extensive coding knowledge. It is particularly useful for developers and content creators in the gaming and media sectors, as well as those who want to share code snippets and related posts.

Best for: This plugin suits developers and content creators looking to embed multimedia and interactive elements in their WordPress sites.

What it does well

  • Includes a TinyMCE Plugin for easy shortcode insertion
  • Supports embedding of various media types like PDFs and videos
  • Allows for user interaction messages and social sharing options
  • Provides options for displaying related posts

Where it falls short

  • Limited information on shortcode customisation and usage
  • No recent updates since May 2020

Verdict

DobsonDev Shortcodes offers a straightforward way to add various types of content to your site. However, its lack of recent updates may be a concern for some users.

From the developer

DobsonDev's own description of DobsonDev Shortcodes, lightly tidied.

A collection of helpful shortcodes that I use in my own work that I wanted to share with the WordPress Community. If you want to suggest any shortcodes please email me at alex@dobsondev.com. Please download from the Offical WordPress Repository for easiest installation. If you would like to donate please click here.

As of version 2.0.0 DobsonDev Shortcodes includes a TinyMCE Plugin that provides a button and user interface for adding the shortcodes. The button is the DobsonDev Shortcodes logo and if you click on it you will see a dropdown menu with all of the different shortcodes available to you. Click on the shortcode you want and a popup will appear (for the most part – three of the shortcodes just appear in the editor and you can fill their content in) containing the different attributes for that shortcode. The required attributes are marked with stars and you must fill them in. The other optional attributes can either be filled in to include them or left blank to leave them out.

Shortcodes Included

  • Embed PDFs – Embeds PDFs into pages rather than separate links.
  • Embed GitHub Gists – Easily add GitHub gists to your site or blog.
  • Embed GitHub Repo Readme – Easily add the content from your GitHub repository README.md file.
  • Embed GitHub Repo File Contents – Easily add the content from a file from any GitHub repository.
  • Embed Twitch Stream – Embeds a Twitch Stream into the page.
  • Embed Twitch Stream Chat – Embeds the chat from a Twitch Stream into the page.
  • Embed YouTube Video – Embeds a YouTube Video into the page.
  • Embed Vimeo Video – Embeds a Vimeo Video into the page.
  • Inline Code – Displays inline code snippets that are visually different than the body text.
  • Code Block – Displays a simple code block for simple, small pieces of code.
  • Button – Displays a purely CSS button with choice of color, text and link.
  • User Interaction Messages – Displays a message with appropriate color that you can use to notify users of how their interaction is working.
  • Related Posts – Displays manually entered related posts on your post’s page that cycle through in a little slideshow. Only for use with posts, NOT pages!
  • Social Share – Displays a section for sharing your page on social media, shows links for Twitter, Facebook, Google Plus and Linkedin.

Embed PDF

[embedPDF source=”http://yoursite.com/path-to-the-pdf.pdf” width=”###” height=”###”]

This Shortcode will embed a PDF into the page rather than making it a seperate link that must be clicked to be viewed. It is displayed in the browsers default PDF reader since it is embedded as an application. The source attribute is the URL of the PDF and is required. The width and height attribute will set the size of the embedded application, and are both optional. If they are not entered then the width is set to 100% and the height to 600.

Please note that setting the width to “auto” will not work. Rather, please set the width to “100%” to get the same effect. If you are looking to add your own custom CSS to the container around the PDF embed, the class is “div.dobdev-pdf-container”. This should only be done by someone experienced using CSS, otherwise the results could cause harm to the layout of your site.

Embed GitHub Gists

[embedGist source=”http://gist.github.com/your-account/gist-id”]

This Shortcode will embed a GitHub Gist into the page. The Gist will be embedded in a little box that makes it easy to share code samples with other developers (or whoever you want to share them with). The source attribute is the URL to the Gist and is required.

If you are looking to add some custom CSS to the Gists, they are automatically put into “div.gist” by GitHub. Use that class when doing any CSS changes. This should only be done by someone experienced using CSS, otherwise the results could cause harm to the layout of your site.

Embed GitHub Repo Readme

[embedGitHubReadme owner=”Owner_of_Repo” repo=”Repo_Name” cache_id=”id”]

This shortcode will display the contents of any GitHub repository’s README file. The markdown will displayed as HTML output onto the page. This shortcode uses GitHub API calls to ensure that as you update you README file the output from this shortcode will also update.

The style will match that of your default page style, but if you want to change the style just wrap the shortcode inside of a div and then edit as much as the style as you want.

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for video content.

WP YouTube Lyte

High performance YouTube video, playlist and audio-only embeds which don't slow down your blog and offer...

Free 20k+ installs 4.8★ (206)
All-in-One Video Gallery

Video gallery plugin for WordPress with a built-in HTML5 player. Embed YouTube, Vimeo, Dailymotion, Rumble, an...

Free 20k+ installs 4.8★ (135)
Video Gallery

Modern responsive YouTube video gallery helps your website getting noticed from visitors, increase the reach a...

Free 20k+ installs 4.7★ (322)
HTML5 Video Player

Responsive HTML5 video player for WordPress. Embed MP4, WebM, OGG, YouTube & Vimeo with shortcodes or bloc...

Free 20k+ installs 4.6★ (195)
Videopack

Makes video thumbnails, allows resolution switching, and embeds responsive self-hosted videos and galleries.

Free 10k+ installs 4.8★ (63)