[wp-trac] Re: [WordPress Trac] #4209: Add rel="prev" to
previous_post_link() and rel="next" to next_post_link()
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 30 02:50:46 GMT 2007
#4209: Add rel="prev" to previous_post_link() and rel="next" to next_post_link()
----------------------------+-----------------------------------------------
Reporter: FekketCantenel | Owner: rob1n
Type: enhancement | Status: new
Priority: normal | Milestone: 2.3
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+-----------------------------------------------
Comment (by FekketCantenel):
Sure enough, this code works in Opera 9.20.8767:
{{{
$string = '<link rel="prev" href="'.get_permalink($post->ID).'"
/><a href="'.get_permalink($post->ID).'">';
}}}
{{{
$string = '<link rel="next" href="'.get_permalink($post->ID).'"
/><a href="'.get_permalink($post->ID).'">';
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/4209#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list