HEX
Server: Apache
System: Linux p3plzcpnl504740.prod.phx3.secureserver.net 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User: l2pbkn5l6xav (4972877)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: //proc/self/cwd/wp-content/themes/suevafree/core/templates/content/post-thumbnail.php
<?php

/**
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * It is also available at this URL: http://www.gnu.org/licenses/gpl-3.0.txt
 */

if (!function_exists('suevafree_thumbnail_function')) {

	function suevafree_thumbnail_function( $params ) {

		global $post;
		
		if ( $params['type'] == "default" ) {
		
			if ( '' != get_the_post_thumbnail() ) { 
			
			?>
			
				<div class="pin-container">
					
					<?php 
						
						the_post_thumbnail($params['id']);
						
						if ( $params['icon'] == "on" ):
						
							echo suevafree_posticon();	
						
						endif;
					
					?>
                    
				</div>
			
			<?php } 
	
		} else if ( $params['type'] == "overlay" ) {
		
			$thumb = wp_get_attachment_image_src( get_post_thumbnail_id(), $params['id']);
			
			if (!empty($thumb)) :
			
		?>
			
			<div class="pin-container">

                <div class="overlay-thumbnail">
					
                    <img src="<?php echo esc_url($thumb[0]); ?>" class="attachment-blog wp-post-image" alt="post image" title="post image"> 
                    <a href="<?php echo get_permalink($post->ID); ?>" ></a>

				</div>
		
        	</div>
				
		<?php
		
		endif;
		
		}
	
	}

	add_action( 'suevafree_thumbnail', 'suevafree_thumbnail_function', 10, 3 );

}

?>