Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#3009 closed enhancement (fixed)

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

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

Description

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 18 years ago.
more_link_refresh.diff (506 bytes) - added by markjaquith 18 years ago.
Refresh for /trunk/

Download all attachments as: .zip

Change History (7)

#1 @error
18 years ago

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

Patch looks good.

#2 @Viper007Bond
18 years ago

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

#3 @markjaquith
18 years ago

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

http://txfx.net/files/wordpress/wp-customized-more-link.phps

@markjaquith
18 years ago

Refresh for /trunk/

#4 @markjaquith
18 years ago

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

Patch refreshed for consideration on Wednesday

#5 @ryan
18 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.