Forums Forums Search & Filter Pro ACF or Results.php issue.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #126255

    Hi There,
    Blind to what is going on but it is something I have created and cannot resolve.

    I am using ACF for custom fields on personnel profile posts. I am using a shortcode return on the primary search page: Location Field Missing
    All other fields are returning perfectly with the exception of the Location Field. This is a ACF Post Object. Search and Filter Form is working beautifully, with that exception.

    Here: Location Field Appears on a straight archive page with one nested template the field does work. (Search Form at the top of this page will return you to my problem page)

    Search and Filter is working fine, However on the first example, ‘Location Field Missing’, there is something about my code that is not connecting to my ACF Post Object. This page construction would be ‘Template-Team.php’ >>calling >> template part – ‘content-team.php’ >> which through the post is using the S&F shortcode to return S&F ‘results.php’.

    I can substitute other Text Fields for the Location name and there is not an issue, just isn’t liking Post Objects.

    Is that layered embedding of template parts causing an issue to accessing my post object? I think I have to simplify something on my part by reconfiguring the ACF Post Object, cannot make it work though. Any insights are appreciated. This may be a question for ACF too, think I have bound myself with an issue that lies in between the two plugins.

    Trevor
    #126361

    Hi

    I visited both pages given and looked at the location field on both. If you do a search for Appellate, both pages have the location missing.

    With the shortcode method, I presume that you have a custom results.php template file in your (child) theme folder, in a sub-folder called search-filter?

    Are you able to show me the contents of that file (if pasted here, it needs to go inside two code tags – the back tick key (to the left of the main keyboard 1 key)?

    Anonymous
    #126396
    This reply has been marked as private.
    Anonymous
    #126400
    This reply has been marked as private.
    Trevor
    #126473
    This reply has been marked as private.
    Anonymous
    #131045
    This reply has been marked as private.
Viewing 6 posts - 1 through 6 (of 6 total)