Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#3009 closed enhancement (fixed)

Add CSS class to "<!--more-->" link

Reported by: Viper007Bond Owned by: markjaquith
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.0.4
Component: Template Keywords: bg|has-patch bg|commit
Focuses: Cc:


Now I realize I can do something like this:

<?php the_content('<span class="more">read more</span>'); ?>

But that's not always enough, especially when doing funky things like adding a background image and such.

So, to make life easier for everyone, I propose a CSS class being added to the more link. :)

Attachments (2)

post-template.patch (676 bytes) - added by Viper007Bond 9 years ago.
more_link_refresh.diff (506 bytes) - added by markjaquith 9 years ago.
Refresh for /trunk/

Download all attachments as: .zip

Change History (7)

#1 @error
9 years ago

  • Keywords bg|commit added
  • Type changed from defect to enhancement

Patch looks good.

#2 @Viper007Bond
9 years ago

Whoops at "defect". I always forget about that new value. :(

#3 @markjaquith
9 years ago

Yeah, I'd like that. I'd also like these 15 minutes of my life back:


9 years ago

Refresh for /trunk/

#4 @markjaquith
9 years ago

  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

Patch refreshed for consideration on Wednesday

#5 @ryan
9 years ago

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

(In [4278]) more-link css class. Props Viper007Bond. fixes #3009

Note: See TracTickets for help on using tickets.