[buddypress-trac] [BuddyPress] #3237: Use wp_link_pages() in index.php and archive.php

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat May 21 17:30:17 UTC 2011

#3237: Use wp_link_pages() in index.php and archive.php
  Reporter:  DJPaul  |      Owner:  hnla
      Type:  defect  |     Status:  accepted
  Priority:  normal  |  Milestone:  1.3
 Component:  Theme   |    Version:  1.3
Resolution:          |   Keywords:

Comment (by hnla):

 Files patched as per example SC.

 Default-ish wp_link_pages() args passed as in 2010 i.e before => <div

 No styling applied class .page-links acquires existing bp-default styles

 .edit-link, .page-links { clear: both; }

 As this is a list of links the markup really should reflect that by using
 a ul construct. On brief perusal of codex I don't think it's possible to
 pass 'li' element args easily if at all, but will recheck but it would
 leave an issue with what to do with anonymous inline text box ( the bear
 naked cdata  'Pages' existing in the div)

Ticket URL: <https://trac.buddypress.org/ticket/3237#comment:2>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list