| Server IP : 104.26.5.103 / Your IP : 216.73.216.4 Web Server : nginx/1.27.1 System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : arabianexpress ( 1872) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /storage/v9321/buzzbitesv3/public_html/wp-content/themes/bite/ |
Upload File : |
<?php
/**
* The template to display the attachment
*
* @package BITE
* @since BITE 1.0
*/
get_header();
while ( have_posts() ) {
the_post();
// Display post's content
get_template_part( apply_filters( 'bite_filter_get_template_part', 'templates/content', 'single-' . bite_get_theme_option( 'single_style' ) ), 'single-' . bite_get_theme_option( 'single_style' ) );
// Parent post navigation.
$bite_posts_navigation = bite_get_theme_option( 'posts_navigation' );
if ( 'links' == $bite_posts_navigation ) {
?>
<div class="nav-links-single<?php
if ( ! bite_is_off( bite_get_theme_option( 'posts_navigation_fixed', 0 ) ) ) {
echo ' nav-links-fixed fixed';
}
?>">
<?php
the_post_navigation( apply_filters( 'bite_filter_post_navigation_args', array(
'prev_text' => '<span class="nav-arrow"></span>'
. '<span class="meta-nav" aria-hidden="true">' . esc_html__( 'Published in', 'bite' ) . '</span> '
. '<span class="screen-reader-text">' . esc_html__( 'Previous post:', 'bite' ) . '</span> '
. '<h5 class="post-title">%title</h5>'
. '<span class="post_date">%date</span>',
), 'image' ) );
?>
</div>
<?php
}
// Comments
do_action( 'bite_action_before_comments' );
comments_template();
do_action( 'bite_action_after_comments' );
}
get_footer();