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".
Updating plugin. Please use FTP method to update plugin to newer version. This will guarantee that your existing settings won't be lost during update!
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.
Tags that you add will work as filter labels and will appear at the top of portfolio grid.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 display Colio portfolio in your theme you can use get_colio() template tag. By default it will echo html for portfolio with specified 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; ?>
Correct portfolio ID you can get from shortcode on "Colio -> Settings" page.
If you want to insert your own content in item details viewport or make any other modifications, please use next filters and action hooks.
"colio_wrap_class" - filter to add/remove classes that will be assigned to portfolio grid wrapper. Accepts array with classes as argument. Must return array as well.
"colio_thumb" - filter to modify HTML for item thumb before it's inserted into portfolio grid. Filter accepts thumb HTML as first argument, item $post object as second.
"colio_item_class" - filter to add/remove classes that will be assigned to item wrapper in colio viewport. Accepts array with classes as first argument, item $post object as second. Must return array as well.
"colio_item_subtitle" - filter to modify text that is displayed as item subtitle in colio viewport. By default subtitle displays creation date. Filter accepts date as first argument, item $post object as second.
If you need to get settings for specific portfolio you can use "global $colio_settings;" variable in filter functions
"colio_item_before_main_content" - use this hook to insert text/html before item content in colio viewport. Function accepts item $post object as argument
"colio_item_after_main_content" - use this hook to insert text/html after item content in colio viewport. Function accepts item $post object as argument
"colio_item_before_social_links" - use this hook to insert text/html before social links in colio viewport. Function accepts item $post object as argument
"colio_item_after_social_links" - use this hook to insert text/html after social links in colio viewport. Function accepts item $post object as argument
"colio_item_before_side_extra" - use this hook to insert text/html before extra photos in colio viewport. Function accepts item $post object as argument
"colio_item_after_side_extra" - use this hook to insert text/html after extra photos in colio viewport. Function accepts item $post object as argument
Please note that in Colio WP v2.0 next filters are not available any more - "colio_content", "colio_content_main", "colio_content_side"!
Here is very simple example how to insert item groups underneath item content in details viewport
<?php function list_item_groups($post) { $groups = get_the_term_list($post->ID, 'colio_group', '', ', '); echo "" . $groups . "
"; } add_action('colio_item_after_main_content', 'list_item_groups'); ?>
Thanks for reading!