簡體   English   中英

計數 Ghost 3.x 中的成員帖子

[英]Count for Member Posts in Ghost 3.x

有誰知道如何獲得僅在 Ghost 3.x 中為 members.paid 的帖子數量的總數?

到目前為止,我有以下內容。 但我似乎無法找到正確的過濾器來只顯示 members.paid 的文章。

{{#get "posts" limit="all" }}
    {{posts.length}}
{{/get}}

謝謝,

在 Ghost 論壇上發布的解決方案: https : //forum.ghost.org/t/get-total-count-of-member-paid-posts/12117

{{#get "posts" limit="all" filter="visibility:paid"}}
    {{posts.length}}
{{/get}}

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM