Support Forums

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Problems with filtering custom post types/taxonomies

Viewing 10 posts - 11 through 20 (of 25 total)
  • Ross Moderator
    #230468
    This reply has been marked as private.
    tlimmer
    #230524

    Thank you very much for your help, we finally got the plugin working! There is one issue remaining: The meta data of each search result is not displayed. We try to achieve something similar to this: http://opendata.ffe.de/?s=Solar
    This is our current draft: http://opendata.ffe.de/searchfilter-test/
    Using a short JS script, we were able to display the button, the symbol next to the title as well as the link to the category. However, we have had some trouble accessing the metadata via PHP. We followed the approach described here (https://searchandfilter.com/documentation/accessing-search-data/) and here (https://support.searchandfilter.com/forums/topic/accessing-field-slug-on-search-results/#post-169171), but the printed results array is empty. We already checked that our ID is correct. As described earlier, we are using Elementor Pro on our page.
    global $searchandfilter;
    $sf_current_query = $searchandfilter->get(362)->current_query()->get_array();
    echo ‘

    ',print_r($sf_current_query),'

    ‘;
    How should we approach this?

    Ross Moderator
    #230898
    This reply has been marked as private.
    tlimmer
    #230989
    This reply has been marked as private.
    Ross Moderator
    #230991
    This reply has been marked as private.
    tlimmer
    #230993
    This reply has been marked as private.
    Ross Moderator
    #231001
    This reply has been marked as private.
    tlimmer
    #232334

    Hi!

    By using the “posts” element, we finally got the plugin to do what we wanted it to do: http://opendata.ffe.de/data/

    Thank you very much for your help!

    Ross Moderator
    #232344

    Great stuff 🙂 I’ll be checking out compatibility with the Portfolio element over the next few months.

    Thakns

    tlimmer
    #233304
    This reply has been marked as private.
Viewing 10 posts - 11 through 20 (of 25 total)

You must be logged in to reply to this topic.