Server IP : 15.235.198.142 / Your IP : 216.73.216.190 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/yme/wp-content/themes/oceanwp/partials/search/ |
Upload File : |
<?php /** * Displays the post entry thumbmnail * * @package OceanWP WordPress theme */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } // Return if there isn't a thumbnail defined. if ( ! has_post_thumbnail() ) { return; } // Image args. $img_args = array( 'alt' => get_the_title(), ); if ( oceanwp_get_schema_markup( 'image' ) ) { $img_args['itemprop'] = 'image'; } ?> <div class="thumbnail"> <a href="<?php the_permalink(); ?>" class="thumbnail-link"> <?php // Display post thumbnail. the_post_thumbnail( 'thumbnail', $img_args ); ?> </a> </div><!-- .thumbnail -->