![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/gg.corals.io/wp-content/themes/bugster/templates/ |
<?php /** * The default template to displaying related posts * * @package WordPress * @subpackage BUGSTER * @since BUGSTER 1.0.54 */ $bugster_link = get_permalink(); $bugster_post_format = get_post_format(); $bugster_post_format = empty( $bugster_post_format ) ? 'standard' : str_replace( 'post-format-', '', $bugster_post_format ); ?><div id="post-<?php the_ID(); ?>" <?php post_class( 'related_item post_format_' . esc_attr( $bugster_post_format ) ); ?>> <?php bugster_show_post_featured( array( 'thumb_size' => apply_filters( 'bugster_filter_related_thumb_size', bugster_get_thumb_size( (int) bugster_get_theme_option( 'related_posts' ) == 1 ? 'huge' : 'big' ) ), 'show_no_image' => bugster_get_no_image() != '', ) ); ?> <div class="post_header entry-header"> <h6 class="post_title entry-title"><a href="<?php echo esc_url( $bugster_link ); ?>"><?php if ( '' == get_the_title() ) { esc_html_e( '- No title -', 'bugster' ); } else { the_title(); } ?></a></h6> <?php if ( in_array( get_post_type(), array( 'post', 'attachment' ) ) ) { ?> <span class="post_date"><a href="<?php echo esc_url( $bugster_link ); ?>"><?php echo wp_kses_data( bugster_get_date() ); ?></a></span> <?php } ?> </div> </div>