Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change Pagination format / output

  • Avatar of wiesson
    wiesson
    Member

    @wiesson

    Hello there,

    i try to change the pagination template – but i dont know where i should look?!

    The Buddypress Members-loop.php only says

    so i want to change the template from ` ` and ` .. ` to `

    ` .. can you help me?

    i found in the functions.bb-core.php this:
    `function bb_paginate_links( $args = ” ) { .. }`

    and in line 305 to 318:

    `
    switch ( $type ) {
    case ‘array':
    return $page_links;
    break;
    case ‘list':
    $r .= ‘

      ‘ . “nt” . ‘
    • ‘;
      $r .= join( ‘
    • ‘ . “nt” . ‘

    • ‘, $page_links );
      $r .= ‘
    • ‘ . “n” . ‘

    ‘ . “n”;
    break;
    default:
    $r = join( “n”, $page_links );
    break;
    }
    return $r;
    `
    looks okay for me, but how to activate it?

You must be logged in to reply to this topic.