Search Results for 'results.php'

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

Viewing 10 results – 1,311 through 1,320 (of 1,344 total)
  • Author
    Search Results
  • #6911

    Anonymous
    Inactive

    Hello there,

    I recently bought the PRO version and I’m almost there to the final implementation.

    Thing is,
    I want my results page layouted as my originally templated page from theme was.

    I got the ideia behind implementing it all trough a child folder and setting results.php.
    I also got the code from my theme template php file.
    Now I only have to merge those two together, but I’m having php difficulties…

    Can you guys help me out? I think with little tweaking I can layout the Search & Filter results page.

    Thanks a lot guys,
    Btw using Theme X.


    Anonymous
    Inactive

    Hi there,

    Same problem as mentioned above. I have found it impossible to get the php shortcodes to work on the same page with Ajax using the new Ajax system. I have used both search.php and …search-filter/results.php

    Please reply as soon as possible. This is urgent. This a company website.

    Thanks in advance.

    #6356

    Ross
    Keymaster

    Hey Tim I think I’m following you and in that case yes I think you’re right.

    Just to note, you can different results templates.

    Instead of having results.php you could have 18.php where the filename matches the ID of the search and filter widget – not sure if that helps you?

    Thanks

    #6255

    Anonymous
    Inactive

    That’s not what I want to do. But it should work if I made custom WP templates for each category that do not have the the loop to show post results and then use the shortcodes and modify the results.php to get the formatting I want, yes?

    #6251

    Ross
    Keymaster

    Hey again Tim

    You shouldn’t be placing the plugin and results ON a category page, it should have its own unique page.

    So do as I have – with the test page:

    http://www.yogabasics.com/yoga-poses-test/

    Now you do not get duplicates, but no the layout you want.

    The plugin comes with 1 default way of displaying results (this is the results template)

    What we need to do is modify the code from the results template to look the same as in your other layout – so we need to copy over some html.

    Before we do that though, can you follow the instructions at this link:

    http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/#docs-new-ajax

    And copy over the results.php file to the correct location within your theme folder?

    Then I can help with the modification you want.

    Thanks

    #6101

    Ross
    Keymaster

    Hey Marjan

    I made a little test (link in next message)

    I think this is what you are after??

    To make customisations to the results, edit the file – wp-content/themes/theme-name/search-filter/results.php

    But I think this almost looks right?

    I’ll explain what I did (I am not familiar with ultimatum theme):

    1. Create a new page
    2. Create a page template just for this page in your theme folder (search-page.php)
    3. Set the page template of this page to the new one “S&F Search Page” (http://codex.wordpress.org/Page_Templates#Custom_Page_Template)
    4. Load a regular page (to get the styling), and view html source
    5. Copy over the basic structure of this page – just the main content area and sidebar in to the custom page template
    6. Then add the two shortcodes
      • in the main content area I added [searchandfilter id="949" show="results"]
      • in the sidebar area I added [searchandfilter id="949"]

    Then basically the page is done! I don’t know if there is a better way to do it using Ultimatum I haven’t used it before.

    So now you can edit the layout of the results – but it looks very close to the original!

    🙂

    #5915

    Anonymous
    Inactive

    Ok, I changed the theme to something else, but the new theme supports a grid layout as well. In other words, the “posts” section, i.e. the blog section of the website will be displayed as a grid.

    This is how I want the search results filtered by the plugin to display as well.

    I figured out how to copy the results.php file into the theme folder, but nothing is happening, the results display the same way as before.

    I get the feeling I’m missing something important here, but all the posts relating to customization of display predate the Ajax changes, so can’t get much help there!

    Please help, thanks!


    Anonymous
    Inactive

    I need only to show results from pages they use a specific template (my-template.php). How i must change the query inside results.php?

    #5876

    Anonymous
    Inactive

    I saw this in the support documentation:

    If you wish to customise the display of your results, a template file is included in the Search & Filter folder.

    1) Create a folder in your theme folder called search-filter.

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

    Search & Filter will now use this template to display your results 🙂

    But I can’t seem to get this working…

    If I unzip my theme folder, add a folder called search-filter, and put the results.php in it, and then zip it again, it’s not installing at all when I upload the theme on to wordpress.

    #5614

    Anonymous
    Inactive

    Hi,

    I also cannot make the Ajax results page look good. I would like to have the basic layout in the “results.php” to be the same as in the normal archive/search pages in my theme, but I cannot make copying elements from the theme’s search.php work at all.

    Without Ajax it works fine and I have read the short toturial text without any success when it comes to making the styling look like the rest of the theme.

    Can you help me out?

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