Go Portfolio

Contents

1. List of Features

2. Install & Update the Plugin

3. Set and Create Portfolios

4. Insert Portfolios to Content

5. Video Tutorials

6. Sources and Credits

7. WordPress Filters and Actions

8. Changelog

1. List of Features

Features

2. Install & Update the Plugin

There are two ways to install the plugin. Using Wordpess Plugin Uploader or FTP. Before intstalling the plugin you should unzip the downloaded package to a folder on your hard drive. After extracting the file you can find some folders and a zipped file "go_portfolio.zip" in the root of your folder. Go_portfolio.zip contains the plugin data.

WordPress Plugin Uploader

If you use "WordPress Plugin Uploader" to install the plugin, then you should NOT unzip go_portfolio.zip file.

Installation steps:

FTP

Installation steps:


After uploading plugin, you should activate it. Navigate to Plugins in WordPress navigation, then find the Go Portfolio - WordPress Responsive Portfolio plugin, then click to 'Activate'.

After activating the plugin you can import demo data to use the demo portfolios included in the package.


Update the plugin

You should update the via FTP. The process is same as the installation using FTP. Please DO NOT uninstall the plugin before updating it.

3. Set and Create Portfolios

Setting Up and Creating Portfolios

The plugin has tons of features to fit your site best. It's very important to set it properly before inserting shortcode.


The plugin has 5 menu items:



1. General Settings

You can enable or disable responsivity and modify minimum and maximum widths for tablet and mobile devices.

You can set primary and secondary font (system or Google). When you create a portfolio you can choose font family for a font type.

When you would like to use your regular blog posts or other (not the plugin generated) post types you should enable them on this page. After enabling the Go Portfolio Options metabox will appear under WP editor when you edit a post.


You can fine tune the plugin to fit your site or CSS framework best.



2. Import & Export demo data

You can Import & Export data. This feature helps you importing demo data or moving your portfolio from your site to another or create a backup file. This data doesn't contain posts or custom type posts content, it contain only portfolio and custom post types data. If you would like to import or export posts as well you should use WordPress Importer plugin.

Importing data:

Exporting data:


The plugin imported/exported data doesn't contain the post content data. If you would like to import or export posts, then you should use the WordPress Importer plugin.

Steps of importing demo data:



3. Create Custom Post Types

You can create unlimited post types with the plugin. You should enable it to register the post type and use it. Without enabling it, its data (name, slug, etc.) stored it database. You can import or export these data. The exported data doesn't contain the post content data itself.

After creating and enabling a new custom post type its name will appear in WP navigation, then you can add or edit posts for this custom post type.


Every custom post type (created by the plugin) has its own category and tag taxonomies.



4. Template & Style Editor

The plugin comes with several templates and styles. These templates and styles originally stored is separate files in "templates" folder. These files are automatically imported to database when you activate the plugin or can be reseted under Navigate to Go Portfolio » Template & Style Editor.

When you create a portfolio these database stored data is used.

Under Go Portfolio » Template & Style Editor you can customize the default templates and styles but whenever you click reset to original data will be restored from files.


Templates & Style storage method:

  1. File (the default data) - This data will be loaded when you click to reset under Go Portfolio » Template & Style Editor
    You can edit them in templates folder.
  2. Database (default data when you edit portfolio) - This data will be loaded when you create a portfolio and don't customize the template. You can edit generally them under Go Pricing » Template & Style Editor
    Reset source: file data.
  3. Portfolio - When you create a portfolio the default database-stored template and style can be customized for the current portfolio only - When you click to 'Reset' the original database-storeddata will be reloaded
    Reset source: database data.


5. Create a Portfolio

To create portfolios navigate to Go Portfolio. You can create new or modify and clone existing portfolios. You should set a Portfolio Name, Portfolio ID and select a Post type for portfolio first then you should set other parameters.

Don't forget to enable the portfolio before you insert the shortcode into pages/posts.


Portfolios can be inserted into pages/posts via [go_portfolio id="my_portfolio"] shortcode. The Portfolio ID must be unique.

4. Insert Portfolios to Content

Portfolios can be inserted to pages/posts via [go_portfolio id="my_portfolio"] shortcode.

The shortcode supports three parameters:

For example: [go_portfolio id="my_portfolio" margin_bottom="50px"].


You can insert any number of portfolios on your site or even on one single page using these shortcodes. You can also insert portfolios to your site using Visual Composer.

5. Video Tutorials

1. Install the Plugin



2. Import Demo Data



3. Export Demo Data



4. Enable External Post Types



5. Manage Custom Post Types

6. Sources and Credits

Following sources has been used.


Please read the 'licenses.txt' in Zip > licences.

7. WordPress Filters and Actions

go_portfolio_lightbox_caption 

The go_portfolio_lightbox_caption (available since v1.7.3) WordPress filter allows to modify a portfolio item's ligtbox caption text.

Usage

add_filter('go_portfolio_lightbox_caption', 'my_lightbox_caption', 10, 3);
function my_lightbox_caption( $caption, $post, $portfolio ) {
    // Do stuff here
    return $caption;
}

Arguments

Argument Type Description
$caption string Current caption text
$post object WP_Post Current WP_Post object
$portfolio array Portfolio settings array

Example: Modify the caption text for the a specific post.

add_filter('go_portfolio_lightbox_caption', 'my_lightbox_caption', 10, 3);
function my_lightbox_caption( $caption, $post, $portfolio ) {
    // Set a new caption for the post with an ID of '23'
    if ( $post instanceof WP_Post && $post->ID == 23 ) {
        $caption = 'My new fancy caption';
    }
    return $caption;
}

go_portfolio_image_thumbnail_class

The go_portfolio_image_thumbnail_class(available since v1.7.4) WordPress filter allows to add a custom class to the portfolio item's image thumbnails.

Usage

add_filter('go_portfolio_image_thumbnail_class', 'my_custom_image_class', 10, 3);
function my_custom_image_class( $class, $post, $portfolio ) {
    // Do stuff here
    return $class;
}

Arguments

ArgumentTypeDescription
$classstringCurrent image class*
$postobject WP_PostCurrent WP_Post object
$portfolioarrayPortfolio settings array

Example: Modify the caption text for the a specific post.

add_filter('go_portfolio_image_thumbnail_class', 'my_custom_image_class', 10, 3);
function my_custom_image_class( $class, $post, $portfolio ) {
    // Set a class for the post with an ID of '23'
    if ( $post instanceof WP_Post && $post->ID == 23 ) {
        $class = 'new-class';
    }
    return $class;
}

* You can add custom class to portfolio image thumbnails globally under "Image Thumbnail Class" setting on the General Settings page of the plugin.

8. Changelog

We are frequently releasing new features and bufixes to the plugin, so it is strongly recommended to keep it up do date, to make sure that you utilise all the latest fixes, features and improvements!

So, what's new?

View Changelog