Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18118, comment 7


Ignore:
Timestamp:
08/16/2013 12:29:33 AM (11 years ago)
Author:
buffler
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18118, comment 7

    initial v1  
    11There may be good reason not to worry about this... but I thought I'd just chime in to +1 - I've taken to adding a filter on body_class to achieve this same thing.
    22
    3 True, ID classes can be used just the same - but not having to add comments anywhere you might use them feels nicer to me. ".page.about-us" is sort of self-documenting, whereas ".page-id-###" should probably be accompanied by a comment explaining whiche page it is anywhere it's used...
     3True, ID classes can be used just the same - but not having to add comments anywhere you might use them feels nicer to me. ".page.about-us" is sort of self-documenting, whereas ".page-id-###" should probably be accompanied by a comment explaining which page it is anywhere it's used...