diff --git a/class-full-screen-morphing-search.php b/class-full-screen-morphing-search.php index 3e5915c..7961ad1 100644 --- a/class-full-screen-morphing-search.php +++ b/class-full-screen-morphing-search.php @@ -137,15 +137,15 @@ class Full_Screen_Morphing_Search { - + - + 'round' ) ); + the_post_thumbnail( 'full-screen-morphing-search-plugin-thumb', array( 'class' => 'round' ) ); } else { if ( empty( $fsmsp_options['fsmsp_article_icon'] ) ) { echo ''; @@ -257,14 +257,14 @@ class Full_Screen_Morphing_Search { $posts = get_posts( $fsmsp_ac ); - if ( $posts ) : - foreach ( $posts as $k => $post ) { - $source[ $k ]['ID'] = $post->ID; - $source[ $k ]['label'] = $post->post_title; // The name of the post. - $source[ $k ]['permalink'] = get_permalink( $post->ID ); - } + if ( $posts ) : + foreach ( $posts as $k => $post ) { + $source[ $k ]['ID'] = $post->ID; + $source[ $k ]['label'] = $post->post_title; // The name of the post. + $source[ $k ]['permalink'] = get_permalink( $post->ID ); + } - ?> + ?> -