Forums Forums Search Search Results for 'results.php'

Viewing 10 results - 1,091 through 1,100 (of 1,224 total)
  • Author
    Search Results
  • #27983

    In reply to: 3 Features Inquiries


    Anonymous
    Inactive

    Hi, I had tried as advice, but I still do encounter problems as below.

    1) I enabled auto count. Still I don’t understand why Post Type Event checkbox after autosubmit disappear”

    2) I have no problem with using POST DATE. But when I want to use sort (search, filter) post types by event date, because I have those post type and post meta with start and end date, I get NOTHING. ”

    3) I got something different when override template with plugin file results.php. But main problem is how to show post meta with event date. I will try all to achieve what I need to show post meta and event date filter.”

    Note ** Does plugin keep main features of archive page custom post type after layout overriding?

    Here’s the link to try gohorize.com/find

    Regards,
    Alex

    #27963

    Anonymous
    Inactive

    Hi Ross,

    Thanks for getting in touch. I have the display method as Shortcode and am now using the results.php template to display results.

    Once done I realised the results where showing if you chose 1 checkbox but then disappearing if you also chose another but have altered the Search Operator to OR so that works great now.

    Just wondering if there is anyway to make the text next to the Checkbox the clickable choice and remove the checkboxes altogether? My client just wanted it like so:

    All | Residential | Commercial | Development

    Thanks
    Geoff

    #27773

    Anonymous
    Inactive

    Hi,

    I’m using Timber to render Twig templates to format my search results via results.php. I’ve added a conditional tag to load a new twig template if a specific page is calling the search results.

    results.php:
    <?php
    if (is_page(ID)) {
    $templates = array(‘special-template.twig’);
    } else {
    $templates = array(‘general-template.twig’);
    }

    ….

    This works fine on “Special Page” — i.e. the special-template results are loaded. However, I want to use AJAX to filter the results. When I try an AJAX filter, is_page returns FALSE and the “general-template.twig” is loaded for my search results.

    Any advice? Or is this the wrong approach for what I want to accomplish?

    Thanks!

    #27677

    Ross
    Keymaster

    Hi Vikki

    I got slightly confused, but if you are using the results.php template provided (but copied in your theme folder) you will notice the line:

    Found <?php echo $query->found_posts; ?> Results<br />

    So this is already being displayed in your results – the variable you need is $query->found_posts

    Thanks

    #27465

    Ross
    Keymaster

    I can see that your <p> tags around the image are not properly opened and closed

    You open the <p> inside the <a> but the close it outside the </a>

    This is not really a S&F issue anymore, if you default to the supplied results.php in the S&F template folder (of the plugin) do you see any out of place <p> tags?

    #27451

    Anonymous
    Inactive

    Hi Ross

    Thanks I have copied results.php into my new search-filter folder as requested. Please can I have the code?

    Thanks
    Vikki

    #27246

    Anonymous
    Inactive

    But I can’t find the page that the S&F is using as results.
    If I put the flag on use custom template (with the field url blank) works without not.

    Whatever change I make to this file: search-filter-pro/templates/results.php nothing happens

    #27070

    Anonymous
    Inactive

    To sum it up my search result page is this: framework/global/_index.php

    I can’t use that URL on your plugin. So I suppose yours is taking results from your file results.php

    #26069

    Anonymous
    Inactive

    Hi Ross I am using a custom template for my results for display purpose. It seems to work now so I hope nothing else will change. It seems to get my results.php template from my theme directory. Maybe because that is already in the database from before this upgrade? I’m not sure.

    #26063

    Anonymous
    Inactive

    Hello,

    I am getting an error now Call to a member function have_posts() on a non-object in /home/domain/public_html/wp-content/themes/mytheme/search-filter/results.php on line 25

    This is the page: http://wfsaustralia.com/clients/

    Your help is appreciated. Thank you.

Viewing 10 results - 1,091 through 1,100 (of 1,224 total)