Documentation

WP Featured Content and Slider

Getting started with WP Featured Content and Slider

WP Featured Content and Slider adds a Menu tab in WP Admin side with the name “Featured Content” where you can add a Title, Content, Link and Image as a featured image, Add Font Awesome (If not adding Featured Image) edit and delete.

Note: In design-4 you can add both Featured Image as a background and Font Awesome icon

Screen shows “Featured Content” tab in the left side and all featured content added
wordpress-featured-content-and-slider-plugin-1

This plugin work same like WordPress post section where you can add title, content and featured image. To add a new featured post, just need to follow few steps.

  • Go to Featured Content Tab and click on Add Content
  • Add Image title, content, Add Link For Read More and featured image and update
  • If you want to display category wise then go to Featured Content -> Category and create a category
  • When you create a post, select the category for that slide

Bellow screen shows how to add a featured content post
wordpress-featured-content-and-slider-plugin-2

If you want to display category wise, then go to Featured Content -> Category and select the shortcode.

Bellow screen show category shortcode
wordpress-featured-content-and-slider-plugin-3

How to display and shortcode

Display a Featured Content is very simple. Just add the following shortcode on any page:
[featured-content] and [featured-content-slider]

If you want to select the design then you can use following parameter :
[featured-content design="design-1"]
[featured-content-slider design="design-1"]
Where design: design-1, design-2, design-3, design-4

wordpress-featured-content-and-slider-plugin-4

You can also use template code to display image slider.

echo do_shortcode('[featured-content]');
echo do_shortcode('[featured-content-slider]');

Complete Shortcode parameters

[featured-content design="design-1" limit="5" post_type="featured_post" cat_id="category_id" grid="2" fa_icon_color="#000000" image_style="square" display_read_more="true" content_words_limit="50" show_content="true"]
[featured-content-slider design="design-1" slides_column="2" slides_scroll="2" dots="false" arrows="false" autoplay="true" autoplay_interval="100" speed="3000" limit="5" post_type="featured_post" cat_id="category_id" fa_icon_color="#000000" image_style="square" display_read_more="true" content_words_limit="50" show_content="true"]

Shortcode parameters

Following are Grid Parameters:

[featured-content]

  • Limit:
    [featured-content limit="10"]
    Display latest 10 post and then pagination

  • Design:
    [featured-content design="design-1"]
    Select the grid design. Right now there are 2 designs. design-1 and design-2

  • Post Type:
    [featured-content post_type="featured_post"]
    Select Post type for featured content. You can select post type: post, page, any custom post type

  • Category:
    [featured-content cat_id="category_id"]
    Display post categories wise

  • Grid:
    [featured-content grid="2"]
    Display featured content in grid view

  • Fa Icon Colour:
    [featured-content fa_icon_color="#000000"]
    Change the color of Font Awesome Icon – If added instead of featured image

  • Show Content:
    [featured-content show_content="true"]
    Display post Short content OR not. By default value is “True”. Options are “true OR false”

  • Image Style:
    [featured-content image_style="square"]
    Image style “square” OR “circle”

  • Display Read More:
    [featured-content display_read_more="true"]
    Display Read More Button OR Not. Values are “true” and “false”

  • Content Words Limit:
    [featured-content content_words_limit="50"]
    Limit the words limit in the content section.


Following are Slider Parameters:

[featured-content-slider]

  • Slides Scroll:
    [featured-content-slider slides_scroll="2"]
    Controls number of featured content rotate at a time)

  • Slides Column:
    [featured-content-slider slides_column="2"]
    Display no of columns in featured content)

  • Pagination and Arrows:
    [featured-content-slider dots="false" arrows="false"]

  • Autoplay and Autoplay Interval:
    [featured-content-slider autoplay="true" autoplay_interval="100"]

  • Slide Speed:
    [featured-content-slider speed="3000"]
    Display no of columns in featured content)

  • Limit:
    [featured-content-slider limit="10"]
    Display latest 10 post and then pagination)

  • Post Type:
    [featured-content-slider post_type="featured_post"]
    i.e Select Post type for featured content. You can select post type: post, page, any custom post type)

  • Design:
    [featured-content-slider design="design-1"]
    Select the grid design. Right now there are 2 designs. design-1 and design-2)

  • Category:
    [featured-content-slider cat_id="category_id"]
    Display post categories wise)

  • Fa Icon Colour:
    [featured-content-slider fa_icon_color="#000000"]
    i.e Change the color of Font Awesome Icon – If added instead of featured image

  • Show Content:
    [featured-content-slider show_content="true"]
    Display post Short content OR not. By default value is “True”. Options are “true OR false”)

  • Image Style:
    [featured-content-slider image_style="square"]
    i.e Image style “square” OR “circle”

  • Display Read More:
    [featured-content-slider display_read_more="true"]
    i.e Display Read More Button OR Not. Values are “true” and “false”

  • Content Words Limit:
    [featured-content-slider content_words_limit="50"]
    i.e Limit the words limit in the content section.)

Updated on April 17, 2017