Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#3009 closed enhancement (fixed)

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

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

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

Download all attachments as: .zip

Change History (7)

#1 @error
20 years ago

  • Keywords bg|commit added
  • Type defect → enhancement

Patch looks good.

#2 @Viper007Bond
20 years ago

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

#3 @markjaquith
20 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
20 years ago

Refresh for /trunk/

#4 @markjaquith
20 years ago

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

Patch refreshed for consideration on Wednesday

#5 @ryan
20 years ago

  • Resolution → fixed
  • Status assigned → closed

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

Note: See TracTickets for help on using tickets.