內容簡介
此外掛可讓您在 WordPress 文章和頁面中整合 f6s 資料。
請將任何問題或錯誤回報至 [email protected]。
透過 f6s WP 外掛可獲取以下資料項目:
交易有效屬性:
- id: 交易參考 ID
- name: 交易名稱
- description: 交易描述
- thumbnail: 關於交易圖片的資訊:
- thumbnail.url: 交易縮圖的完整 URL
- thumbnail.width / thumbnail.height: 圖片大小(以像素為單位)
- value: 交易價值
- beta: 產品是否是 Beta 版
- category: 交易的內部分類
- category.id: 類別內部 ID
- category.name: 類別名稱
- company: 交易的發行公司
- company.id: 公司檔案 ID
- company.name: 公司名稱
- company.url: 公司檔案網址
- url: 有關此交易的更多資訊的網址
- get_deal_url: 獲取交易的網址
導師有效屬性:
- id: 導師參考 ID
- name: 導師名稱
- description: 導師個人資料描述
- url: f6s 個人檔案網址
- current_title: 導師的現任職稱(例如:ExampleCompany 的 CEO)- 如果沒有資料,則為空字串
- thumbnail: 關於導師個人檔案圖片的資訊:
- thumbnail.url: 導師縮圖的完整 URL
- thumbnail.width / thumbnail.height:圖片大小(以像素為單位)
- skills(列表): 導師技能列表,具有以下屬性:
- name: 技能名稱
- links(列表): 個人檔案鏈接列表,具有以下屬性:
- type: 連結類型,可以是: 網站、Facebook、Twitter、LinkedIn、GitHub、IOSApp、Android、Mobile
- value: 實際網址
- mentor_of(列表): 此人指導的所有組織列表,有以下屬性:
- name: 組織名稱
- url: 組織的 f6s 網址
- thumbnail: 有關組織圖片的資訊,具有以下屬性:url 和寬度/高度
團隊有效屬性:
- id: 團隊參考 ID
- name: 團隊名稱
- description: 團隊描述
- url: f6s 個人檔案網址
- thumbnail: 關於團隊個人檔案圖片的資訊:
- thumbnail.url: 團隊縮圖的完整 URL
- thumbnail.width / thumbnail.height: 圖片大小(以像素為單位)
- links(列表): 個人檔案鏈接列表,具有以下屬性:
- type: 連結類型,可以是:網站、Facebook、Twitter、LinkedIn、GitHub、IOSApp、Android、Mobile
- value: 實際網址
- members(列表): 團隊所有成員列表,具有以下屬性:
- id: 人員參考 ID
- name: 人員名稱
- url: f6s 個人檔案網址
- thumbnail: 有關組織圖片的資訊,具有以下屬性:url 和寬度/高度
外掛標籤
開發者團隊
原文外掛簡介
This plugin allows you to integrate your f6s data inside WordPress posts and pages.
Please direct any questions or bug reports to [email protected]
Data Items Available through the f6s WP Plugin:
Valid Properties for Deals
id – reference id of the deal
name – name of the deal
description – description of the deal
thumbnail – information about the deal image:
thumbnail.url – full URL of the deal thumbnail
thumbnail.width / thumbnail.height – size, in pixels of the image
value – value of the deal
beta – is this a beta product
category – internal category of the deal
category.id – internal id of category
category.name – name of category
company – publisher company of the deal
company.id – id of company profile
company.name – name of company
company.url – company profile url
url – url where more info about this deal available
get_deal_url – url to get the deal
Valid Properties for Mentors
id – reference id of the mentor
name – name of the mentor
description – mentor profile description
url – f6s profile url
current_title – current work title of the mentor (ex: CEO of ExampleCompany) – empty string if no data available
thumbnail – information about the mentor’s profile image:
thumbnail.url – full URL of the mentor thumbnail
thumbnail.width / thumbnail.height – size, in pixels of the image
skills (list) – list of mentor skills, has properties:
name – name of the skill
links (list) – list of profile links, has properties:
type – link type, can be: website, facebook, twitter, linkedin, github, iosapp, android, mobile
value – the actual URL
mentor_of (list) – list of all organizations mentored by this person, has properties:
name – name of the organization
url – f6s URL of the organization
thumbnail – information about the organization image, with properties: url and width / height
Valid Properties for Teams
id – reference id of the team
name – name of the team
description – description of the team
url – f6s profile url
thumbnail – information about the team’s profile image:
thumbnail.url – full URL of the team thumbnail
thumbnail.width / thumbnail.height – size, in pixels of the image
links (list) – list of profile links, has properties:
type – link type, can be: website, facebook, twitter, linkedin, github, iosapp, android, mobile
value – the actual URL
members (list) – list of all team’s members, has properties:
id – reference id of the person
name – name of the person
url – f6s profile url
thumbnail – information about the organization image:
thumbnail.url – full URL of the team thumbnail
thumbnail.width / thumbnail.height – size, in pixels of the image
Resizing thumbnails:
You can resize thumbnails according to your specifications using html / css attributes. The plugin served them in a single size.
Including data from f6s:
The data can be displayed in WordPress posts and pages by using shortcodes. You will be making use of the following:
[deal] (self-closing) – single deal object. Has the following attributes:
program – the ID of your accelerator or event profile
id – the ID of the deal
display – property that you want to display. See “Valid Properties for Deals”
[deal-list] (enclosing) – loop through a list of deals, one by one. Has the following attributes:
program – the ID of your accelerator or event profile
area – category slug of the deals (see http://www.f6s.com/deals/accounting for category examples). The category slug is the last segment of the URL when accessing a deal category.
[mentor] (self-closing OR enclosing) – single deal object. Has the following attributes:
program – the ID of your accelerator or event profile
id – the ID of the deal
display (used with self-closing mentor object) – property that you want to display. See “Valid Properties for Mentors”
list (used with enclosing mentor object) – use this to loop though the properties marked as list (Valid Properties for Mentors). See examples from …
[mentors-list] (enclosing) – loop through a list of deals, one by one. Has the following attributes:
program – the ID of your accelerator or event profile
[team] (self-closing OR enclosing) – single team object. Has the following attributes:
program – the ID of your accelerator profile
id – the ID of the team
display (used with self-closing mentor object) – property that you want to display. See “Valid Properties for Team”
list (used with enclosing mentor object) – use this to loop though the properties marked as list (Valid Properties for Mentors). See examples from …
[team-list] (enclosing) – loop through a list of teams, one by one. Has the following attributes:
program – the ID of your accelerator profile
[f6s-data] (enclosing) – put your html inside this shortcode to protect it from alterations when switching between HTML and Visual mode
[list-index] (enclosing) – to be used inside a list structure. Conditions the content in between.
Has the following properties:
first (no value) – the enclosing content will only be displayed once, at the beginning of the list;
notfirst (no value) – opposite of first, the enclosing content will not be displayed at the beginning of the list;
last (no value) – the enclosing content will only be displayed once, at the end of the list;
notlast (no value) – opposite of last;
odd (no value) – the enclosing content will only be displayed for an odd index when looping through list items
even (no value) – the enclosing content will only be displayed for an even index when looping through list items
multiple (numeric value) – the enclosing content will only be displayed if index is a
multiple of the given value, when looping through list items
notmultiple (numeric value) – opposite of multiple. Creative use of embedded multiple and notmultiple tags can solve most formatting problems.
Important! It is strongly recommended that you always add these shortcodes in HTML edit mode and not Visual mode.
