This topic has 13 replies, 2 voices, and was last updated 6 years by Radu.

  • Author
  • #191559
     mycolombianwife
    Participant

    I have a problem with the search function of my website https://www.mycolombianwife.com/

    The problem is following:

    If I open a profile and then return to the gallery, the gallery page jumps back to page one.

    For instance if I I open a profile at gallery page 3 and then return to the gallery, it jumps back to page 1.

     

     

    #191732
     Radu
    Moderator

    Hi,

    It says

    Try to de-activate all plugins excluding buddypress and child theme then check if the has gone

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #191910
     mycolombianwife
    Participant
    This reply has been set as private.
    #191973
     Radu
    Moderator

    Hi,

    It’s the same

    If you de-activate the child theme it works as it should ?

    Make sure to have latest theme update.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #191974
     Radu
    Moderator

    wait… now works

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #191975
     Radu
    Moderator

    Actually after i log in it says like that

    Let me know

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #191996
     mycolombianwife
    Participant

    from which country are you trying to access my site ?
    I have the IQ countryblock plugin.

    Currently I do not have a child theme installed.

    #192320
     Radu
    Moderator

    It’s the same at this moment, visiting from Romania.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #192371
     mycolombianwife
    Participant

    Ok, please try again, I just deactivated the IQblockcountry plugin.

    #192443
     Radu
    Moderator

    Now i’m able to see the website.

    From where you had performed search cuz in your homepage isn’t any search

    Can you tell me exactly the steps ? or make a movie showing the issue ?

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #192480
     mycolombianwife
    Participant

    ok After logging in, click at members.

    or open this link: https://www.mycolombianwife.com/members/

    Then scroll down to the bottom in order to proceed to the next page.

    Page 2

    Open any profile with left click.

    Then return to the members gallery using the left arrow icon of your browser.

    The search will jump to page 1

    #192488
     Radu
    Moderator

    I see, that’s because the pagination it’s maden via ajax and the url is not changing, to can have the different url on every page you should disable ajax pagination using.

    You will have to overwrite this file : wp-content/themes/sweetdate/buddypress/members/members-loop.php

    by pasting this code in a file named members-loop.php in child theme in the same location
    path : wp-content/themes/sweetdate-child/buddypress/members/members-loop.php
    code : https://pastebin.com/raw/7JDE2pvD

    This just add to the original file no-ajax on pagination div the no-ajax class.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #192493
     mycolombianwife
    Participant

    Now it works !!! Thank you !

    First I have to install the child theme.

    Then I created a new php file with the name members-loop.php in the path wp-content/themes/sweetdate/buddypress/members

    It was an empty php file in which I copy and pasted the code you gave me.

    #192582
     Radu
    Moderator

    Yes, that’s it

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?