soy novato en esto, no se si mi consulta va en este apartado.
Mi idea es insertar post en una pagina estática de Wordpress.
Bien, para ello he instalado este plugin: http://wordpress.org/extend/plugins/list-posts/
Como bien dice, al insertar [[LIST_POSTS]] aparecen todos los post publicados.
Ahora bien, mi intención es que solo aparezcan los de cierta categoría y para ello me dan las siguientes instrucciones pero no tengo ni idea de como formular el código.
Cita:
¿Que código debería insertar? Mil graciaswo Installation
1. Upload the list-posts directory to the /wp-content/plugins/ directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Place <!--LIST_POSTS--> or [[LIST_POSTS]] in the HTML view of a page. It will be replaced by the plugin.
4. As of version 1.0, you can specify two items of metadata (Custom Fields) for a given page. This will control what is displayed in the plugin.
5. As of version 1.1, more metadata has been added (Item >= C). You can now specify how many posts are shown (-1 is all of them), and you can now filter for series (from the excellent organize-series plugin).
A. list_posts_include This is a comma-separated list of integers (category IDs), category slugs, or tags; each of which is a tag, category ID or slug. Any posts that claim this category in their taxonomy will be included, unless their category is in list_posts_exclude. If this custom field is defined, then ONLY those categories will be displayed. If it is not specified, then all categories will be displayed.
B. list_posts_exclude This is a comma-separated list of integers (category IDs), category slugs, or tags; each of which is a tag, category ID or slug. Any posts that claim this category/tag in their taxonomy will be excluded. Exclude always overrides include. If you exclude a parent category, you cannot include children categories.
C. list_posts_count A simple integer. If set to 0, then all posts in the filter specified will be displayed (watch out -this could be a lot). If not specified, then the default ('num_posts' option, set to 5 for now).
D. list_posts_series This is a comma-separated list of integers or series slugs, each of which is an organize-series plugin series ID or slug. Any posts that are in this series will be included, unless their category is in list_posts_exclude. If this custom field is defined, then ONLY those series will be displayed. If this field is specified, then list_posts_include is ignored. If the organize-series plugin is not installed and activated, then this will be ignored.
1. Upload the list-posts directory to the /wp-content/plugins/ directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Place <!--LIST_POSTS--> or [[LIST_POSTS]] in the HTML view of a page. It will be replaced by the plugin.
4. As of version 1.0, you can specify two items of metadata (Custom Fields) for a given page. This will control what is displayed in the plugin.
5. As of version 1.1, more metadata has been added (Item >= C). You can now specify how many posts are shown (-1 is all of them), and you can now filter for series (from the excellent organize-series plugin).
A. list_posts_include This is a comma-separated list of integers (category IDs), category slugs, or tags; each of which is a tag, category ID or slug. Any posts that claim this category in their taxonomy will be included, unless their category is in list_posts_exclude. If this custom field is defined, then ONLY those categories will be displayed. If it is not specified, then all categories will be displayed.
B. list_posts_exclude This is a comma-separated list of integers (category IDs), category slugs, or tags; each of which is a tag, category ID or slug. Any posts that claim this category/tag in their taxonomy will be excluded. Exclude always overrides include. If you exclude a parent category, you cannot include children categories.
C. list_posts_count A simple integer. If set to 0, then all posts in the filter specified will be displayed (watch out -this could be a lot). If not specified, then the default ('num_posts' option, set to 5 for now).
D. list_posts_series This is a comma-separated list of integers or series slugs, each of which is an organize-series plugin series ID or slug. Any posts that are in this series will be included, unless their category is in list_posts_exclude. If this custom field is defined, then ONLY those series will be displayed. If this field is specified, then list_posts_include is ignored. If the organize-series plugin is not installed and activated, then this will be ignored.