Ticket #3009 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Reported by: Viper007Bond Assigned to: markjaquith
Priority: normal Milestone: 2.1
Component: Template Version: 2.0.4
Severity: normal Keywords: bg|has-patch bg|commit
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

post-template.patch (0.7 kB) - added by Viper007Bond on 08/08/06 02:14:38.
more_link_refresh.diff (506 bytes) - added by markjaquith on 10/03/06 08:35:23.
Refresh for /trunk/

Change History

08/08/06 02:14:38 changed by Viper007Bond

  • attachment post-template.patch added.

08/08/06 02:15:55 changed by error

  • keywords changed from bg|has-patch to bg|has-patch bg|commit.
  • type changed from defect to enhancement.

Patch looks good.

08/08/06 09:01:59 changed by Viper007Bond

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

08/30/06 10:33:32 changed by markjaquith

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

10/03/06 08:35:23 changed by markjaquith

  • attachment more_link_refresh.diff added.

Refresh for /trunk/

10/03/06 08:36:08 changed by markjaquith

  • owner changed from anonymous to markjaquith.
  • status changed from new to assigned.

Patch refreshed for consideration on Wednesday

10/03/06 15:46:47 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

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