Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #1371105

    I have two websites (see in private)

    On the FIRST one the search works perfectly giving a long list of items found

    On the SECOND one they are nested so you have to click each of the page links at the bottom.

    I want the second site to match the first.

    I have looked for loop-search.php which seems to be mentioned in the script but neither sites have this in the child folders.

    Any ideas?

    #1371166

    Hey ColinWalton,

    Thank you for the inquiry.

    You might have added a filter that alters the search query and sets the postsnumber parameter to 1, which is why the results are nested and requires paginations. Please check the functions.php file or post the login details in the private field so that we can check the site further.

    Best regards,
    Ismael

    #1371207

    Hi Ismael,

    Thank you for the suggestion. I have tried uploading and replacing a blank functions.php onto my website, but this hasn’t changed anything.

    See private for details.

    #1371212

    I have found a previous message that said users were in USA, Lithuania and Philippines. So have unlocked these. Here are the login details.

    Good luck!

    #1371561

    Hi,
    Thanks for the login, but unfortunately I can’t find a reason for this, I know you said the child theme functions.php is empty, are there any other files in the child theme, I couldn’t see because the theme editor is disabled.
    Are these two sites on the same server with the same PHP and server cache?
    Are they using an “object” cache such as Memcached, Redis, Varnish, Litespeed?

    Best regards,
    Mike

    #1371650
    This reply has been marked as private.
    #1371806

    Hi,
    So ColinWalton.co.uk and WaltonCreative.com are both on the same server with the same plugins and same child theme settings, and only one is incorrect?
    This is strange, I would think that one must be different somehow.
    Did you update via FTP by trying to overwrite the files? This could leave old differently named files behind and cause errors.

    Best regards,
    Mike

    #1371876

    HI Mike,

    I usually update WordPress using their installer. I have looked through to see anything old, but the oldest seem to about 2021.

    Inside the WP-Content / Enfold folder there are some files which date from 20/10/2021. Such as:
    404.php
    archive.php
    author.php
    comments.php
    etc.

    Do you think it would be worth deleting the Enfold folder in Themes and start again?

    #1371877

    PS, just deleted Enfold theme using File Manager on Plesk.

    Then downloaded the latest version and uploaded it to the themes folder and expanded the zip folder.

    Sadly the search still has the individual items listed, rather than all of them.

    Could the WordPress be the problem?

    C

    #1371881

    PS, tried switching to a different theme twenty twenty three, but this didn’t show any items in the list.

    Sorry!

    #1371882

    PPSSS.

    Now tried with Twenty Twenty One, and this time it shows the same content as Enfold – see private.

    I presume the problem is with WordPress?

    C

    #1371990

    Hi,
    Thanks for your testing, are both sites using the same WordPress version? I forgot to ask that, I guess that I just assumed it.
    When I check the results items from both sites they seem to both be using portfolio items and I don’t see anything specifically different about them, are the built the same on both sites?
    For example one site is not using a different element or shortcode or code block on the portfolio pages?
    Do you have HTML code in an element title on the portfolio pages, such as “strong” for a bold title? An unclosed HTML tag might cause the search results to stop.
    I’m just trying to think of possible errors.

    Best regards,
    Mike

    #1372049
    This reply has been marked as private.
    #1372051
    This reply has been marked as private.
    #1372110
    This reply has been marked as private.
    #1372167

    Hi,

    Sorry for the troubles. We tried to logging in to the staging site using the same credentials above but they don’t work. Would you mind creating an admin account for the staging site so that we can check it further?

    Best regards,
    Ismael

    #1372184
    This reply has been marked as private.
    #1372607

    Hi Colin,

    We can see the site but we can’t get in to the dashboard using the same credentials. Please create an admin account for the staging site so that we can check the issue further.

    Thank you for your patience.

    Best regards,
    Ismael

    #1372624

    What have you set on : Dashboard – Settings – Reading: “Blog pages show at most” ?

    #1372627

    BRILLIANT!!!

    THAT’S THE ANSWER. Thank you so much!

    C xx

    #1372636

    Hi,
    Thank you Guenni007, so it was this WordPress setting that was affecting the number of search results showing:
    2022-11-15_001.png
    ColinWalton, I assume we can close this now?

    Best regards,
    Mike

    #1372639

    YES great thanks.

    #1372646

    Hi,
    Glad Guenni007 could help, thank you Guenni007, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 23 posts - 1 through 23 (of 23 total)
  • The topic ‘Two sites with matching set up have different SEARCH RESULTS page?’ is closed to new replies.