Forums Forums Search Search Results for 'results.php'

Viewing 10 results - 731 through 740 (of 1,224 total)
  • Author
    Search Results
  • #106881

    Trevor
    Participant

    Grids are typically made by either your theme or by a plugin (like Visual Composer). Our Shortcode method has a results.php template file but that does not (out of the box) support grids.

    So, what theme do you have, and/or do you have Visual Composer (and if you do, can you see the Post Grid element in it – it has an orange icon in the list).

    #106602

    In reply to: Pagination not working


    Anonymous
    Inactive

    Once you have copied the results.php file over, you can edit it. Find the PHP code the_excerpt() and replace it with the_content()

    Duh, right! I forgot I had done that before.

    Thanks again!

    #106568

    In reply to: Pagination not working


    Trevor
    Participant

    If you are using the Shortcode method, then did you follow the customisation guide?

    Once you have copied the results.php file over, you can edit it. Find the PHP code the_excerpt() and replace it with the_content(). You can change any of the HTML and CSS classes etc.

    #106384

    In reply to: Pagination not working


    Trevor
    Participant

    That pagination comes from the Content Views plugin you are using, not your theme. Whilst I was looking at your admin, I tried to get our plugin to work with that plugin, but it will not.

    The sample page with results from our plugin on seems to use a template that does not have pagination.

    It may be necessary to use the Shortcode method, and then I can customise the results.php to give you the appearance that you need.

    Try setting up a new form using that method on a test page, ignore the format of the results, but does it at least give you the right posts and pagination?

    #106273

    Trevor
    Participant

    Ok, so all I can do is ‘observe’ these screenshots – if you are new to Cloudup, I hoped you liked how easy it was?

    You have Force is_search to always be true ON. This is not normal.
    Also, Maintain Search Form State is ON. again, not usually a good idea.

    The results URL I assume is a page, but why is it a sub-page? Normally, Search & Filter might not like this.

    On the results page, you should have two matching shortcodes, but you have edited the results.php template. If you used the default results.php template, does it then have the right results (but look bad)?

    What theme are you using?

    Do you use Visual Composer in this site?

    #105554

    Trevor
    Participant

    We do not have language files. Are you using the Shortcode Display Results method? If so, you need to follow the customisation guide here.

    In the copy of the results.php file, edit that and change any strings you want in there. If you are having more than one language, each form will have its own ID number, and so you can have numbered template files for each. The guide also covers this.

    #104188

    Trevor
    Participant

    It is, sadly, the default WordPress behaviour. But, this might work … If you were using our shortcode method, you would have access to the results.php file.

    This would mean, before you starting looping through the results array $query you could use the PHP shuffle function. I think. I have never tried this. YMMV.

    #104160

    Trevor
    Participant

    Is this page live (on the Internet)?

    Do you know if it is using the results.php template or the results-infinite-scroll.php template?

    Did you place a copy of the template into your child theme folder (in a sub-folder called search-filter)?

    #103947

    Anonymous
    Inactive

    I have a filter with two taxonomy selects which displays results via ajax. When the user selects a taxonomy term from each select, I need to be able to figure out the name and slug of the taxonomies they selected so I can use it in my displayed results and pass these values into a hidden field in the form on the page.

    Let’s say they chose “life sciences” from the industries dropdown and “accounting” from the specialties dropdown. How can I access these choices in my results.php file?

    Thanks again for your help!

    #103859

    Trevor
    Participant

    In the results.php file. You would put the code already there into the second part, and then make your own for the first part.

Viewing 10 results - 731 through 740 (of 1,224 total)