外掛說明
Recent Posts slider responsive displays your blog’s recent posts either with thumbnail image of your post and the post title.
Features you can Customize
- Total Posts Per Slider
- Posts Per Slide
- Slider Speed
- Image Size
- Auto Slide the Slider
- Post to include / exclude
- Category to display
- Color of Post title / Background
Shortcodes
Just to use your default setting (can be customized from the admin panel settings) you can use
[rpf]
Using custom options in the shortcode
[rpf category_ids="2,3" total_posts="2" post_per_slide="1" post_include_ids="1,10" post_exclude_ids="2,12" slider_id="1"]
category_ids – Posts to display with the Category ID given
total_posts – Total no. of post to display
post_per_slide – Posts to display per slide
post_include_ids – Posts ID should passed to include it in the slider
post_exclude_ids – Posts ID should passed to exclude it in the slider
slider_id – Slider CSS ID should be passed with unique value if you are using multiple slider per page, else it can be null
Donate to this plugin
If you find it useful please don’t forget to rate this plugin.
螢幕擷圖
安裝方式
Installation
- You can use the built-in installer.
OR
Download the zip file and extract the contents.
Upload the ‘recent-posts-slider-responsive’ folder to your plugins directory (wp-content/plugins/). - Activate the plugin through the ‘Plugins’ menu in WordPress.
Now go to Settings and then Recent Posts Slider Responsive to configure any options as desired.
How to use
In order to display the recent posts slider responsive, you have three options
- Simply place
<?php if (function_exists('rpf_display_slider')) echo rpf_display_slider(); ?>
in your theme
or userpf_display_slider($category_ids, $total_posts, $post_per_slide, $post_include_ids, $post_exclude_ids, $slider_id);
to have different slider on same or different page templates. - Add the shortcode simply
[rpf]
or[rpf category_ids="2,3" total_posts="2" post_per_slide="1" post_include_ids="1" post_exclude_ids="2" slider_id="1"]
- Using widget.
常見問題集
- Why there is need for Slider id?
-
If you use many sliders in the same page, then it is necessary to have different css id for the div that we use to display the sliders, neither there will be clash as the div’s will have same id. If you are using multiple slider on same page use
[rpf slider_id="1"]
else you can just use[rpf]
- In Widgets it just shows one slide per slider?
-
As it is responsive, it takes the width to display the slider, for sidebar width, only one slider can accomodate, hence it shows one slide per slider.
- Having problems, questions, bugs & suggestions
-
Please add them in WordPress Plugin support section
使用者評論
參與者及開發者
變更記錄
1.0.1
- Rectifying the option “Full” option of Slider Image size and border boxing applied to Slider image.
1.0.0
- Initial release version.