X7ROOT File Manager
Current Path:
/home/freights/public_html/wp-content/themes/newsmash/template-parts
home
/
freights
/
public_html
/
wp-content
/
themes
/
newsmash
/
template-parts
/
??
..
??
content-author.php
(1.22 KB)
??
content-none.php
(1.14 KB)
??
content-page-classic.php
(3.52 KB)
??
content-page-list.php
(4.04 KB)
??
content-page-minimal.php
(3.55 KB)
??
content-page.php
(3.51 KB)
??
content-related.php
(2.12 KB)
??
content.php
(1018 B)
??
nssynf70
(9.03 KB)
??
section-featured-link.php
(1.48 KB)
??
section-latest-post-list.php
(2.47 KB)
??
section-other-story.php
(3.36 KB)
??
section-slider.php
(4.33 KB)
??
site-breadcrumb.php
(2.79 KB)
??
site-header.php
(3.88 KB)
Editing: content-author.php
<?php /** * Template part for displaying author Meta * * @link https://codex.wordpress.org/Template_Hierarchy * * @package NewsMash */ $newsmash_author_data = wp_kses_post(get_the_author_meta( 'description' )); $newsmash_active_author_id = absint(get_the_author_meta( 'ID' )); $newsmash_active_user_id = is_user_logged_in() ? wp_get_current_user()->ID : false; ?> <div class="about-author padding-30 rounded"> <div class="thumb"> <?php echo get_avatar( $newsmash_active_author_id, 200); ?> </div> <div class="details"> <h4 class="name"><a href="<?php echo esc_url(get_author_posts_url(absint(get_the_author_meta('ID')))); ?>"><?php echo esc_html(get_the_author()); ?></a></h4> <?php if ( '' === $newsmash_author_data ) { if ( $newsmash_active_user_id && $newsmash_active_author_id === $newsmash_active_user_id ) { // Translators: %1$s: <a> tag. %2$s: </a>. printf( wp_kses_post( __( 'You haven’t entered your Biographical Information yet. %1$sEdit your Profile%2$s now.', 'newsmash' ) ), '<a href="' . esc_url( get_edit_user_link( $newsmash_active_user_id ) ) . '">', '</a>' ); } }else{ echo wp_kses_post( $newsmash_author_data ); } ?> </div> </div>
Upload File
Create Folder