This plugin was built to display the portfolio at
premisewp.com. What's neat about this plugin, compared to the MANY other portfolio plugins out there, is that it was built with developers in mind. We have put together a plugin with no Options page (options are passed through filters from your theme). It offers a shortcode that accepts a few params (columns, additional classes, cat) and calls a loop template that can also be customized directly from your theme.
The idea here is that if you have a client that needs a portfolio and you are buiolding them a theme, you should be able to simply install the portfolio plugin in the client's site and then control all the options and the view directly from your theme. This way the plugin and your theme simply work nice together. When the plugin is updated none of your changes are affected.
Customize the shortcode
To control the view of the shortcode the easiest wasy to start is to copy the file
loop-premise-portfolio.php
located in the
view
directory of the plugin into your theme directory. From here you can change the HTML directly or add your own code. To remove any of the plugin's css simply remove the id attribute
pwpp-portfolio-grid
.
Do the same thing with the file
content-premise-portfolio.php
to control the content of a single portfolio item. To remove any of the plugin's css simply remove the id attribute
pwpp-portfolio-content
.
This section describes how to install the plugin and get it working.
e.g.
- Upload the plugin main folder to the
/wp-content/plugins/
directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the 'Plugins' screen in WordPress
- Start adding Portfolio Items :)