Skip Navigation

[Resolved] 有關於API相關問題

This support ticket is created 5 years, 1 month 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.

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 3 replies, has 2 voices.

Last updated by Luo Yang 5 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#1392223

我們需要在wordpress原生api裡面拿到toolset的標籤跟分類資訊,目前已在您們官方討論找到資訊,但於我們的後台找不到以下的設定,請問可能是什麼原因呢或我們該怎麼做?目前我們的版本是3.2.7
The integration works only if Toolset Types plugin is active. Go to the Toolset -> Settings page and on Custom Content tab enable the REST API option.

我們是參考以下網址:
https://toolset.com/documentation/programmer-reference/toolset-integration-with-the-rest-api/?fbclid=IwAR0jlW_lpeUwtujb6Dd5TpicElkPCXwedkChk99t8GdAltyFCumf8mGIzQM

謝謝

#1392917
rest-api.JPG

你好,

你提到的文檔是正確的,可能翻譯上有差別:
進入到你的WordPress管理端:
Dashboard-> Toolset -> Settings-> Custom Content
這裏有個選項:REST API
啓用它即可:Expose custom fields managed by Types for posts, users, and terms through the REST API

參考英文版截圖rest-api.JPG

#1392951
75635937_690548058102885_965418440942682112_n.png

我們仍舊沒看到選項,檔案如附件圖。
且已經安裝所有付費外掛亦同

#1392963

你的截圖少了REST選項,可能是由於其他外觀或者主題造成的,建議做一下檢查:
1) 你使用的是WordPress最新版本5.3
https://wordpress.org/download/
2) 禁用掉其他外觀,並切換到WordPress主題
3) 檢查是否有PHP錯誤:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

如果問題依然存在,請提供你的網站備份,我需要在本地進行debug
https://toolset.com/faq/provide-supporters-copy-site/