Juan Carlos 5 роки тому
батько
коміт
507485e332
1 змінених файлів з 1 додано та 4 видалено
  1. 1 4
      index.php

+ 1 - 4
index.php

@@ -259,11 +259,8 @@
                   <div class="col-lg-3 col-md-6 col-xs-12">
                   <figure>
 
-                  <?php if get_the_post_thumbnail_url( $posts->post->ID ): ?>
+
                   <img src="<?php echo get_the_post_thumbnail_url( $posts->post->ID, array( "width" => 255, "height" => 255 ) ); ?>" alt="<?php the_title();  ?>">
-                  <?php else:  ?>
-                  <img src="<?php echo get_template_directory_uri(); ?>/img/team/team-05.jpg" alt="">
-                  <?php endif  ?>
                     <div class="image-overlay">
                       <div class="overlay-text text-center">
                         <div class="info-text">