我有一些JSON如下使用博客文章標籤用JSON
"tags":
{
"business-school":
{
"name": "Business School",
"slug": "business-school",
"parent": 0,
"description": "",
"post_count": 13,
"id": 169072,
"taxonomy": "post_tag"
},
"canterbury":
{
"name": "Canterbury",
"slug": "canterbury",
"parent": 0,
"description": "",
"post_count": 37,
"id": 5349,
"taxonomy": "post_tag"
我已成功地顯示與帖子中輸入的相關標籤。在其他博客上,儘管我已經將這些標籤看作超鏈接,並且想知道這是如何實現的。他們會與什麼關聯?是否有可能在JSON框架中使用PHP軸承記住我不熟悉JSON或者最好留給博客網站。
你在哪個其他博客上看到過標籤爲超鏈接。你能分享我們的鏈接嗎? – mi6crazyheart
如果你不知道他們會被鏈接到什麼,那麼這是一個相當流行的問題。首先決定將它們連接起來,然後擔心如何鏈接它們,然後擔心如何鏈接它們 – RiggsFolly
不太清楚你的意思,但是如果你能夠顯示標籤,你可以在標籤上添加一個錨點以使它們成爲鏈接。 tags。至於鏈接的鏈接,由您決定網址。 – Shiping