Ajax Pagination Breaks Design

This topic contains 6 replies, has 3 voices, and was last updated by  Cindy Sutton 5 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #506370

    Cindy Sutton
    Expired Member
    Post count: 15

    Here is a page located in a staging site: http://x7s.d49.myftpupload.com/visit-statesville/food-n-drinks

    All looks as it should until you click to move onto another page of listings using the pagination at the bottom, then font-size goes out of whack, css rules that were being used on page elements are somehow ignored.

    I am using this shortcode to display the listings for the category:

    
    [gd_listings post_type="gd_place" sort_by="az" title_tag="h2" layout="1" post_limit="12" add_location_filter="1" with_pagination="1" bottom_pagination="1" category="157"]
    

    I believe this issue has something to do with the ajax listing loader:

    
    <div class="geodir-ajax-listings-loader" style="display:none">
        <i class="fas fa-sync fa-spin" aria-hidden="true"></i>
    </div>
    

    How can I turn this off?

    In a regular category view/page that uses the GD Archive Template page it does not do this. There is no div element with the geodir-ajax-listings-loader on those pages and the pagination loads the next page of listings by reloading the page. I assume the shortcode [gd_loop_paging] being used in the GD Archive Template is responsible for generating the pagination that functions in this way. How can I apply this same behavior to the shortcode I am using on the page I linked to above?

    Is there some global setting or shortcode generator setting I am missing?

    It’s a shame though, I kinda like the ajax loading but if it’s going to break the design in this way, I would rather just remove the ajax handling of these requests altogether than try to figure out how to get around the design issue as I figure the former would be easier than the latter.

    If there are any template files or other files that require some editing in order to achieve this, please let me know which file(s) and what to edit.

    #506390

    Alex Rollin
    Moderator
    Post count: 27815

    Thanks for reporting that

    Please include WP Admin credentials and site URL in a private so we can take a look and debug the issue.

    #506677

    Cindy Sutton
    Expired Member
    Post count: 15
    This reply has been marked as private.
    #506703

    Kiran
    Moderator
    Post count: 7069

    Hi Cindy,

    This has been fixed and it will be in next release.

    Provide FTP credentials if you want us to apply patch on your site. Patch available here https://github.com/AyeCode/geodirectory/commit/8feee88636988663b97cc6e17daf679b2a9f890d

    Kiran

    #506718

    Cindy Sutton
    Expired Member
    Post count: 15

    I can apply the patch myself. Thank you for patching is so quickly!

    #506723

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #506889

    Cindy Sutton
    Expired Member
    Post count: 15

    Wanted to let you know that I applied the patch and the ajax loading works perfectly now. Thanks again!

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount