Hello @sansarlochan,
I apologized for @christian’s reply if it sounded rude to you.
Well anyway, regarding your question with your global block right above the comment section, this would require a little modification. Once you have your child theme active and ready, please follow the following steps below:
1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
2] Insert the following code into that new file
<?php
// =============================================================================
// VIEWS/RENEW/WP-SINGLE.PHP
// -----------------------------------------------------------------------------
// Single post output for Renew.
// =============================================================================
$fullwidth = get_post_meta( get_the_ID(), '_x_post_layout', true );
get_header();
?>
<div class="x-container max width offset">
<div class="<?php x_main_content_class(); ?>" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php x_get_view( 'renew', 'content', get_post_format() ); ?>
<?php // ----------------------------------------------------------------------------- ?>
<?php // Add your global block shortcode
<?php echo do_shortcode('[cs_gb id=123]'); ?>
<?php // ----------------------------------------------------------------------------- ?>
<?php x_get_view( 'global', '_comments-template' ); ?>
<?php endwhile; ?>
</div>
<?php if ( $fullwidth != 'on' ) : ?>
<?php get_sidebar(); ?>
<?php endif; ?>
</div>
<?php get_footer(); ?>
Please do not forget to change [cs_gb id=123]
with the actual global block shortcode that you will be using.
3] Save the file named as wp-single.php
4] Upload this file to your server in the child theme’s folder wp-content/themes/x-child/framework/views/renew/
You will have to create the folder path since it does not exist in your child theme’s folder yet.
Please let us know how it goes.