| Server IP : 74.208.236.52 / Your IP : 216.73.216.240 Web Server : Apache System : Linux infong527 4.4.400-icpu-115 #2 SMP Mon Jul 6 08:15:05 UTC 2026 x86_64 User : u44043973 ( 5404757) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/18/d194259149/htdocs/osteoporosis/wp-content/themes/omega/partials/ |
Upload File : |
<?php
if ( is_home() || is_archive() || is_search() ) {
?>
<div <?php omega_attr( 'entry-summary' ); ?>>
<?php
if( get_theme_mod( 'post_thumbnail', 1 ) && has_post_thumbnail()) {
if ( ! class_exists( 'Get_The_Image' ) ) {
apply_filters ( 'omega_featured_image' , printf( '<a href="%s" title="%s">%s</a>', get_permalink(), the_title_attribute( 'echo=0' ), get_the_post_thumbnail(get_the_ID(), get_theme_mod( 'image_size' ), array('class' => get_theme_mod( 'image_size' )) ) ));
} else {
get_the_image( array( 'size' => get_theme_mod( 'image_size' ) ) );
}
}
if ( 'excerpts' === get_theme_mod( 'post_excerpt', 'excerpts' ) ) {
if ( get_theme_mod( 'excerpt_chars_limit', 0 ) ) {
the_content_limit( (int) get_theme_mod( 'excerpt_chars_limit' ), get_theme_mod( 'more_text', '[Read more...]' ) );
} else {
the_excerpt();
}
}
else {
the_content( get_theme_mod( 'more_text' ) );
}
?>
</div>
<?php
} else {
?>
<div <?php omega_attr( 'entry-content' ); ?>>
<?php
the_content();
wp_link_pages( array( 'before' => '<p class="page-links">' . '<span class="before">' . __( 'Pages:', 'omega' ) . '</span>', 'after' => '</p>' ) );
?>
</div>
<?php
}
?>