Thank you for purchase! If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here
Yours sincerely, flGravity
Colio plugin is a complete solution for creating and managing multiple portfolios for your website with different sets of items and individual settings.
In Admin you can easily select number of columns, choose font size for titles, button color and much more. However its main feature is the ability to display details about items on the same page in form of expandable (sliding down) viewport, that can appear before, after or inside the grid. Also plugin comes with two themes for item details presentation, that you can switch in portfolio settings.
Plugin code is well commented and structured to allow easy customization. For advanced users plugin provides few filters to modify output.
To install Colio plugin please unzip package that you downloaded from Codecanyon. Inside you will find this documentation and colio.zip plugin file.
Log in to Wordpress Admin and go to "Plugins -> Add New". Click "Upload" in menu and select colio.zip. Click "Install Now" and then "Activate Plugin".
Colio plugin provides its own post type for portfolio items. Please follow the steps below to add portfolio items
When new item page will load enter title, content and set featured image. Please note that items without featured image will not appear in portfolio grid!
So, you know how to add items. Now it's time to learn how to create portfolio and add it to the page or post.
Page will reload and new portfolio will appear in list
Open page or post and insert shortcode where you want portfolio to appear
With Colio plugin it's possible to make your portfolio filterable. To do this you should perform few simple steps, listed below
Go to "Colio -> Items" menu. For every item in list click "Quick Edit" and add some tags to the "Filter Tags" field.
Save changes and reload page with your portfolio. Filters will show up at the top of portfolio grid in alphabetical order, preceded by "x" icon to disable filters and show all items.
To insert portfolio in PHP code you can use get_colio() template tag, which by default will echo html for portfolio with given ID.
<?php get_colio('my_portfolio'); ?>
to make this function return html instead of echoing it, pass false as second parameter
<?php $my_portfolio = get_colio('my_portfolio', false); echo $my_portfolio; ?>
Portfolio ID you can get from shortcode on "Colio -> Settings" page.
Filters. Colio WP plugin provides few filters to allow theme developers or just anyone who wants to modify plugin output easily to do this.
colio_class - filter to add/modify classes for colio wrapper. Accepts array with classes as first argument and portfolio option name as second.
colio_item - filter to modify HTML for item before it is inserted into portfolio grid. Accepts HTML as first argument, item post ID as second and portfolio option name as third.
colio_content - filter to modify content for item that will be displayed in description viewport. Accepts HTML as first argument, item post ID as second and portfolio option name as third.
colio_content_main - filter to modify/append HTML to the main section of content. Accepts empty string as first argument, item post ID as second and portfolio option name as third.
colio_content_side - filter to modify/append HTML to the side section of content. Accepts empty string as first argument, item post ID as second and portfolio option name as third.
In every filter function, except "colio_class", you can use global $post variable to get current post object for colio item. To get portfolio settings for current item in filter, pass portfolio option name (3rd argument) to get_option() function. You will receive array where keys are option names.
For example, using following code you can list item groups in main section of item details
<?php function add_portfolio_name($html, $post_id, $name) { $groups = get_the_term_list($post_id, 'colio_group', '', ', '); $html .= "" . $groups . "
"; return $html; } add_filter('colio_content_main', 'add_portfolio_name', 10, 3); ?>
BTW. 'colio_group' is taxonomy name for item group and 'colio_tag' is taxonomy for filter tags.
Thanks for reading!