Search Results for 'results.php'

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

Viewing 10 results – 1,231 through 1,240 (of 1,344 total)
  • Author
    Search Results
  • #21236

    Anonymous
    Inactive

    Thanks for the quick reply, very helpful.

    All fixed (kind of) yes it seems it is something to do with my custom results.php page as I switched back to the default and it worked.

    Strange it works locally, will have a read through my code now and am sure it will be some PHP syntax error (my fault).

    Thanks again for your quick reply and an amazing plugin.

    Kevin.

    #21220

    Ross
    Keymaster

    Ah no, just create a new search form and follow the instructions here under A Quick Tutorial:

    http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/display-results/with-a-shortcode/

    Make sure this new search form is using the original results.php supplied with Search & Filter – then provide me with a link so I can test a “clean” version of S&F and the results template.

    Thanks

    #21131

    Anonymous
    Inactive

    Actually I went back to original results.php and still have the same issue.

    regards

    #21120

    Anonymous
    Inactive

    I used custom results.php file.

    http://goo.gl/vd2I4q

    Try to go to the last page of pagination.

    many thanks

    regards

    #20790

    Anonymous
    Inactive

    I am using a shortcode to display the Filters/Results.

    I have also created my own results.php in my theme folder to use <?php the_content(); ?> instead of <?php the_excerpt(); ?>.

    Whenever the results are updated using AJAX, the content is replaced with excerpt.

    http://hassonwong.wpengine.com/hair-transplant-image-gallery/

    I’m not sure what to try next…

    Thanks,
    Mike


    Anonymous
    Inactive

    Hi,

    I am not sure if this would be better suited in the Feature Requests forum or if it’s actually possible already. I couldn’t find any clues in the documentation.

    Is it possible to have different views depending on if the user has entered a search term or not?
    For example: The default view shows a list of posts grouped by category or basically any other content I choose. Once the user enters a search term the page will display the results according to the results.php.

    In standard wordpress we can achieve this with a conditional is_search() in php. Is there any way to include such a switch in the results.php or is it not possible due to the way the Ajax request works?

    Is there a specific javascript event which gets fired to indicate whether the user has entered a search query or if it’s empty? (in that case we could at least hide the content with js if a search is performed).

    Thanks,
    Robin

    #19853

    Anonymous
    Inactive

    Hello Ross,

    I hope you are doing fine!

    I checked all the answers you gave me to my questions, but I need some extra help in my question No3:

    3) How to remove the “Tags:” that appears before every result in my Continent filter. For example as you see the results are: Tags:Europe , Tags:Americas e.t.c.

    because, I believe that you are missing something.

    Your answer was:
    3) This is in your custom template – you need to make modifications to this in order to remove it

    So, as you see in my result page now!

    http://glass-mig2.the-glass-co.com/form-results/?_sft_post_tag=asia-pacific

    I put back your “Default”, results.php file. But the problem still exists.

    I believe that somewhere else is the problem and it brings the word “Tags:”, with the results.

    – Why the word “Category”, don’t come with the results?

    so somewhere else is the issue.

    Thank you,

    p.s. for all the other questions, you guide me and I found my way how to make them work in a proper way. thanks again

    #19836

    Anonymous
    Inactive

    Hows it going?

    So heres my situation. I am using classipress + search filter pro. One thing I plan to use on the site is featured ads that utilize the stickypost feature. Problem is, on the search results page, in addition to posts matching my search query meta, sticky posts that dont match search query meta are also displayed. Ive tried every way I can think of to get this to work I want to no avail. Using your shortcode to display results works the way I want it too (ignores sticky posts) but the results layout is not ideal and not consistent with listings in index and post archives. Ive had no luck modifying the results.php file to my liking (although i came somewhat close) as my skill level is no where near that of yours. My proposal is I hire you to make the modifications I require. Id setp a clone site with admin + FTP access. Please let me know if this something you are available for. Thanks!

    #19654

    Ross
    Keymaster

    Hey Pawel

    I had a quick look.

    Ok, so when you don’t use ajax, pagination should always show real links, not with a # – try using the code from the example results.php again for your pagination – I have seen no problems with this under other environments.

    Also, I noticed, you have JS errors on your page – which could cause issues with this and other plugins – even if you don’t use ajax, S&F still uses JS so its important to fix all these in case of any problems.

    Thanks

    #19594

    Anonymous
    Inactive

    Hi Bob,

    Yes, that’s definitely possible, it just requires a couple of steps.

    There are some good instructions in the documentation, here:
    http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/display-results/with-a-shortcode/

    1. First you create a new template for displaying your search results (you can start with the default results.php as a foundation if you like, and customize it however you want – that file is found in the plugin’s Templates folder). Your NEW template file should be named with the ID number of your filter form (e.g. my filter form is ID 102, so my template is 102.php), and placed in a NEW folder that you’ll create in your THEME folder, name the folder ‘search-filter’ – the plugin will look in this new folder first for templates.

    2. This template file just handles displaying the form and the results, so you’ll also need to place the SHORTCODE that calls this template into the PAGE template, and change the METHOD for displaying the results in the Settings for the form/filter to “shortcode” (instead of “archive”).

    SO let’s say you have a PAGE on your site for products, with some content at the top of the page maybe, and your product list (and filters) below. ON that Page paste your shortcode for displaying the form and results, which you can copy from the Filter’s settings….for example, I use:

    [searchandfilter id=”102″ show=”results”]

    Read the documentation linked to above, hopefully it will make sense, if not ask more questions and I’ll try to help. 🙂

Viewing 10 results – 1,231 through 1,240 (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.