- This topic has 11 replies, 2 voices, and was last updated 6 years, 12 months ago by .
Viewing 12 posts - 1 through 12 (of 12 total)
Viewing 12 posts - 1 through 12 (of 12 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › … link the categories?
Hello Franky,
Is it possible to link the categories so that they lead to the seminars assigned to them?
Greets,
jfreakr
You have a permalink for each category (the url to your events page + ‘/cat/
http://plugins.trac.wordpress.org/changeset/1778773
That’s a cool feature, but I meant something else.
I meant the category list in the frontend. This is displayed in a list, but the individual categories are not linked. It would be nice if you click on the category and then the entries under this category would be displayed.
Is that to be set, or is that only in the code to be solved?
I’m guessing you need to read this 🙂
http://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-11-categories/
The url-placeholder is what you’re looking for.
Yeah, thats it.
I have rewritten the line about 392 in eme_categories.php:
$ format = “<li class = \” cat – # _ CATEGORYFIELD {category_id} \ “> #_CATEGORYFIELD {category_name} </ li>”;
Now the list links to the Categories.
Many thanks…
sorry..
$format = "<li class=\"cat-#_CATEGORYFIELD{category_id}\"><a href=\"#_CATEGORYURL\">#_CATEGORYFIELD{category_name}</a></li>";
Please don’t change the code, use a template as indicated in my answer.
Sorry, but I do not quite understand that. The list is generated dynamically. How should I integrate the link there with the placeholder?
You mean I should create a template and then use #_CATEGORIEURL there, right? How should the template look then, that each list point is linked?
Ok, I did it! Thank you for your patience.
<li><a href="#_CATEGORYURL">#_CATEGORYFIELD{category_name}</a></li>
Great!