Forums Forums Search Search Results for 'results.php'

Viewing 10 results - 711 through 720 (of 1,224 total)
  • Author
    Search Results

  • Trevor
    Participant

    Can you remind me of the results page URL?

    Are you working using a custom copy of the results.php template, as I had detailed in a previous post (one that is inside a sub-folder of the theme folder)?

    #114330

    Anonymous
    Inactive

    I decided to use the shortcode method to get the message of when there were no results as well as having other plugin features. It seems to be working just as I intended, but I still can not seem to get everything I wanted on the results page.

    I’m using the Pods Framework to create custom post types and taxonomies, and there are search fields that I would like to return like price, location, a brief summary, and so on. I know that it is possible to customize search results by editing the results.php file, but I am not able to display those fields in the listing of each result. I tried to follow this example:

    http://webdesignforidiots.net/2013/04/pods-pages-and-templates-and-more-pages-oh-my/

    I can display these fields on other pages, through the Pods shortcode or Pods templates, I can not apply to Search & Filter Pro.

    I used this code in a version applying it to results.php, but nothing happens, just a long and infinite load.

    I ask for your help.

    Thank you

    #112857

    In reply to: No results, etc.


    Trevor
    Participant

    If you have made a copy of the results.php file, in a folder (called search-filter) in your child theme folder, you can edit that results file. If you do not have a suitable code editor, might I recommend brackets.io as a free but good editor?

    In the default file, the line you need to remove is line 65:

    <p><small><?php the_date(); ?></small></p>

    If you don’t want the line between each as well, it is a few lines down in the code <hr />

    You won’t need the category or tags lines either.

    #112774

    Anonymous
    Inactive

    Hi Trevor. I actually worked on it all day yesterday and fixed it myself.

    Changed display option to [shortcode], created a dedicated search page. Created the new results.php page in the relevant directory. Copied some code from my themes “archives.php” page into the results page so I can edit it to my liking and everything is working 1000 times better now.

    The previous way I was doing it was just overly messy.

    The only (extremely minor) issues I’m having now is trying to make the results.php page look identical to my archive page. I have it like 70% similar but coping the complete archive code into the results page seems to break the page completely for some reason *shrug*.

    Also, is it possible to arrange the input boxes side by side for some of them? I guess custom CSS is the way?

    #111954

    Anonymous
    Inactive

    I’ve been enjoying setting up the plugin and getting everything right.

    But I’ve run into a problem where, without any apparent reason, tag searches that should keep storing tags and filtering posts don’t work…

    The whole combobox simply dissapears after one search…

    I have a very large site with thousands of posts and about a thousand tags.

    Can the plugin handle this ammount of posts and taxonomies?

    What would be the ideal set up to do so? There are many different ways to set things up so it’s hard to know.

    I had been running it using a short code and a custom version of results.php

    Cheers.

    #111433

    Trevor
    Participant

    Great to speak with you Ihtezaz. Hopefully you can go customize your own results.php file and if you have difficulty, get back to me and I can help you.

    #111416

    Trevor
    Participant

    Are you using the shortcode method? If so, did you follow these instructions:

    https://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/#Customising_the_Results

    If you have done this, then edit the results.php template file in yuor child theme folder that you have just copied there, and change the php the_excerpt() function to the_content()

    #110871

    In reply to: Result


    Anonymous
    Inactive

    I’m getting error – Call to a member function have_posts () on a non-object in root/wp-content/themes/twentysixteen/search-filter/results.php on line 25

    #110867

    In reply to: Result


    Anonymous
    Inactive

    I’m getting error – Call to a member function have_posts () on a non-object in root/wp-content/themes/twentysixteen/search-filter/results.php

    #110865

    In reply to: Result


    Trevor
    Participant

    I am not sure what you mean. This does not seem related to your original question.

    Do you need a copy of the results.php template file? It is in your plugin archive file, which you must have a copy of, and you can unzip that and find it in the templates folder. If you intend to modify it, you should follow these instructions:

    https://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/#Customising_the_Results

Viewing 10 results - 711 through 720 (of 1,224 total)