我想更改Blogger上Flexslider内出现的图片/帖子的来源。现在,它显示"最近的帖子",但我想只显示具有特定标签/类别的帖子。我试图处理以下代码,但不知道如何更改。。。
<script>
document.write("<script src="/feeds/posts/default?max-results="+numposts1+"&orderby=published&alt=json-in-script&callback=showrecentposts1"></script>");
</script>
要通过标签获得帖子提要,请使用此路径/feeds/posts/default/-/labelName
用有效的标签名称替换labelName
。
<script>
document.write("<script src="/feeds/posts/default/-/labelName?max-results="+numposts1+"&orderby=published&alt=json-in-script&callback=showrecentposts1"></script>");
</script>