外掛說明
這個外掛能讓網站管理員建立簡易的回應式內容輪播,這些內容輪播可以顯示每一篇文章的精選圖片、標題及內容摘要。
這個外掛可以設定內容輪播最大尺寸,可選取要展示文章或頁面並可以透過分類法進行篩選,還可以展示指定文章 ID 的文章;此外,它內建箭號導覽及頁次導覽圖示,並可同時顯示或關閉。最後,網站管理員可將內容輪播放置在任意小工具區域。
內容輪播具備回應式設計,會自動針對顯示的螢幕調整播放尺寸。
請注意,這個外掛僅支援 Genesis 子佈景主題。
與子佈景主題進行整合
如需調整子佈景主題的內容輪播預設值,請使用類似下方範例的篩選器:
add_filter( 'genesis_responsive_slider_settings_defaults', 'my_child_theme_responsive_slider_defaults' );
function my_child_theme_responsive_slider_defaults( $defaults ) {
$defaults = array(
'post_type' => 'post',
'posts_term' => '',
'exclude_terms' => '',
'include_exclude' => '',
'post_id' => '',
'posts_num' => 5,
'posts_offset' => 0,
'orderby' => 'date',
'slideshow_timer' => 4000,
'slideshow_delay' => 800,
'slideshow_arrows' => 1,
'slideshow_pager' => 1,
'slideshow_loop' => 1,
'slideshow_height' => 400,
'slideshow_width' => 920,
'slideshow_effect' => 'slide',
'slideshow_excerpt_content' => 'excerpts',
'slideshow_excerpt_content_limit' => 150,
'slideshow_more_text' => '[Continue Reading]',
'slideshow_excerpt_show' => 1,
'slideshow_excerpt_width' => 50,
'location_vertical' => 'bottom',
'location_horizontal' => 'right',
'slideshow_hide_mobile' => 1
);
return $defaults;
}
安裝方式
- 將外掛安裝套件解壓縮所得的
genesis-responsive-slider
資料夾上傳至網站的/wp-content/plugins/
目錄。 - 不要變更
genesis-responsive-slider
資料夾的名稱。 - 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。
- 前往 [Genesis]→[內容輪播設定]。
- 設定內容輪播。
- 在 [小工具] 頁面中,將 [Genesis – 回應式內容輪播] 小工具拖放至需要顯示內容輪播的小工具區域。
使用者評論
2022 年 1 月 23 日
Slider should be use on homepage but its load on every post and pages. Also there is no support.
2018 年 10 月 16 日
3 則留言
I installed this today, then went to configure it. The settings appeared momentarily, before the page refreshed and the only options I was left with was a save settings button.
The plugin appears to be broken.
I tried de-activating/re-activating, and un-installing/re-installing. No joy.
I am using the current Genesis Framework (2.6.1) and Child Theme (2.6.0).
2018 年 3 月 24 日
1 則留言
Sadly, had to disable this plugin, as it loaded jquery multiple times and completely broke my site's mobile menu. 🙁
2018 年 2 月 9 日
This plugin use to work, now it's buggy had to move to a new plugin.
2017 年 6 月 23 日
1 則留言
I am baffled out of two reasons
1) The name "Responsive Slider" when this slider is clearly not responsive as it drops the excerpt box on small screens.
2) The fact that an incomplete feature like this is being used in a paid child theme to the Genesis theme
I am now working to maintain the box when the screen is resized. The Excerpt needs to be re-centered and optimized. This should have been done by the guys who built this in order to deserve the title "responsive" slider.
2017 年 1 月 17 日
I was looking for a slider for my Genesis child theme and this one did my job.
參與者及開發者
變更記錄
1.0.1
- Tested on WordPress 5.2.2
1.0.0
- Major restructuring
- Coding Standards compatibility
- Added clean up settings on uninstall
0.9.6
- WordPress compatibility
0.9.5
- Plugin header i18n
0.9.4
- Update POT file.
0.9.2
- add alt attribute to images for validation
- Fix image links
0.9.1
- Fix slider HTML markup for validation
- Fix SSL mixed content warning
- Add setting to turn off image links
- Fix Excerpt More filter to only apply to slides
- UI text changes
0.9.0
- Beta Release