Forums Forums Search Search Results for 'results.php'

Viewing 10 results - 1,041 through 1,050 (of 1,224 total)
  • Author
    Search Results
  • #39213

    Anonymous
    Inactive

    Hi,

    Great plugin by the way. So I have installed wp_paginate as I usually do, I made a few minor positioning changes to the results.php template, mainly just wrapping of divs and adding some custom field calls other than that nothing php wise.

    When you use the pagination it show the Error404 page.

    The URL for the next page shows as /?sf_page=2 if trying to get to page number 2 ect.

    Any advice gratefully received.

    geoffb

    #39122

    In reply to: Customize Results Page


    Anonymous
    Inactive

    Bonjour Maxime,

    Comment avez vous réaliser le résultat de la page :” http://maximegiraud.fr/fpe/films/”

    Je cherche comment faire pour la disposer en Grid dans la page results.php.

    Merci de votre aide .
    Johnny

    #38961

    Anonymous
    Inactive

    Is there a way of grouping sets of fields within a search form?

    I have a form, included in my template via the shortcodes (for both form and results), which contains a search fields, and then a series of taxonomy fields.

    I’d like to arrange it (in a simplified way) something like:

    <div id="search">
        <h2>Search:</h2>
        <ul>
            <li class="sf-field-search ~~ etc.
        </ul>
    </div>
    <div id="filter">
        <h2>Filter by:</h2>
        <ul>
            <li class="sf-field-taxonomy-xx ~~ etc.
            <li class="sf-field-taxonomy-xx ~~ etc.
            <li class="sf-field-taxonomy-xx ~~ etc.
            <li class="sf-field-taxonomy-xx ~~ etc.
        </ul>
    </div>

    It’s easy to do if I create two seperate forms and include the shortcodes at the ul levels in my example, but then they don’t co-operate when it comes to results.

    Is there a template (like there is for results.php) they we can modify?

    #38569

    Anonymous
    Inactive

    Hey Ross,

    same results, even when using the standard results.php, having only WooCommerce, ACF and Search and Filter activated, using hard-coded shortcode and using vanilla wordpress/storefront themes… It usually works fine until cache rebuild hits about 2500 of the mentioned 4000 products. Then suddenly it says no results found. Really weird, we’ve invested a lot of time into the issue and hope we can somehow get it fixed.

    If you have any input, idea, whatsoever, we’d be really thankful!

    Sebastian

    #38440

    Ross
    Keymaster

    Hey Benoit

    Try the following:

    1)

    Change the results container to:

    #portfolio-grid

    2)

    Lets make a new template only for S&F results, because we want to make some customisations and not affect the rest of the site…

    So duplicate the file page-Portfolio3Cols-filterable.php and rename this to search-filter-results.php

    Then, via email, can you send me this file?

    Thanks

    #37951

    Ross
    Keymaster

    Hi Jeff

    I did a quick test as I hadn’t personally used that WP function before.

    If you are using the shortcode method for displaying results, then edit your results.php template and on line 52, after the $query->the_post() add it there.. so the start of your while loop should look like:

    <?php
    while ($query->have_posts())
    {
    	$query->the_post();
    	
    	?>
    	<?php echo get_post_mime_type(get_the_ID()); ?>
    

    Notice I also added get_the_ID() which is sometimes not necessary but a good way to it.

    Now you can access what file type they are 🙂

    Thanks


    Ross
    Keymaster

    How are you using results.php?

    Can you send me a link to the page?

    Thanks


    Anonymous
    Inactive

    Fatal error: Call to a member function have_posts() on a non-object

    How can i resolve this.
    This is showing in results.php

    #37193

    Anonymous
    Inactive

    hi ross,
    i don’t think so, because i copied the loop-single-topic.php into results.php and this is what i get.
    any ideas what can be wrong?.
    another thing is that after getting the results the search form stops working.

    #36574

    Anonymous
    Inactive

    hmmmm ok & SORRY! I think there was something wrong with the results.php …. deleted everything and now it seems to word again.

Viewing 10 results - 1,041 through 1,050 (of 1,224 total)