[wp-trac] [WordPress Trac] #24705: wp_link_pages() does not showing active element

WordPress Trac noreply at wordpress.org
Thu Feb 13 08:36:47 UTC 2014


#24705: wp_link_pages() does not showing active element
------------------------------------+------------------------------
 Reporter:  Alexufo                 |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Posts, Post Types       |     Version:  2.2
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  template
------------------------------------+------------------------------

Comment (by danielpataki):

 Hi All,

 I've uploaded an alternate patch, I was wondering if it may be better to
 name the class differently. I think `current-page-link` is a better class
 name, however `paginate_links()` creates links which have the `current`
 class. In addition, I've added the class `page-numbers` to the individual
 links and the current span as well.

 This way the output of this function will be compatible with the
 `paginate_links()` function which allows for standardized CSS when
 developing themes.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24705#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list