Forums Forums Search Search Results for 'results.php'

Viewing 10 results - 481 through 490 (of 1,224 total)
  • Author
    Search Results
  • #184421

    In reply to: Wrap output


    Trevor
    Participant

    Ah. I had thought (misunderstood) that you meant to alter the form, but it is the results in question.

    Does you theme have normal (unfiltered) page that looks like this? Let me know what the theme is and maybe give me a link to a page like the one you want.

    If so, as I see you have already edited the results.php file, you could further add the extra HTML to make that structure.

    #183901

    In reply to: Result is misshapen


    Trevor
    Participant

    You are using the Shortcode method. Did you modify the results.php, and what is wrong with the appearance of the results? I notice that the column widths change. Is that the issue?

    #183841

    Anonymous
    Inactive

    Could you tell me where to insert this in results.php, so that it will still work?
    Thanks!
    Yes, I am using the shortcode display method.

    #183359

    Trevor
    Participant

    The shortcode method and customising it is explained here.

    Once you have your own copy of the results.php template file, it needs to be edited so that it makes results similar to your theme. It depends how complex your desired outcome is as to how hard it would be re-create.

    If you have a page builder plugin in your site, it may also be that we have an integration for that.

    #183211

    Trevor
    Participant

    It must be the way you are doing the pagination. The standard WP pagination is how we set up our Shortcode method example results.php (see inside our templates folder).

    #182839

    Anonymous
    Inactive

    Since I have to use Geodirectory’s templating to get the specific layouts to work (social, web/email), I have not tried. (Using the standard results.php only loads the basic text).

    But, this only happened after I added the email field. When the Email field is disabled, the Ajax loading works. (I have it disabled right now).

    I have already run a log file, and cannot trigger any errors.

    This is the closest clue I have, which may put this in Geo’s territory,

    https://stackoverflow.com/questions/2360076/javascript-document-write-replaces-all-body-content-when-using-ajax

    “You can’t use document.write once the document has completed loading. If you do, the browser will open a new document that replaces the current.”

    I suspect Geo will not support this issue, since they have their own search tool they sell as part of their program. And it is AWFUL (this tool rules, by far)…

    This is a major project, as you may imagine (THE Great Smokies..). So, hopefully we can find a solution.

    Thank you

    #182826

    Trevor
    Participant

    Does this happen if you use a standard results.php file and Ajax ON and Infinite Scroll not on?

    #182597

    Trevor
    Participant

    Hi Kellie

    You would need to be using our Shortcode Display results method, and have followed the guide to customising:

    https://support.searchandfilter.com/documentation/search-results/using-a-shortcode/

    Once you have a copy of the results.php file in a search-filter sub-folder of your theme, you can edit that file. Looks for these lines:

    <p><?php the_category(); ?></p>
    <p><?php the_tags(); ?></p>
    <p><small><?php the_date(); ?></small></p>

    Simply deleting each of these lines in turn would remove the display of the categories, tags and post date.

    #182325

    Anonymous
    Inactive

    Is there a way to customize how the posts are sorted and ordered?

    I’m thinking I can use $query->set in the results.php page but wanted to clarify with you.

    Thanks.

    #182051

    Trevor
    Participant

    For most Display Results method, this is handled by your theme. For the Shortcode Display Results method, this is inside the results.php template, and to customise that, see this documentation page:

    https://searchandfilter.com/documentation/search-results/using-a-shortcode/

Viewing 10 results - 481 through 490 (of 1,224 total)