Displaying FeaturedPosts on Your Site

From IThemes Codex
Revision as of 14:18, July 16, 2013 by Elise (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

FeaturedPosts can be added to your site using two different methods, widgets or shortcode.

Widget

Navigate to the Widgets area under Appearance in the WordPress Admin area. Drag the FeaturedPosts widget into the widget area that you would like for it to display in.

Shortcode

If you would like to add a FeaturedPosts group to a post or page all you have to do is copy [featuredposts] and paste it the content of the page or post you would like for it to display in.

To display FeaturedPosts in theme template files like page.php, use

<?php echo do_shortcode('[featuredposts]'); ?>


← Back to FeaturedPosts Codex Home

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox