This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Web Developer's Portfolio


Web Developer’s Portfolio is a plugin designed to showcase screenshots from both desktop and mobile devices for each portfolio listing. Portfolio items are displayed on any page of your choice using shortcodes.

This plugin works by creating a custom post type for portfolio items, and allows you to upload two separate images per portfolio item – one for a desktop screenshot and one for a mobile screenshot. Through the use of shortcodes you can then display portfolio items on a page of your choice – displaying either a desktop screenshot only, mobile screenshot only, or both.

The output is styled with Flexbox, with an excerpt and button to the project page of your choice. You can also set the portfolio items to be publicly-queryable, meaning you can add single-portfolio.php or archive-portfolio.php templates to your site to customize the design of your individual portfolio pages.

Note: If you intend to use the default styling provided by the shortcodes it is recommended that you utilize full-width pages for the best visual effect (though you are welcome to modify the CSS through your theme to fit your needs).


  • Project Link: Add a link to the page you’d like your portfolio item to link to.
  • Mobile Image: A second featured image upload option for each portfolio item.
  • Shortcodes: Two different shortcodes to display either individual portfolio items by ID or all portfolio items.
  • Item ordering: You can set the order number for each portfolio item.
  • Rich text excerpts: Customized excerpt boxes allow for the addition of html elements as with the normal post editor.


  • Edit portfolio item admin screen
  • Portfolio item management admin screen
  • Portfolio settings admin screen
  • Screenshot of portfolio shortcode output on front-end


  1. Upload wdp-plugin to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to the Web Developers Portfolio settings option in the admin to set whether you’d like each portfolio item to be available on a page of it’s own by default.
  4. Head to the ‘Portfolio’ menu in the admin and start building your portfolio.


What are the shortcodes?

[wd_portfolio] will output all portfolio items (images and excerpts, styled using Flexbox).
[wd_portfolio_single id=”{id}”] (for example [wd_portfolio_single id=”5″]) will output the portfolio item with the id specified (images and excerpt, styled using Flexbox).

What is the point of the content editor on the portfolio editor page?

While the purpose of this plugin is to enable you to display portfolio items via shortcodes linking to custom pages, you may choose to create custom pages on your site for your portfolio items based on the content you add directly in the portfolio editor. In the WordPress Admin Menu, you will see a setting called ‘Web Developers Portfolio Plugin’ (Administrator-level access only). If you check the box in this settings page it will enable you to view each portfolio listing as a page. You will need to get your hands dirty with code and create a single-portfolio.php template in order to customize the page layout or an archive-portfolio.php template for an archive page – alternatively you can use the default portfolio page that is created for each portfolio item and make adjustments with php or css, depending on your theme / template.

The content within the content field will be what displays on the custom portfolio page created by this post-type.

How can I customise the button colour?

Add this to your child theme’s style sheet:

// Main button background:
.wdp-btn {
background: #yourhexvaluehere !important; // eg. background: #27a6bc !important;

// On hover and active button background
.wdp-btn:hover, .wdp-btn:active {
background: #yourhexvaluehere !important; // eg. background: #52B8C9 !important;

What are the recommended image sizes?

For desktop screenshots, aim for an image ratio of width:height = 1.5:1 (for example 2550px x 1700px).

For mobile screenshots, aim for an image ratio of width:height = 1:2 (for example 250px x 500px).

The excerpt is too long?

WDP plugin is best suited to display on full-width pages, with reasonable excerpts (not too long). Though excerpts are capped at 70 words, your site’s font size may mean this can distort the layout of the preview. Experiment with excerpt sizes until you find the display that works best for your site.

The mobile image doesn’t sit quite right with the desktop image?

The mobile screenshot is designed to sit over the bottom right of the desktop screenshot, with an overlap into the white space below. Depending on the size of the image you’ve uploaded, as well as the width of the screen space available (full-width recommended), this might not sit perfectly. The recommended image proportion for the mobile screenshot is width: height = 1:2 (height double the width). If you want to increase the width of the displayed mobile image (the height is automatic based on the width) add the following to your child themes style sheet:

.wdp-mobile-preview {
max-width: yourwidthvalue !important; // adjust appropriately, for example 20%, 10em, etc.

Do I need to use the shortcodes?

No, you can use this plugin to create the portfolio custom post type and customize the portfolio page output as you wish through single-portfolio.php and archive-portfolio.php.

Why was this plugin created?

I had a need to display both desktop and mobile screenshots for individual portfolio items, and didn’t want to have to hand-code every new item into the page template. I created this plugin to allow the process to be quick, efficient and scalable.


There are no reviews for this plugin.

Contributors & Developers

“Web Developer's Portfolio” is open source software. The following people have contributed to this plugin.




  • Added ability to change portfolio slug, avoiding page name conflicts


  • Fix: Implode function wasn’t displaying button text in some instances


  • Added ability to change portfolio url button text in WDP Portfolio Settings page
  • Fix: Changed call to title and button text in mobile media uploader to avoid Ninja Forms plugin conflict
  • Fix: Edited several instances of translatable strings for internationalisation


  • Fix: Changing target page from button url’s to be internal rather than external
  • Changing short description in readme.txt


  • First stable version
  • Fix to prevent shortcode output always displaying before content
  • Fix to over-ride max posts per page setting for shortcode output
  • Changing ordering of portfolio items on listings page to be by date added
  • Updated readme.txt – added to ‘short description’ of plugin


  • Initial release