Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #308117

    Hey guys,

    i need some help.
    currently I don’t have pagination on the bottom of the topic just on top top and would like to add this to the bottom as well.
    http://gyazo.com/f0644a8910293d234e277d74341d498d

    how should i do this?
    thanks in advance

    #308644

    Hi,

    Can you post the link to your website please?

    Regards,
    Josue

    #308712
    This reply has been marked as private.
    #308734

    Hi!

    Please go to Appearance > Editor and open Functions.php file and add following code

    add_action( 'bbp_template_after_single_topic','bbp_bottom_pagination' );
    function bbp_bottom_pagination() {
    $output = bbp_get_template_part( 'pagination', 'replies' );
    return $output;
    }

    Best regards,
    Yigit

    #309109

    Hi Yigit!

    Added this to wp-content/theme/enfold/functions.php and it either doesn’t do a thing OR got a server error and the site didn’t loaded at all…

    really put in some effort to understand how tihs works and found
    wp-content/plugins/bbpress/templates/default/bbpress/content-single-topic.php

    understand that

    <?php bbp_get_template_part( 'pagination', 'replies' ); ?>
    
    			<?php bbp_get_template_part( 'loop',       'replies' ); ?>
                
    			<?php bbp_get_template_part( 'pagination', 'replies' ); ?>
    

    makes pagination, then replies, and pagination, and if i write a standard echo “where is my pagination bro?” he displays it but not the page links…

    sorry that i’m a noob but i’m ready to learn…

    #309263

    Hi!

    Do you mind creating a temporary admin login and posting it here privately? I tried the code before posting and it works fine on my local installation – http://i.imgur.com/NXYjW5o.png

    Cheers!
    Yigit

    #310189
    This reply has been marked as private.
    #310320

    Hey!

    I cannot make changes on Functions.php file from WordPress backend. Please change permissions

    Cheers!
    Yigit

    #310430
    This reply has been marked as private.
    #310435

    Hey!

    So sorry, site went blank again when i added the code. Can you please remove it via FTP?

    Regards,
    Yigit

    #310439

    which line?

    #310440

    ok found it, had the same issue as i was trying!

    #310441

    Hi!

    It is the same code i posted earlier

    add_action( 'bbp_template_after_single_topic','bbp_bottom_pagination' );
    function bbp_bottom_pagination() {
    $output = bbp_get_template_part( 'pagination', 'replies' );
    return $output;
    }

    Thought there may be punctional error so i made sure there was not, but site went blank anyway

    Best regards,
    Yigit

    #310442

    also, now is the “view first unread post” feature is missing…

    #310444

    Hi!

    Can you please update Enfold to the latest version 2.9.2 firstly then we can try the code again? It works totally fine on my local installation with Enfold 2.9.2

    Regards,
    Yigit

    #310446

    “also, now is the “view first unread post” feature is missing…”

    any guess about this? it was fine in the morning

    #310463

    Hey!

    I have not changed any settings. Please try contacting plugin author as they should have better insight

    Best regards,
    Yigit

    #310491

    ok, last reply is fixed now
    btw, updated enfold on the test environment, inserted the code but it still don’t shows the page links, but , at least it doesnt kill the site :-)

    #310494

    Hey!

    Can you try deactivating all plugins except for bbPress on your test environment and check if that helps? :)

    Best regards,
    Yigit

    #324057

    Hey Yigit!

    finally was able to solve the problem!
    Guess what bottom pagination was always there but somehow it was in the same place as the top pagination. I just couldn’t fiuger out why…
    but pasted the code after the loop replies and changed his style to like bbp-bottom-pagination and it came to the right place…

    bests,
    Robert

Viewing 20 posts - 1 through 20 (of 20 total)
  • The topic ‘navigation on the bottom for topic replies’ is closed to new replies.