2014-09-02 8 views
0

10 개 이상의 게시물이 게시 된 모든 카테고리의 최근 10 개 게시물을 사용하여 wordpress 출력 rss 또는 json을 만들 수 있습니까? 그 또는 이와 유사한 같은Wordpress 사용자 정의 rss 또는 json 피드

뭔가 :

<categorie> 
    <title>News</title> 
    <slug>news</slug> 
    <lastposts> 
     <item> 
      <title>New 1</title> 
      <url>http://website.com/new1</url> 
      <thumb>http://website.com/thumbnail_new1.jpg</thumb> 
     </item> 

     <item> 
      <title>New 2</title> 
      <url>http://website.com/new2</url> 
      <thumb>http://website.com/thumbnail_new2.jpg</thumb> 
     </item> 

     ... 

    </lastposts> 
</categorie> 

<categorie> 
    <title>Other</title> 
    <slug>other</slug> 
    <lastposts> 
     <item> 
      <title>Other 1</title> 
      <url>http://website.com/other1</url> 
      <thumb>http://website.com/thumbnail_other1.jpg</thumb> 
     </item> 

     <item> 
      <title>Other 2</title> 
      <url>http://website.com/other2</url> 
      <thumb>http://website.com/thumbnail_other2.jpg</thumb> 
     </item> 

     ... 

    </lastposts> 
</categorie> 

... 

는 이미 http://www.example.com/?cat=42,43&feed=rss2으로 시도했지만 그것은 categorie 당 10 개 게시물을 표시하지 않습니다.

감사합니다.

답변

1

예. 가능합니다. 이 tutorial을 사용해보세요.

+0

감사합니다. 이제 작동 중입니다. –

+0

당신을 진심으로 환영합니다. –