How to Display and Shortcode
Featured Post Creative is very simple. Just add the following shortcode on any page:
Featured Post Creative – Post and Widget contain 2 shortcode.
[fpc_post_block]
[fpc_post_grid]
You can also use template code to display Featured Post Creative.
<?php echo do_shortcode('[fpc_post_block limit="10"]'); ?>
<?php echo do_shortcode('[fpc_post_grid grid="3" limit="10"]'); ?>
Following are Featured Post Parameters:
[fpc_post_block]
- LIMIT:
[fpc_post_block limit="10"]
Display latest 10 featured post and then pagination. You can display all post to set limit=”-1″. - SHOW AUTHOR:
[fpc_post_block show_author="true"]
Display featured post author OR not. By default value is “true”. Values are “true OR false” - CATEGORY:
[fpc_post_block category="40,50,60"]
Display featured post categories wise. You can pass multiple ids by comma separated. - SHOW CATEGORY NAME:
[fpc_post_block show_category_name="true"]
Display featured post category name OR not. By default value is “true”. Options are “true OR false”. - SHOW DATE:
[fpc_post_block show_date="false"]
Display featured post date OR not. By default value is “true”. Options are “true OR false” - ORDER:
[fpc_post_block order="DESC"]
Set featured post by order. Values are “ASC” OR “DESC”. - ORDER BY:
[fpc_post_block orderby="post_date"]
Display featured post in your order. Values are “post_date”, “modified”, “title”, “name” Post Slug, “ID”, “rand”, “menu_order”, “comment_count” - IMAGE HEIGHT:
[fpc_post_block image_height="500"]
Control featured post image height. Enter any numeric values. - DESIGN:
[fpc_post_block design="design-1"]
Select the grid design. Right now there are 2 designs. design-1 and design-2.
Following are Featured Post grid Parameters:
[fpc_post_grid]
- LIMIT:
[fpc_post_grid limit="10"]
Display latest 10 featured post and then pagination. You can display all post to set limit=”-1″. - GRID:
[fpc_post_grid grid="3"]
Display post in grid or column wise in website. - SHOW AUTHOR:
[fpc_post_grid show_author="true"]
Display featured post author OR not. By default value is “true”. Values are “true” OR “false” - CATEGORY:
[fpc_post_grid category="40,50,60"]
Display featured post categories wise. You can pass multiple ids by comma separated. - SHOW CATEGORY NAME:
[fpc_post_grid show_category_name="true"]
Display featured post category name OR not. By default value is “true”. Options are “true OR false”. - SHOW DATE:
[fpc_post_grid show_date="false"]
Display featured post date OR not. By default value is “true”. Options are “true OR false” - ORDER:
[fpc_post_grid order="DESC"]
Controls featured post order. Values are “ASC” OR “DESC”. - ORDER BY:
[fpc_post_grid orderby="post_date"]
Display featured post in your order. Values are “post_date”, “modified”, “title”, “name” Post Slug, “ID”, “rand”, “menu_order”, “comment_count” - IMAGE HEIGHT:
[fpc_post_grid image_height="500"]
Control featured post image height. Enter any numeric values. - DESIGN:
[fpc_post_grid design="design-1"]
Select the grid design. Right now there are 2 designs. design-1 and design-2.