![]() 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 to display the Structured Data Snippets * * @package WordPress * @subpackage BUGSTER * @since BUGSTER 1.0.30 */ // Structured data snippets if ( bugster_is_on( bugster_get_theme_option( 'seo_snippets' ) ) ) { ?> <div class="structured_data_snippets"> <meta itemprop="headline" content="<?php the_title_attribute(); ?>"> <meta itemprop="datePublished" content="<?php echo esc_attr( get_the_date( 'Y-m-d' ) ); ?>"> <meta itemprop="dateModified" content="<?php echo esc_attr( get_the_modified_date( 'Y-m-d' ) ); ?>"> <div itemscope itemprop="publisher" itemtype="//schema.org/Organization"> <meta itemprop="name" content="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>"> <meta itemprop="telephone" content=""> <meta itemprop="address" content=""> <?php $bugster_logo_image = bugster_get_logo_image(); if ( ! empty( $bugster_logo_image['logo'] ) ) { ?> <meta itemprop="logo" itemtype="//schema.org/ImageObject" content="<?php echo esc_url( $bugster_logo_image['logo'] ); ?>"> <?php } ?> </div> <?php if ( bugster_get_theme_option( 'show_author_info' ) != 1 || ! is_single() || is_attachment() || ! get_the_author_meta( 'description' ) ) { ?> <div itemscope itemprop="author" itemtype="//schema.org/Person"> <meta itemprop="name" content="<?php echo esc_attr( get_the_author() ); ?>"> </div> <?php } if ( ( is_singular() || is_attachment() ) && has_post_thumbnail() ) { ?> <meta itemprop="image" itemtype="//schema.org/ImageObject" content="<?php echo esc_url( wp_get_attachment_url( get_post_thumbnail_id() ) ); ?>"> <?php } ?> </div> <?php }