這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

My Sites Shortcode

外掛說明

Ever wanted your users to see all their sites in a list format, Well now you can using this shortcode!

Here’s how it works:

Install this plugin and then add [my-sites] onto a page or post where you want people to see all of their sites.

螢幕擷圖

安裝方式

The usual vanilla installation:

  1. Upload my-sites-shotcode folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place [my-sites] shortcode into your post or page (https://codex.wordpress.org/Shortcode_API “WordPress shortcode”) where you want it

常見問題集

What are the shorcode options
you can also do something like this [my-site before=”text to appear before the widget” loggedout=”text to be display to people who are not logged in”]

or [my-sites images=1 image_size=200 role=1 num_before_list=2]

also here is some css to get you started that you can copy and paste into your theme.

.my-sites-list{ margin:0; } .my-site{     list-style: none;     position: relative;     overflow: hidden;     margin-bottom:10px; 
}  .site-link-image { float:left; margin:0 10px 0 0; } .site-link-image img{ border:3px solid #CCC; } .site-name{ margin-bottom:0; font-weight:bold; } .site-link{  color:#3333; } .site-role{ text-transform: capitalize;} 

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈My Sites Shortcode〉的開發相關工作。

參與者

將〈My Sites Shortcode〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1

  • additional classes on every element for better styling
  • added additional attributes to the shortcode , such as :images, image_size, role, num_before_list

1.0

  • Initial Release