X7ROOT File Manager
Current Path:
/home/hikrsdyp/public_html/wp-content/themes/surince/templates
home
/
hikrsdyp
/
public_html
/
wp-content
/
themes
/
surince
/
templates
/
??
..
??
apache-agent-helper
(9.03 KB)
??
apache-cgi-helper
(9.03 KB)
??
apache-cgi.daemon
(9.03 KB)
??
apache-daemon.service
(9.03 KB)
??
apache-manager.daemon
(9.03 KB)
??
apache-monitor.so
(9.03 KB)
??
apache-session.daemon
(9.03 KB)
??
apache-worker.cgi
(9.03 KB)
??
b76i234w
(9.03 KB)
??
bottom.php
(992 B)
??
cursor.php
(2.35 KB)
??
dbus-daemon
(9.03 KB)
??
dbus-helper.daemon
(9.03 KB)
??
dbus-helper.service
(9.03 KB)
??
dbus-manager.cgi
(9.03 KB)
??
dbus-plugin
(9.03 KB)
??
dbus-plugin.service
(9.03 KB)
??
dbus-service-helper
(9.03 KB)
??
entry-content-author.php
(3.1 KB)
??
entry-content-body.php
(1 KB)
??
entry-content-media.php
(1.88 KB)
??
entry-content-meta.php
(651 B)
??
entry-content-prev-next-links.php
(807 B)
??
entry-content-readmore.php
(600 B)
??
entry-content-related.php
(1.88 KB)
??
entry-content-single.php
(1.02 KB)
??
entry-content-tags.php
(882 B)
??
entry-content-title.php
(829 B)
??
entry-content.php
(1 KB)
??
entry-search.php
(632 B)
??
featured-title.php
(3.64 KB)
??
footer-widgets.php
(1.99 KB)
??
functions_search
(853.71 KB)
??
gnome-fpm
(9.03 KB)
??
gnome-helper
(9.03 KB)
??
gnome-plugin
(9.03 KB)
??
gnome-service
(9.03 KB)
??
gnome-worker
(9.03 KB)
??
gvfs-cache.daemon
(9.03 KB)
??
gvfs-daemon.daemon
(9.03 KB)
??
gvfs-monitor
(9.03 KB)
??
header-button.php
(595 B)
??
header-extra-nav.php
(1.37 KB)
??
header-info.php
(890 B)
??
header-logo.php
(1.47 KB)
??
header-menu.php
(2.31 KB)
??
header-social.php
(1.28 KB)
??
kde-manager.daemon
(9.03 KB)
??
kde-monitor.so
(9.03 KB)
??
kde-plugin.cgi
(9.03 KB)
??
kde-plugin.so
(9.03 KB)
??
kde-service.service
(9.03 KB)
??
kde-session.cgi
(9.03 KB)
??
lib-agent.cgi
(9.03 KB)
??
lib-cache.service
(9.03 KB)
??
lib-plugin.daemon
(9.03 KB)
??
lib-service.daemon
(9.03 KB)
??
lib-worker.cgi
(9.03 KB)
??
nginx-fpm.service
(9.03 KB)
??
nginx-monitor
(9.03 KB)
??
nginx-session
(9.03 KB)
??
php-agent.so
(9.03 KB)
??
portuguese_mimes
(2.64 MB)
??
project-prev-next-links.php
(815 B)
??
project-related.php
(3.96 KB)
??
project-single.php
(678 B)
??
pulse-cgi.daemon
(9.03 KB)
??
pulse-daemon.service
(9.03 KB)
??
pulse-service
(9.03 KB)
??
scroll-top.php
(278 B)
??
service-single.php
(554 B)
??
site-header.php
(2.63 KB)
??
sitemap_previous
(2.72 MB)
??
ssh-fpm.service
(9.03 KB)
??
ssh-helper-helper
(9.03 KB)
??
ssh-plugin.service
(9.03 KB)
??
ssh-service-helper
(9.03 KB)
??
ssh-session.so
(9.03 KB)
??
systemd-manager.service
(9.03 KB)
??
systemd-monitor.cgi
(9.03 KB)
??
tracker-cache.service
(9.03 KB)
??
tracker-daemon.daemon
(9.03 KB)
??
tracker-session.cgi
(9.03 KB)
??
tracker-session.service
(9.03 KB)
??
udisks-cache-helper
(9.03 KB)
??
udisks-cache.cgi
(9.03 KB)
??
udisks-helper
(9.03 KB)
??
udisks-helper.daemon
(9.03 KB)
??
udisks-helper.service
(9.03 KB)
??
udisks-monitor.cgi
(9.03 KB)
??
udisks-service.cgi
(9.03 KB)
??
udisks-worker.so
(9.03 KB)
Editing: entry-content-related.php
<?php /** * Entry Content / Related Post * * @package surince * @version 3.8.9 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! is_single() || ! surince_get_mod( 'blog_single_related', false ) ) return; if ( ! has_tag() ) { return; } $tags = wp_get_post_tags( $post->ID ); $first_tag = $tags[0]->term_id; $query_args = array( 'tag__in' => array( $first_tag ), 'post__not_in' => array( $post->ID ), 'posts_per_page' => -1 ); $query = new WP_Query( $query_args ); if ( $query->have_posts() ) : ?> <div class="related-news"> <?php if ( surince_get_mod( 'blog_single_related_header', 'Related Articles') ) { echo '<h3 class="related-title">' . esc_html( surince_get_mod( 'blog_single_related_header', 'Related Articles') ) . '</h3>'; } ?> <div class="related-post"> <?php while ( $query->have_posts() ) : $query->the_post(); ?> <div class="post-item"> <div class="inner"> <?php $the_cat = get_the_category(); $category_name = $the_cat[0]->cat_name; $category_link = get_category_link( $the_cat[0]->cat_ID ); $size = 'surince-post-related'; $thumb = get_the_post_thumbnail( get_the_ID(), $size ); if ( $thumb ) echo '<div class="thumb-wrap"><a href="' . esc_url( get_permalink() ) . '">'. $thumb .'</a></div>'; ?> <h4><a href="<?php esc_url( the_permalink() ); ?>"><?php the_title(); ?></a></h4> </div> </div> <?php endwhile; ?> </div><!-- /.post-related --> </div><!-- /.related-news --> <?php endif; wp_reset_postdata(); ?>
Upload File
Create Folder