![]() 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 template 'Style 3' to displaying related posts * * @package WordPress * @subpackage BUGSTER * @since BUGSTER 1.0 */ $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 ) ); ?>> <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' ) ) ) { ?> <div class="post_meta"> <a href="<?php echo esc_url( $bugster_link ); ?>" class="post_meta_item post_date"><span class="icon-clock"></span><?php echo wp_kses_data( bugster_get_date() ); ?></a> </div> <?php } ?> </div> </div>