Recent Post Slider

無料でも21のパラメーターが指定できます。カスタム投稿タイプも指定できるところが嬉しい・・・

アイキャッチ画像(media_size)がサムネール(thumbnail)の場合、デフォルトでは左寄りなので、CSSで左右のマージンをautoに指定します。

/*RPS、アイキャッチを中央寄せに*/
.wppsac-post-carousel.design-1 .wppsac-post-image-bg {
margin-left: auto;
margin-right: auto;
}

post_type=”area” taxonomy=”edcat”

recent_post_carousel slides_to_show=”3″ slides_to_scroll=”1″ media_size=”thumbnail” post_type=”area” taxonomy=”edcat”


Complete Recent Post Carousel Shortcode Parameters

  1. LIMIT:
    limit=”8″
    Display only 8 latest post. Display all post by limit=”-1″.
  2. DESIGN:
    design=”design-1″
    You can select 4 design( design-1, design-2, design-3, design-4 ) for your recent post slider.
  3. CATEGORY:
    category=”5,10,15″
    Display recent post slider by their category ID . You can pass multiple ids by comma separated.
  4. SHOW CATEGORY NAME:
    show_category_name=”true”
    Display category name OR not. By default value is “True”. Options are “true” OR “false”.
  5. SHOW DATE:
    show_date=”false”
    Display post date OR not. By default value is “True”. Options are “true” OR “false”.
  6. SHOW CONTENT:
    show_content=”true”
    Display post Short content OR not. By default value is “True”. Options are “true” OR “false”.
  7. DOTS:
    dots=”false”
    Display slider pagination dots or not. By default values of dots are “false”.
  8. ARROWS:
    arrows=”false”
    Display slider arrows or not. By default values of arrows are “false”.
  9. AUTOPLAY:
    autoplay=”true”
    Display slider autoplay or not. By default autoplay value is “true”.
  10. AUTOPLAY INTERVAL:
    autoplay_interval=”100″
    Set slider autoplay interval time. You can set any numeric values.
  11. SLIDE SPEED:
    speed=”3000″
    Display slider speed. You can set any numeric values.
  12. CONTENT WORDS LIMIT:
    content_words_limit=”20″
    Control post short content Words limit. By default limit is 20 words.
  13. POST TYPE:
    post_type=”post”
    Added custom post type support where you add custom post. By default value is “post”.
    Note : If you want to display custom post type wise then you have to pass custom post name instead of “post”
  14. TAXONOMY:
    taxonomy=”category name”
    Display post custom categories wise. You have to put custom category name.
    Note : If you want to display custom category wise then you have to use this parameter in your shortcode post_type=”post”
  15. HIDE POST:
    hide_post=”1,2,3″
    Exclude some posts with their post-id that you do not want to display.
  16. SHOW AUTHOR:
    show_author=”false”
    Display author name OR not. By default value is “true”. Values are “true” OR “false”.
  17. SHOW READ MORE:
    show_read_more=”true”
    Display read more OR not. By default value is “true”. Values are “true” OR “false”.
  18. MEDIA SIZE:
    media_size=”full”] Set image size. Values are “full”, “medium”, “large” OR “thumbnail”.
  19. RTL:
    recent_post_slider rtl=”true”
    Display rtl OR not. By default value is “true”. Values are “true” OR “false”.
  20. SLIDER LAZYLOAD:
    lazyload=””
    Select option to use lazy loading in slider. Values are “ondemand”, “progressive”.
  21. EXTRA CLASS:
    extra_class=””
    You can add extra class here.
    Note: Extra class added as parent so using extra class you customize your design.