Pagination

This topic contains 7 replies, has 3 voices, and was last updated by  Paolo 7 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #235380

    Michael Sena
    Buyer
    Post count: 72

    Hello,

    Is it possible to have the pagination links show at the top of the category pages (next to or under the search feature) as well as at the bottom? example image

    Thanks!

    #235655

    Kor
    Moderator
    Post count: 16516

    Hi Michael,

    Could you try inserting the code below into the theme functions.php file and see if it works for you?

    add_action('geodir_before_listing', 'geodir_pagination', 101);

    Thanks!

    #236814

    Michael Sena
    Buyer
    Post count: 72

    Hello Kor…thank you for your reply!

    I inserted the code (at: wp-content/themes/supreme-directory/functions.php) but unfortunately… nothing changed. Any other ideas?

    Thanks!

    Mike

    #237142

    Paolo
    Site Admin
    Post count: 31206

    Hi Michael,

    please provide a link and admin credentials and we will have a look at this.

    Let me know,

    Thanks

    #239452

    Michael Sena
    Buyer
    Post count: 72
    This reply has been marked as private.
    #240024

    Paolo
    Site Admin
    Post count: 31206

    Hi Mike,

    the code was working, however it is not necessary, because on supreme the navigation is already added to the top of the listings to show the pagination info (Showing Places 1-6 of 40), but the navigation links are hidden with css, reason why they were not showing.

    Please remove the extra code from functions.php and add this to design >> scripts >> custom css:

    
    
    .sd .geodir-common .clearfix .Navi {
        display: block;
    }

    Let us know how you went,

    Thanks

    #240231

    Michael Sena
    Buyer
    Post count: 72

    That’s perfect…thanks Paolo!

    #240232

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket