S&F and PODS: modifying results.php

Forums › Forums › Search & Filter Pro › S&F and PODS: modifying results.php

Tagged: ,

Viewing 4 posts – 1 through 4 (of 4 total)
  • Anonymous
    #240524

    Hello, I am trying to use S&F to search and filter custom post types created using PODS.

    I have set up a test page at http://bibliotecasenaccion.com.ar/test-catalogo/ and S&F is able to display and filter results from the PODS CTP.

    I would like to modify the results.php template in order to display additional information for the results listed by S&F. At the moment S&F is displaying the CTP’s name and permalink (which is great), and I would like to also display other information for each post: additional simple fields (text fields), and custom taxonomies.

    Could you please point to documentation, examples, forum posts, or any resource you consider relevant to help me get started?

    Thank you in advance for your help.

    Trevor
    #240595

    You would normally use the get_field() function to place a field term into a variable, and then test that it exists and output if it exists. There are many posts with examples, using this search:

    https://support.searchandfilter.com/forums/search/get_field%28/

    Anonymous
    #240652

    Thank you Trevor! This helps me move forward. We can close this ticket.

    Kind regards

    Trevor
    #240658

    Thanks for getting back to me. I will close this thread for now.

Viewing 4 posts – 1 through 4 (of 4 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.