Skip to:
Content

BuddyPress.org

Ticket #3237: 3237-post-page-pag-links.patch

File 3237-post-page-pag-links.patch, 1.6 KB (added by hnla, 14 years ago)

Adds wp_link_pages() to index.php & archive.php

  • bp-themes/bp-default/archive.php

     
    3636
    3737                                                        <div class="entry">
    3838                                                                <?php the_content( __( 'Read the rest of this entry &rarr;', 'buddypress' ) ); ?>
     39                                                                <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'buddypress' ), 'after' => '</div>' ) ); ?>
    3940                                                        </div>
    4041
    4142                                                        <p class="postmetadata"><?php the_tags( '<span class="tags">' . __( 'Tags: ', 'buddypress' ), ', ', '</span>' ); ?> <span class="comments"><?php comments_popup_link( __( 'No Comments &#187;', 'buddypress' ), __( '1 Comment &#187;', 'buddypress' ), __( '% Comments &#187;', 'buddypress' ) ); ?></span></p>
  • bp-themes/bp-default/index.php

     
    2727
    2828                                                        <div class="entry">
    2929                                                                <?php the_content( __( 'Read the rest of this entry &rarr;', 'buddypress' ) ); ?>
     30                                                                <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'buddypress' ), 'after' => '</div>' ) ); ?>
    3031                                                        </div>
    3132
    3233                                                        <p class="postmetadata"><?php the_tags( '<span class="tags">' . __( 'Tags: ', 'buddypress' ), ', ', '</span>' ); ?> <span class="comments"><?php comments_popup_link( __( 'No Comments &#187;', 'buddypress' ), __( '1 Comment &#187;', 'buddypress' ), __( '% Comments &#187;', 'buddypress' ) ); ?></span></p>