Search Results for 'results.php'

Forums › Forums › Search › Search Results for 'results.php'

Viewing 10 results – 1,151 through 1,160 (of 1,344 total)
  • Author
    Search Results
  • #40932

    Trevor
    Participant

    I need to be clear on what you did. Did you follow the first section instructions on that same documentation page, as follows:

        Create a new Search Form
        Add some fields to the Search Form UI by dragging from the Available Fields box in to the UI box – for this example lets just add a Search Field and a Submit Button
        In the Settings box, under the Display Results tab select “Using a Shortcode” – you will now notice the Shortcodes meta box (underneath the Publish box) has an additional secondary shortcode called the Results Shortcode.
        Publish this.
        Now, create a New Page, on this page add both the shortcodes found in your Shortcodes metabox (your IDs will be different):

        [searchandfilter id="1428"]
        [searchandfilter id="1428" show="results"]
        Publish the page, and then click View Page
        Copy the Full URL of this page from the address bar and paste into the the S&F form, in the Results URL option and update (this can be found in the Display Results tab).

    Did you also make changes to the results.php file to customize it?

    If so, can I see the live page?

    #40929

    Anonymous
    Inactive

    Hi Ross,

    I’ve experimented quite a lot, but can’t get it the way I want. A major problem is the fact the your results.php renders separate divs for each result, instead of for instance a ul with list items. How can I change it so that a ul with list items for each post is generated?

    Thank you!
    Boris

    #40922

    Anonymous
    Inactive

    I have two versions working perfectly: 1. Shortcode version using default results.php and 2. Archive version using my theme’s search.php.

    What I’d like is the theme’s search.php results on the shortcode page, but I’m not sure if 1. It is possible? 2. I have the technical ability to pull it off.

    I’ve been searching through documentation and forums for hours and so far all I’ve received is a serious headache. Are you able to please assist me with this? If not, is there some documentation that you can please point me to or lead me in the right direction?

    Thank you for your help.

    Test page: http://hasfit.com/search-test/
    My search.php code:

    <?php get_header(); ?>
    
    	<div id="content">
    			<?php get_template_part('includes/breadcrumbs'); ?>
    	    <?php $count = 1; ?>
    		<?php if (have_posts()) : while ( have_posts() ) : the_post() ?>
    			<?php include('includes/loop.php'); ?>
    	        <?php
    	            if($count%3 == 0){
    	         ?>
    	            <div class="clear"></div>
    	        <?php
    	            };
    	            $count++;
    	        ?>
    		<?php endwhile; ?>
    		<div class="clear"></div>
    			<div class="pagination">
    				<?php pagination( '&laquo; prev', 'next &raquo;') ?>
    			</div><!-- .pagination -->
    		<?php else : ?>
    			<?php get_template_part('includes/not-found'); ?>
    		<?php endif; ?>
    	</div><!-- #content -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
    
    #40912

    Anonymous
    Inactive

    Hello,

    thank you for the plugin!

    I have a problem customising the results.
    I use the “Using a Shotcode” display results method.

    I did what you described in your documentation:

    Customising the Results

    If you wish to customise the display of your results, you must override the default template that is being used by Search & Filter:

    Create a folder in your theme folder called search-filter.
    Copy the file wp-content\plugins\search-filter\templates\results.php from the templates folder in to the newly created folder in your theme – wp-content\themes\your-theme-name\search-filter\results.php

    From now on, Search & Filter will load this version of the template instead of its own – so you can make any customisations that are necessary.

    Unfortunately this did not change anything. They look the same way as before.
    They don´t look like the results I get when using the standard search on my template.
    I would like the results to appear in the same way they appear in the standard search on my template.

    When I use the display results method “As an Archive” the results look great.
    But the results are on a different page and you said the Ajax is slower.

    Best regards,
    Georg

    #40018

    Anonymous
    Inactive

    I’m not using SiteOrigin PageBuilder, I’m using profitbuilder lite.

    We can do something on skype, if you’ll pardon my english (I’m french).

    I’ve adapted the results.php (I’ve added some margin-top:-30px everywhere) so that the results looks good.

    If you could tell me how to modify the search form (maybe with some custom css ?) I think it will be OK.

    #40001

    Anonymous
    Inactive

    Hello Trevor,

    Nothing personnal, but I really don’t like the idea to give admin rights to someone else.

    I found another bug when using ajax: new articles won’t appear unless the browser’s cache is deleted.
    So I guess I will have to do without it.

    I think I can bypass those 2 problems if I don’t use ajax and adapt the results template so it looks good when <br> are inserted.

    I’ll still have a problem with the <br> in the search form. Is it possible to modify it like the results.php file ? Could you tell me which file I need to look into ?

    #39906

    Anonymous
    Inactive

    Hi,

    Here is the code of the archive that i use to display results (results.php):

    http://pastebin.com/Gja1JtYq

    and here i put a screenshot of the display results tab config:

    http://www.valladolidesquelas.com/wp-content/uploads/2016/03/display_options.png

    Thanks.

    #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/&#8221;

    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?

Viewing 10 results – 1,151 through 1,160 (of 1,344 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.