Forums Forums Search & Filter Pro Custom Search Result Display Issues

Viewing 1 post (of 1 total)
  • Ross Moderator
    #32242

    Hey Ian

    This is a little out of scope of support – this questions is really about customizing WordPress templates.

    You will need to change some of the html structure, and use CSS in order to update the look of the search results.

    However, it looks like that <p> is making the post thumbnail appear underneath the excerpt rather than on the same line. I would probably also swap the two around.

    Something like this:

    <?php
        if ( has_post_thumbnail() ) {
            the_post_thumbnail('thumbnail');
        }
        the_excerpt(); 
    ?>

    (untested)

    To build your templates you really should be looking at the WordPress template tags:

    https://codex.wordpress.org/Template_Tags

    It contains explanations of functions like the_post_thumbnail

    Thanks

Viewing 1 post (of 1 total)