LoopBuddy Shortcode

From iThemes Codex
Jump to: navigation, search

The LoopBuddy shortcode takes two attributes: a Query ID and a Layout ID. Please note that you must have a Query AND a Layout for the widget to work.

Simply insert the shortcode into a post or page:

[loopbuddy query_id='0' layout_id='0']

To find the Query ID, you'll go into LoopBuddy > Query Editor > Query of your choice. Once you're in the page to edit that query, you'll see the Query ID in your url.


You'll find the Layout ID in the same place when you go in to edit the layout you'd like to use in your shortcode.

← Back to LoopBuddy Codex Home