Make WordPress Core

Opened 15 years ago

Closed 11 years ago

#7712 closed defect (bug) (fixed)

Sticky class for home page only

Reported by: mtdewvirus's profile MtDewVirus Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.7
Component: General Keywords: has-patch
Focuses: Cc:


The sticky class should only be used on the home page.

Attachments (1)

7712.diff (420 bytes) - added by MtDewVirus 15 years ago.

Download all attachments as: .zip

Change History (5)

15 years ago

#1 @MtDewVirus
15 years ago

  • Keywords has-patch added

#2 @ryan
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [8847]) show sticky class only when is_home. Props MtDewVirus. fixes #7712

#3 @sgr33n
11 years ago

  • Keywords changed from sticky,has-patch to sticky has-patch
  • Resolution fixed deleted
  • Status changed from closed to reopened


I'm just now realizing this.
Why this? It should be good to have the same class on the single page. You can even overwrite the default style via css by using .single .sticky

#4 @SergeyBiryukov
11 years ago

  • Keywords sticky removed
  • Resolution set to fixed
  • Status changed from reopened to closed

This ticket was closed on a completed milestone. Let's continue the discussion in #23559.

Note: See TracTickets for help on using tickets.