Файловый менеджер - Редактировать - /home/barghamad/public_html/wp-content/themes/multinews/framework/includes/post-head.php
Назад
<?php $dateformat = mom_option('date_format'); $DPS = get_post_meta(get_the_ID(), 'mom_blog_ps', true); $hide_author = get_post_meta(get_the_ID(), 'mom_hide_author_name', true); ?> <div class="entry-post-meta"> <?php if(mom_option('post_head_author') != 0 ) { if ($hide_author == 0) { ?> <div class="author-link"><?php _e('Posted by ', 'framework'); ?> <?php $author_link = get_author_posts_url( get_the_author_meta( 'ID' ) ); if (class_exists('userpro_api')) { global $userpro; $author_link = $userpro->permalink(get_the_author_meta( 'ID' )); } ?> <a itemprop="author" itemscope itemtype="https://schema.org/Person" href="<?php echo $author_link; ?>" rel="author"><span itemprop="name"><?php echo get_the_author() ?></span></a> </div> <?php } } ?> <?php if(mom_option('post_head_date') != 0) { ?> <div><?php _e('Date: ', 'framework'); ?><time content="<?php the_time('c'); ?>" class="entry-date updated" datetime="<?php the_time('c'); ?>"><?php the_time($dateformat); ?></time></div> <?php } ?> <?php if(mom_option('post_head_cat') != 0) { ?> <div class="entry-cat"><?php _e('in: ', 'framework') ?><?php the_category(', ') ?></div> <?php } ?> <?php if(mom_option('post_head_commetns') != 0) { ?> <div class="comments-link"><a href="#comments"><?php comments_number(__( 'Leave a comment', 'framework' ), __( '(1) Comment', 'framework' ),__( '(%) Comments', 'framework' )); ?></a></div> <?php } ?> <?php if(mom_option('post_head_views') != 0) { ?> <div class="post-views"><?php echo getPostViews(get_the_ID()); ?></div> <?php } ?> <?php //edit_post_link( __( 'Edit', 'framework' ), '<div class="edit-link">', '</div>' ); ?> </div>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка