Related Box Shortcode

The Related box is a shortcode that allows you to add a section(to show related posts) into the post content.

To create a box, Please input is as below:

[rb_related title="You May Also Like" total="2"]

Shortcode params:

  • title – the box title
  • total – total posts to show
  • style – light or dark
  • ids – post ids you would like to show, separated by commas, ie: 1,2,3

Full shortcode example:

[rb_related title="You May Also Like" total="4" style="light" ids="1,2,3"]

How does the shortcode work?

The related box shortcut will automatically get posts from the same categories and post tags to show. It will be overridden if you input the posts IDs.

Was this page helpful?

Still no luck? We can help!

Contact us and we’ll get back to you as soon as possible.