Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35164, comment 2


Ignore:
Timestamp:
12/21/2015 12:25:08 AM (10 years ago)
Author:
peterwilsoncc
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35164, comment 2

    initial v1  
    44You're completely right, good point! The feature would still be useful if we could detect the post output by the main query. For example: I would like my single post and single page titles to be centered. However, if I retrieve related posts below, I wouldn't want them to be centered. Hence:
    55
    6 ```
     6{{{#!css
    77.singular .main-post .entry-title{
    88   text-align:center;
    99}
    10 ```
     10}}}
    1111
    1212That said, I agree that this may not be a big issue. If there is a related posts section underneath that would likely have a wrapper class which you would use to style things anyway.