samplona
Member
Posted 4 months ago #
hi,
i try to make a list of events of one category on a page.
i try different code, but al i get is a list of al event's.
i also discovered the number of the category's but dit also not worked.
{events_printlist; categories="43"}
this is the code i used, wath goes wrong?
http://wordpress.org/extend/plugins/wp-calendar/
try
{events_list categories="43"}
make sure the category is the same as you have in the posts catergories
samplona
Member
Posted 4 months ago #
hi,
i try this code, but did not work, i see no events with this code.
the number of the category is good and the same as the events.
did i checked in the database.
i made several tests and filtering allways worked. make sure you use the correct category id, because there is confusing mix between category and term id (category is a term).
To get the correct category id, goto Post -> Categories
Look at the url, which the category is linked to. You'll find the category id in the url (tag_ID).
http://localhost/wordpress/wp-admin/edit-tags.php?action=edit&taxonomy=category&tag_ID=8&post_type=post
samplona
Member
Posted 4 months ago #
hi,
i checked the category id several time, first at the event page en at the category page, both are 43.
admin.php?page=wp-alendar/fsCalendar.php&event_category=43
edit-tags.php?action=edit&taxonomy=category&tag_ID=43&post_type=post
when i try to filter, i see no event.
{events_printlist categories="43"}
{events_printlist event_category="43"}
when i use this one i see al the events.
{events_printlist}
did you separate the filter by a semicolon?
the correct line would be
{events_printlist; categories="43"}
samplona
Member
Posted 4 months ago #
no, i did not,
with the correct line is it working.
thanks for the support.
samplona
Member
Posted 4 months ago #
no, i did not,
with the correct line is it working.
thanks for the support.