(2015-02-12, 08:26:07)Carlos Wrote:(2015-02-12, 06:40:40)revotron Wrote: I would like to know if it's possible to add tags as an additional class to the nm_post item. For example, if you going to create a new post and set the tag "foo", the rendered output looks something like this <div class="nm_post foo">.
Is this somehow possible?
Not currently possible.
Just curious, do you need this for the single/full post view only, or also for lists of posts (main news page, archives, etc)?
If a post had tags "foo, bar", would you need to have classes for both tags, or just for the first one?
I would like to display all news items one one page. There are three categories (or tags) and you can filter the news by tag by clicking on buttons, something similar like the isotope filter.
So basically I have to touch the code of the plug-in and change it to my needs. Is there any good practice to change an existing plug-in with Get Simple?
Alternatively I just could write some JS for those functionality and manipulate the DOM on client site. But I think this may be too much and doesn't feel right for such core features as having the tag as a class name.
It should be a class for all tags set.