Support » Fixing WordPress » Why add tags as classes in article

  • Resolved davitz

    (@davitz)


    Hello
    I’m just wondering:

    In my theme’s portfolio-page (elmastudio’s “baylys”), the tags are listed as separate CSS-classes in the markup of every single article, like:

    <article id="post-2719" class="post-2719 post (many more classes here) ***tag-pigment-2*** portfolio-element">

    Since elmastudio create really professional themes and stuff, I’m confident this is according to the rules, but it doesn’t make sense to me…

    Could somebody explain this to me?
    Thank you!

    david

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Why add tags as classes in article’ is closed to new replies.