LoopBuddy Shortcode

From IThemes Codex
(Difference between revisions)
Jump to: navigation, search
(Created page with "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 shor...")
 
 
Line 6: Line 6:
 
[loopbuddy query_id='0' layout_id='0']
 
[loopbuddy query_id='0' layout_id='0']
 
</pre>
 
</pre>
 +
 +
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.
 +
 +
<br />
 +
 +
[[File:Query_ID.png|Query_ID.png|700px|link=]]
 +
 +
<br />
 +
 +
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.
  
 
<br />
 
<br />
 
[[:LoopBuddy|← Back to LoopBuddy Codex Home]]
 
[[:LoopBuddy|← Back to LoopBuddy Codex Home]]

Latest revision as of 16:07, July 23, 2013

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.


Query_ID.png


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

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox