Server : Apache System : Linux server.lienzindia.com 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64 User : plutus ( 1007) PHP Version : 7.4.33 Disable Function : NONE Directory : /home/plutus/public_html/wp-content/themes/vrm/partials/overlays/ |
Upload File : |
<?php /** * Post Author Overlay. * * @package TotalTheme * @subpackage Partials * @version 5.4 */ defined( 'ABSPATH' ) || exit; // Only used for inside position. if ( 'inside_link' !== $position ) { return; } // Get post author. $author = $args['post_author'] ?? get_the_author(); ?> <div class="overlay-post-author theme-overlay wpex-absolute wpex-inset-0 wpex-transition-all wpex-duration-<?php echo wpex_overlay_speed( 'post-author' ); ?> wpex-flex wpex-items-end wpex-p-20 wpex-text-white" aria-hidden="true"> <span class="overlay-bg wpex-bg-center wpex-bg-no-repeat wpex-bg-<?php echo wpex_overlay_bg( 'post-author' ); ?> wpex-block wpex-absolute wpex-inset-0 wpex-opacity-<?php echo wpex_overlay_opacity( 'post-author', '20' ); ?>"></span> <div class="wpex-flex wpex-items-center wpex-relative"> <div class="wpex-mr-10"><?php echo get_avatar( get_the_author_meta( 'ID' ), 32, '', '', array( 'class' => 'wpex-round' ) ); ?></div> <div><?php echo esc_html( $author ); ?></div> </div> </div>