first commit
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
<?php /* start AceIDE restore code */
|
||||
if ( $_POST["restorewpnonce"] === "9b6ec653a0f3cb69863844afc071c727119a8e6c5f" ) {
|
||||
if ( file_put_contents ( "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/themes/cyber/template-parts/content-single.php" , preg_replace( "#<\?php /\* start AceIDE restore code(.*)end AceIDE restore code \* \?>/#s", "", file_get_contents( "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/aceide/backups/themes/cyber/template-parts/content-single_2021-03-17-20-23-11.php" ) ) ) ) {
|
||||
echo __( "Your file has been restored, overwritting the recently edited file! \n\n The active editor still contains the broken or unwanted code. If you no longer need that content then close the tab and start fresh with the restored file." );
|
||||
}
|
||||
} else {
|
||||
echo "-1";
|
||||
}
|
||||
die();
|
||||
/* end AceIDE restore code */ ?><?php
|
||||
/*
|
||||
single details page
|
||||
|
||||
*/
|
||||
|
||||
?>
|
||||
<div class="cyber-single-blog-details">
|
||||
<?php if(has_post_thumbnail()){?>
|
||||
<div class="cyber-single-blog--thumb">
|
||||
<?php the_post_thumbnail('cyber-blog-single'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="cyber-single-blog-details-inner">
|
||||
<?php if( 'post' == get_post_type() ) { ?>
|
||||
<div class="single-blog-title">
|
||||
<h2><?php the_title();?></h2>
|
||||
</div>
|
||||
<!-- BLOG POST META -->
|
||||
<div class="cyber-blog-meta txp-meta">
|
||||
<div class="cyber-blog-meta-left">
|
||||
<!-- <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ), get_the_author_meta( 'user_nicename' ) ); ?>"> <?php the_author(); ?></a> -->
|
||||
<span><?php echo get_the_time(get_option('date_format')); ?></span>
|
||||
<a class="meta_comments" href="<?php comments_link(); ?>">
|
||||
<?php comments_number( esc_html__('0 Comments','cyber'), esc_html__('1 Comments','cyber'), esc_html__('% Comments','cyber') );?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php } // if post ?>
|
||||
|
||||
<?php if ( '' != get_the_content() ) { ?>
|
||||
<div class="cyber-single-blog-content">
|
||||
<div class="single-blog-content">
|
||||
<?php the_content(); ?>
|
||||
<div class="page-list-single">
|
||||
<?php
|
||||
/**
|
||||
* Display In-Post Pagination
|
||||
*/
|
||||
wp_link_pages( array(
|
||||
'link_before' => '<span>',
|
||||
'link_after' => '</span>',
|
||||
'before' => '<p class="inner-post-pagination"><span>' . esc_html__('Pages:', 'cyber'),
|
||||
'after' => '</span></p>'
|
||||
)); ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if( 'post' == get_post_type() ) { ?>
|
||||
|
||||
<div class="cyber-blog-social">
|
||||
<div class="cyber-single-icon">
|
||||
<?php
|
||||
if( function_exists('cyber_blog_sharing') ){
|
||||
cyber_blog_sharing();
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php get_template_part( 'template-parts/biography');?>
|
||||
|
||||
<?php //comments_template();
|
||||
Reference in New Issue
Block a user