GeoDirectory Support Forums Forums GeoDirectory Core Plugin General Discussion Is there a way to show at the top of the search results that more pages exist.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #408735

    rigots
    Full Member
    Post count: 118

    Hi, when select a category and city and then click on search, I get taken to the search page. I have set my page to display 20 listings at a times so the can load up in a reasonable time, the problem with this is that only 20 pins are shown it the map, so people may think there are only 20 listing, but as they scroll down you see the boxes labeled 1, 2, 3, 4, 5 with an arrow next to it see the next 20.

    Is there a way to show the same navigation as in the buttons on the page at the top of the page?
    I want users to know right away that there are more than 20 listings without having to scroll down all the way to see that there are option to see more. I want those options to see more to also appear on the top of the page, how do I do that?

    Thank you.

    #408736

    Joy
    Buyer
    Post count: 776
    #408789

    Alex
    Moderator
    Post count: 1523
    #409261

    rigots
    Full Member
    Post count: 118

    I was told before that I should not be modifying any child themes because that could change in the future and my changes would get reset. So instead I was told to use a “snippets” widget to make any changes.

    So I used “Snippets” to add and activate the following:
    add_action(‘geodir_before_listing’, ‘geodir_pagination’,100);

    But, that did not work for me.
    I wish they added an option in the future to have pagination at the top or bottom, both top and bottom.

    Can I add this command from “Snippets” if so, do I need to modify the command to be added from Snippets?
    If not, I will have to go figure out which is my child theme. I use “Directory Starter” and “Supreme Directory”, I don’t know if I have a child theme were I can add this code. Any advice?

    Regards,
    Rigo

    #409267

    Alex
    Moderator
    Post count: 1523

    Hello!

    Adding as a snippet is the way to do. You will also need to turn on the setting now, too:
    GD>Design>Search>Show advanced pagination details

    #409270

    rigots
    Full Member
    Post count: 118

    Hi Alex, what do you mean by “You will also need to turn on the setting now, too?”.
    I did go ‘GD>Design>Search>Show advanced pagination details’ and there is a pull down menu next to it.
    The selection choices are: Never Display, After Pagination and Before Pagination.
    I tried the three of them, the only thing I see when I enable “After Pagination” and “Before pagination” is that I see a text that says “Showing Services 1-20 of 96”, but it does not give me the option at the top of the page to select the next set of results and this is what I am looking to have at the top of the page, not just at the bottom of the page.

    Any advice?

    #409538

    Alex
    Moderator
    Post count: 1523

    Hello!

    You can use the Code Snippets plugin to add the missing snippet to your site.

    https://wpgeodirectory.com/docs/useful-plugins/#snippets

    The snippet you want to add is:

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

    And then leave the advanced pagination setting selected.

    #409562

    rigots
    Full Member
    Post count: 118

    Hi Alex,
    I have already added that code snippet before. See attached screen shot below.

    I don’t understand what you mean by leaving the advanced pagination setting selected.
    As I said before, there are three selection for advanced pagination, which of the three do I select? I have tried the three option without success, see attached image, I selected “before pagination” and it still does not work.

    Any other suggestions?

    Thank you.

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

You must be logged in to reply to this topic.

  • How to add a new support ticket

    To open a new support ticket, first select the relevant forum and then click the "New Post" button. Example: You need support for the core plugin? Click on GeoDirectory Core Plugin support and click on the "New Post Button".
  • Support Policy

    Please read the support policy before starting to use the forum.
  • Featured ThirdPartyAddOn

  • Feature Requests

    Is there a theme for which you'd like to see a compatibility package or a new feature that you think would be of great benefit for the GeoDirectory community?

    Submit a feature request : here

    Each month you get 5 votes to distribute. You can choose to use all your votes for one idea you really like, or spread them across between several ideas :)

    We will do our best to create whatever you suggest if it becomes popular, we however reserve the right to reject ideas that we believe could not be realized without revolutionizing the plugin.

  • Are you a developer?

    Make Money with GD Jobs

    Check out the GeoDirectory Jobs Forum, there may be a new client waiting for your services. Only Premium members can access the GD Jobs forum.

    Or selling GD Themes and Addons

    Did you know that you can easily build GeoDirectory Addons and Themes and that there is a rapidly growing market for it? Submit your Add-ons and Themes here
  • Looking for a GD developer?

    We do not provide customization services, but feel free to check out the GeoDirectory Jobs Forum, there may be already a freelance GD expert ready to start working with you. Only Premium members can access the GD Jobs forum. GeoDirectory doesn't endorse any of the developers present in our forums. However we can guarantee that they are all Premium Members just like you. Please ask for references before hiring anyone and use common sense. We don't take responsability for poor quality jobs and/or missed deadlines