GS Portfolio’s shortcode usage
Please be aware that, starting with Version 3.0.0, we have introduced an intuitive shortcode generator equipped with a preview feature. This enhancement facilitates a seamless experience for you.
- Access the shortcode generator by going to GS Portfolio > Shortcode.
- Within the generator, select your preferred theme and configure other necessary parameters.
- Upon completion, the generator will provide you with a shortcode accompanied by a unique ID. An example of this shortcode format is
[gsportfolio id=6].
With this streamlined process, creating and managing your portfolio has never been easier. The shortcode system allows you to effortlessly integrate a portfolio into your website, adding a layer of authenticity and credibility. Experience the power of GS Portfolio and take your website to new heights.
Basic Usage
[gsportfolio id=1]
Shortcode Attributes Usage
[gsportfolio id=2]
// (Old Style)
[gs_portfolio title="yes" posts="15" order="ASC" portfolio_cat="food" mode="vertical" speed="1000" inf_loop="0" ticker="1" portfolio_color="gray_to_def"]
Shortcode PHP Usage
Template Usage – Effortlessly Embed GS Portfolio Anywhere!
To seamlessly integrate GS Portfolio into your template files (such as header.php, front-page.php, etc.), simply add the provided shortcode wherever you wish to display your members.
<?php echo do_shortcode( '[gsportfolio id=1]' ); ?>