Support Forums

The forums are closed and will be removed when we launch our new site.

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

Forums Forums Search & Filter Pro Display results of image search

Viewing 7 posts - 1 through 7 (of 7 total)
  • Ernst Wilhelm Grüter
    #95618

    So far I am able to display the results of an image search. Joking I would say , 30% is already there. Some Description. I want to display the images. Ideally being flexible regarding the size. I am using WordPress 4.7.3, Kinetika as a Theme.

    The search covers media and the taxonomy attachment_keyword.

    Search Form https://ernst-wilhelm-grueter.de/bildersuche
    Display results https://ernst-wilhelm-grueter.de/bildersuche-ergebnis

    Trevor Moderator
    #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.

    Ernst Wilhelm Grüter
    #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 Moderator
    #95753
    This reply has been marked as private.
    Ernst Wilhelm Grüter
    #95760
    This reply has been marked as private.
    Trevor Moderator
    #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?

    Ernst Wilhelm Grüter
    #95806

    Hi Trevor.

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

    Ernst Wilhelm

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

The topic ‘Display results of image search’ is closed to new replies.