[wp-trac] [WordPress Trac] #3359: Improved get_the_content()
Function
WordPress Trac
wp-trac at lists.automattic.com
Mon Nov 13 22:55:53 GMT 2006
#3359: Improved get_the_content() Function
----------------------------+-----------------------------------------------
Reporter: iacas | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Administration | Version: 2.0.5
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
I believe WordPress could be enhanced by having a better
"get_the_content();" function. I've written more about it here:
http://nslog.com/2006/11/13/fixing_read_more_links_in_wordpress/
Essentially, I'd like WordPress to allow me to determine how the "Read
More..." links are written. Either they could be included in the last
sentence of the entry body's last paragraph (without a <br /> tag) or in
their own paragraph. The current method produces ugly HTML that isn't very
flexible for the user to work with via CSS or other styles.
Sample code exists on my site, as does a proposed change to the
"get_the_content()" function.
I've written more in the URL above, so please have a look.
--
Ticket URL: <http://trac.wordpress.org/ticket/3359>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list