Exclude Current Post

Exclude the current Post from being included in the Grid.
Useful for "Related Posts" grids.

Let’s say you have a blog, and each post from your blog also contains a grid.  And the items for this grid represent all your blog posts.  If you want to exclude the current post from this grid, you can add the following PHP snippet to your theme’s “functions.php” file.

In the PHP snippet, for the “$grid_id == 1” parts, this will check to make sure the functionality is only applied to your specific grid.  To get the ID for your grid, visit the plugin’s main admin page where your grids are listed: