
內容簡介
這是一款非常有用的小工具組,可以在任何佈景主題中添加更流暢的內容。尤其為響應式佈景主題而設計,同時也具備一個非常有用的shortcode,可以在文章或頁面內使用數據。
該外掛新增了一組新的小工具,包括:
顯示文章小工具 - 用於顯示文章節選、縮略圖和文章格式。
顯示頁面小工具 - 顯示已定義父頁面的子頁面縮略圖/節選。
flickr 小工具 - 顯示 flickr縮略圖
推特小工具 - 顯示您的最新推文
Facebook 小工具 - 以響應式方式顯示您的 Facebook 頁面供應源,而不會減慢網站速度!
此外,該外掛還添加了一個功能強大的shortcode,可讓您在文章或頁面中使用顯示文章/頁面的功能。
例如:
[los_showposts post_type ="posts" columns="3" content="true" heading="true" cat_id="" num_posts="3"]
Shortcode 參數
屬性 - 描述 值
post_type - 查詢類型 "pages" 或 "posts"
cat_id - 文章類別 ID 例如“23”
exclude_cats - 要排除的文章類別 ID,例如“23,170,9”
num_posts - 要顯示的項目數量:例如“5?”
columns - 布局要使用的列數:"1"、"2"、"3" 或 "4"
heading - 顯示標題 "true" 或 "false"
author - 顯示作者連結 "true" 或 "false"
tags - 顯示標籤 "true" 或 "false"
categories - 顯示類別 "true" 或 "false"
thumbs - 顯示文章縮略圖 "true" 或 "false"
dates - 顯示發佈日期 "true" 或 "false"
content - 顯示文章/頁面節選 "true" 或 "false"
parent_id - 當顯示頁面時,顯示此父頁面的子項目。例如“34”
thumbsize - 要使用的圖像大小:使用“widget”或“gallery”
entrytag - 每個項目的標題標籤,例如“h3”
post_formats - 顯示文章格式圖示 “true” 或 “false”
post_class - 用於每個項目的 CSS 類字符串,默認為“los-custom-post”
show_sticky - 將其設置為“1”以啟用置頂文章功能;默認值為“0”(即不包括置頂文章)
更多信息
有關更詳細信息,請參見ThemeLoom
感謝
感謝 Andrew Kurtis 提供西班牙語語言文件
外掛標籤
開發者團隊
原文外掛簡介
A set of useful widgets created for adding more fluid content to any theme. Especially designed for responsive themes. Also has a very useful shortcode for using some of the functionality inside a post or page. The plugin adds a set of new widgets, including:
Show Posts Widget – for showing posts excerpts, thumbs and post formats.
Show Pages Widget” – Shows thumbs/excerpts of child pages of defined parent page.
flickr Widget – Show flickr thumbs
Twitter Widget – show your latest tweets
Facebook Widget – show your facebook page feed without slowing your site down and in a responsive way!
And also adds a powerful shortcode for using the show posts/pages functionality in a post or page.
e.g.
[los_showposts post_type=”posts” columns=”3″ content=”true” heading=”true” cat_id=”” num_posts=”3″ ]
Shortcode Parameters
Attribute – Description Values
post_type – Type of query “pages” or “posts”
cat_id – Category ID for posts e.g. “23”
exclude_cats – post categories ids to exclude e.g. “23,170,9”
num_posts – Number of items to show e.g. “5?
columns – Number of columns to layout “1”, “2”, “3” or “4”
heading – Show headings “true” or “false”
author – Show author link “true” or “false”
tags – Show tags “true” or “false”
categories – Show categories “true” or “false”
thumbs – Show Post thumbnails “true” or “false”
dates – Show Post Dates “true” or “false”
content – Show post/page excerpt “true” or “false”
parent_id – When showing pages, show children of this parent page. e.g. “34”
thumbsize – Image size to use use “widget” or “gallery”
entrytag – Heading tag for each item e.g. “h3”
post_formats – Show post format icons “true” or “false”
post_class – CSS class string to use for each item default is “los-custom-post”
show_sticky – Set to “1” to enable sticky posts function, “0” is deafult (i.e. sticky is ignored)
More Information
For further information see ThemeLoom
Thanks
to Andrew Kurtis for Spanish language files
