Available Since: V1.0.0
The blog.socialImg snippet is used to draw the social image of a blog post.
Parameter | Description |
---|---|
id | The ID of the post to draw the featured image for. If omitted and the snippet is placed on a blog post page then it will be the feature image for the current post. |
abs | If set to `1` then the image address will be absolute; defaults to `0`. |
linkOnly | If set to `1` then only the address of the image is returned otherwise an img tag is returned; defaults to `0`. |