0
Il est possible de faire des sorties wordpress rss ou json avec les 10 derniers posts de toutes catégories avec 10 publications ou plus publiées?Wordpress personnalisé rss ou json feed
Quelque chose comme ça ou similaire:
<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>
...
J'ai déjà essayé avec http://www.example.com/?cat=42,43&feed=rss2
mais il ne présente pas 10 messages par catégorie.
Merci
Merci Hayder. Ça marche maintenant. –
De rien. –