Bind shortcode to the post

Binding your shortcode to a post

Shortcodes are standalone by default. You can generate your shortcode and paste it anywhere. For example, under images, quotes, video, content, and more.

We have added the ability to bind shortcode to the post/page/custom post type where it is pasted. For this purpose you need to only pass a second parameter to the shortcode syntax as shown below:

[sgc_id="29" bind_to_post="yes"]

It is so easy and now your shortcode belongs to the post where it resides.