How to Add Related Template Builder to Single Post

You can create an Elementor template and then assign it to the Related Template option.

To get started, follow the steps below:

  1. Create your template and copy it’s a shortcode, navigate to Dashboard > Ruby Templates. To create a template, you can refer to this documentation: Ruby Templates
  2. In the settings panel for Block in this template, navigate to Content > Template Builder – Global Query > Query Mode

  3. Select Use WP Global Query for displaying the main blog listing.
  4. Navigate to Theme Options > Single Post > Related & Popular > Related Section, then select “Use Ruby Template”> Related Template

  5. Input a ruby template shortcode into Related Template input
  6. Click save changes.

Notes when using WP Global Query:

Don’t apply the WP global query mode for more than 1 block in a template to avoid duplicated layouts.

The “Query Settings” & “Unique Filter” will be not available in the “WP global query” mode.

Please use “WP Global Query Pagination”. The “Ajax Pagination” settings will be not available when you choose “WP global query” mode.

To change “Number of Posts” blog page, please navigate to Theme Options > Single Post > Related & Popular > Number of Posts.

Tips: You can change the “Number of Posts” setting in “Query Settings” the same as with “Blog pages show at most” value. This will make the layout look like as the frontend.

The “WP global query mode” layout cannot execute in this live editor. You can check these changes in the frontend when assign this template for a category or archive page.

Still no luck? We can help!

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