
內容簡介
Extended Featured Content Widget是一個功能強大而輕巧的 WordPress 外掛。你可以決定是否顯示文章縮略圖,文章標題、文章信息、元數據、內容等是在縮略圖上方還是下方,以及其他更多選項。當然,你也可以個別設置外掛的樣式。你可以通過類別、文章標籤、分類方式篩選內容,也可以通過ID包括或排除特定條件或文章/頁面特定項目。此外,外掛還集成了許多其他功能。
外掛特色:
- 支持文章、頁面
- 支持按類別、標籤區分
- 通過ID包括或排除類別/標籤
- 通過ID包括或排除文章/頁面的特定項目
- 可選擇是否顯示文章標題、縮略圖、文章信息、內容等
- 可按日期、ID、評論數、隨機排序
- 支援偏移量
- 4種內容顯示方式:全文、摘要、通過字符限制顯示內容、不顯示內容
- 多個Hooks和過濾器可用於添加其他內容
- 可選擇特色圖片的大小
- 可選擇圖片對齊方式和位置
文章信息和元數據的短碼語法:
- 文章日期:[post_date after="" before="" label="" format="日期格式"]
- 文章時間:[post_time after="" before="" label="" format="時間格式"]
- 文章作者名稱:[post_author after="" before=""]
- 帶作者網站鏈接的作者名稱:[post_author_link after="" before=""]
- 帶作者存檔鏈接的作者名稱:[post_author_posts_link after="" before=""]
- 文章評論數:[post_comments after="" before="" more="% Comments" one="1 Comment" zero="Leave a Comment"]
- 文章標籤:[post_tags after="" before="Tagged With" sep=", "]
- 文章分類:[post_categories after="" before="Filed In" sep=", "]
這個外掛使用了許多 Hook 和過濾器。以下是它們的列表:
- efw_pbefore_loop
- efp_before_featured_post_content
- efp_featured_post_content
- efp_after_featured_post_content
- efp_inside_loop
- efp_after_loop
過濾器:
- post_content_limit_allowedtags
- get_the_efwp_post_content_limit
- the_efwp_post_content_limit
- efp_do_post_meta
- efp_do_post_in
外掛標籤
開發者團隊
原文外掛簡介
The Extended Featured Content Widget is a powerful, light weight wordpress widget. You can decide, whether or not the post thumbnail is displayed,
whether the post title, post info, meta, content etc are above or beneath the thumbnail and a couple of more things. And of course, you can style
the widget individually. You can filter the content by category, post tags, taxonomy. Also you can include/exclude specific terms or
post/page specific items by ID(s). And many more features are integrated in this plugin.
Widget Features:
Supporting Post, page
Supporting Filter by Category, Tag
Include/Exclude categories/tags by ID field
Include/Exclude post/page items by ID field
Turn on or Off Post title, thumbnail, post info, content etc
Order by Date, ID, comment count, random
Supporting offset field
4 Type Content option
Full Content
Excerpt
Content by Character Limit
No Content
Multiple Hooks and Filters for adding additional content
Select featured image size from drop down
Select Image alignment and Image position
Shortcodes Syntax for Post Info & Meta
Post Date
[post_date after=”” before=”” label=”” format=”DATE FORMAT”]
Post Time
[post_time after=”” before=”” label=”” format=”TIME FORMAT”]
Post Author Name
[post_author after=”” before=””]
Post Author Name with Author Site link
[post_author_link after=”” before=””]
Post Author Name with Author Archive link
[post_author_posts_link after=”” before=””]
Post Comments Number
[post_comments after=”” before=”” more=’% Comments’ one=’1 Comment’ zero=’Leave a Comment’]
Post Tags
[post_tags after=”” before=”Tagged With” sep=’, ‘]
Post Categories
[post_categories after=”” before=”Filed In” sep=’, ‘]
How it is working
Here is the some examples:
3 Columns Grid Style
Featured Content on Home Page
Custom Post Type Demo
This plugin is using lot of hooks and filters. Here is the list of those Hooks & Filters
Hooks
efwp_before_loop
efwp_before_featured_post_content
efwp_featured_post_content
efwp_after_featured_post_content
efwp_inside_loop
efwp_after_loop
Filters
post_content_limit_allowedtags
get_the_efwp_post_content_limit
the_efwp_post_content_limit
efwp_do_post_meta
efwp_do_post_info
efwp_post_date_shortcode
efwp_post_time_shortcode
efwp_post_author_shortcode
efwp_post_author_link_shortcode
efwp_post_author_posts_link_shortcode
efwp_post_comments_shortcode
efwp_post_tags_shortcode
efwp_post_categories_shortcode
PRO Version have following features:
Supporting Post, page, custom post type
Supporting Taxonomies
Added Stylesheet
Supporting Grid Style
Pagination for Post Listings
Any suggestion highly appreciable.
