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