GS Posts Grid’s shortcode usage
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 Posts Grid > Shortcodes.
- 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
[gs-posts-grid id=2].
With this streamlined process, creating and managing your posts has never been easier. The shortcode system allows you to display posts on your website, adding a layer of authenticity and credibility. Experience the power of GS Posts Grid and take your website to new heights.
Basic Usage
[gs-posts-grid id=2]
Shortcode Attributes Usage
[gs-posts-grid id=1]
[gs_wpposts theme="gs_wppost_grid_1" cols="4"] (Old Style)
Shortcode PHP Usage
Template Usage – Embed GS Posts Grid Anywhere!
To integrate the GS Posts Grid into your template files (such as header.php, front-page.php, etc.), simply add the provided shortcode wherever you wish to display posts.
<?php echo do_shortcode( '[gs-posts-grid id=2]' ); ?>