Forums Forums Search & Filter Pro Display results of image search

Viewing 6 posts - 1 through 6 (of 6 total)
  • Trevor
    #95669

    You appear to be using the Shortcode Display Results method, yes?

    Before we move to resolve this request, can you confirm that you have already followed the customisation guidance here.

    Anonymous
    #95749

    Hey Trevor. So sorry that I didn’t mention this. Yes , I am using the shortcode thing. I have already followed your customisation guidance so far.
    Kind regards, Ernst Wilhelm

    Trevor
    #95753
    This reply has been marked as private.
    Anonymous
    #95760
    This reply has been marked as private.
    Trevor
    #95800

    Hi Ernst, hopefully that helped you move forward. To help others, you have a taxonomy called attachment_keyword and wanted to output the list of terms for each post in our results.php template (in this case with a comma and space after each. So this was the HP:

    <?php
    $all_att_kw = "";
    foreach (get_the_terms(get_the_ID(), 'attachment_keyword') as $att_kw) {
       $all_att_kw .= $att_kw->name . ", ";
    }
    echo  "<p>" . substr($all_att_kw, 0, -2) . "</p>";
    ?>

    Can I close this thread now?

    Anonymous
    #95806

    Hi Trevor.

    Many thanks for your successful help. Very quick and very comfortable.
    Yep. Please close this thread.

    Ernst Wilhelm

Viewing 6 posts - 1 through 6 (of 6 total)