HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1014-azure #14~24.04.1-Ubuntu SMP Fri Oct 3 20:52:11 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/doccure-wp-market/wp-content/themes/doccure/single-services.php
<?php
/**
 * The template for displaying all single service posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @package doccure
 */
get_header();
?>
<?php if (has_shortcode(get_the_content(), 'vc_row')) { ?>
    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
        <div class="container">
            <div class="entry-content clearfix">
                <?php the_content(); ?>
            </div>
        </div>
    </div>
<?php } else if (has_shortcode(get_the_content(), 'elementor')) { ?>

    <div class="section section-padding">
        <div class="<?php echo esc_attr(doccure_get_page_layout()) ?>">
            <div class="row">
                <div id="primary" class="content-area <?php echo esc_attr(doccure_grid_column_classes()); ?>">
                    <main id="main" class="site-main">
                        <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                            <div class="entry-content">
                                <?php
                                the_content();
                                wp_link_pages(
                                    array(
                                        'before' => '<div class="page-links">' . esc_html__('Pages:', 'doccure'),
                                        'after' => '</div>',
                                    )
                                );
                                ?>
                            </div><!-- .entry-content -->
                        </div>
                        <?php
                        // If comments are open or we have at least one comment, load up the comment template.
                        if (comments_open() || get_comments_number()) {
                            comments_template();
                        }
                        ?>
                    </main><!-- #main -->
                </div><!-- #primary -->
                <?php get_sidebar(); ?>
            </div>
        </div>
    </div>

   
    <?php } else { ?>
        <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
        <div class="container">
            <div class="entry-content clearfix">
                <?php the_content(); ?>
            </div>
        </div>
    </div>
<?php } ?>
<?php
get_footer();