×

Documentation

Bind shortcode to the post

Shortcodes are standalone by default. You can generate and paste it to anywhere, under images, quotes and contents. But we have added possibility of binding shortcode to the post/page/custom post type where it is pasted. For this purpose you need to only pass 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.