Skip Navigation

[Resolved] 關於api

This support ticket is created 4 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by JI-MANJ3427 4 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1412799

目前已開後台api,結果如下
但似乎仍抓不到分類的下拉式選單項目,不知道是什麼原因?

hidden link 如該頁 專案領域的選項

謝謝

#1412995

你好,

你説的"專案領域"是使用Toolset Types外挂創建的taxonomy嗎?
如果是的話,你需要打開該taxonomy的rest api:
1) 編輯你的提到的"專案領域":
Dashboard-> Toolset-> Taxonomies, 找到並編輯"專案領域"(showcase-serviece), 禁用選項:Disable show_in_rest

2) 根據WP文檔來抓取文章:
hidden link
參考上面的文檔,response内有terms
Hash of taxonomy names mapping to a hash of terms keyed by term name.

#1417789

My issue is resolved now. Thank you!