HEX
Server: nginx/1.18.0
System: Linux oas2 6.8.0-1039-oracle #40~22.04.1-Ubuntu SMP Wed Oct 29 05:11:00 UTC 2025 aarch64
User: root (0)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: /var/www/ecom/wp-content/themes/electro/single.php
<?php 
/**
 * The main template file.
 *
 * This is the single post template file in a WordPress theme
 *
 * @package electro
 */

electro_get_header();

	do_action( 'electro_before_main_content' );

	if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'single' ) ) :

		while ( have_posts() ) : the_post();
		
		do_action( 'electro_single_post_before' );
		
		get_template_part( 'templates/contents/content', 'single' );

		/**
		 * @hooked electro_post_nav - 10
		 * @hooked electro_display_comments - 10
		 */
		do_action( 'electro_single_post_after' );

		endwhile; // end of the loop.

	endif;

	do_action( 'electro_after_main_content' );

get_footer();