MOON
Server: Apache
System: Linux server.netcommlabs.in 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
User: dermova (1051)
PHP: 5.4.45
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/dermova/public_html/me/wp-content/themes/DERMOVIVA WP THEME AR/category-solutions.php
<?php get_header(); ?>
 
 		<br class="breakline"/>

    </div><!-- header -->
     
    <div id="content">
    	<div class="mainholder01">
        <?PHP
		/* QUERY CUSTOM POST TYPE CATEGORY */
		$pageinfo = new WP_Query(array('post_type' => 'product', 'post_status' => 'publish'));
		?>
        <div class="contentholder txtclrblack bgwhite">
        
        <div class="breadcrumb"><a href="http://dermoviva.com/me">Home</a>&nbsp;&nbsp;>&nbsp;&nbsp;Skin Products&nbsp;&nbsp;>&nbsp;&nbsp;<?php the_title(); ?></div>
			<?php
                /* QUERY CUSTOM POST TYPE CATEGORY */
                //$pageinfo = new WP_Query(array('post_type' => 'product', 'post_status' => 'publish'));
                if( $pageinfo->have_posts() ) : while( $pageinfo->have_posts() ) : $pageinfo->the_post();
                    $postId = get_the_ID();
                    $thetitle = get_the_title();
                    $thecontent = get_the_content();
                    echo '<h2>'. $thetitle .'</h2><p>&nbsp; </p>';
                    echo '<p>'. do_shortcode($thecontent) .'</p>';
                endwhile; endif; 	
                wp_reset_postdata();					
            ?>
            
			<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
            	<h1><?php the_title(); ?></h1>
                <p>&nbsp;</p>
				<?php the_content(); ?>
            <?php endwhile; ?>
            <?php else: ?>
            	<p>Sorry</p>       
            <?php endif; ?>    
            <br class="breakline">        
        </div><!-- contentholder -->   
        </div><!-- maincontainer -->
    </div><!-- content -->  
    
    <div id="pgscroller">
        <span class="fa-stack fa-lg">
        <i class="fa fa-circle-thin fa-stack-2x fa-5x" aria-hidden="true"></i>
        <i class="fa fa-angle-down fa-stack-1x fa-2x" aria-hidden="true"></i>
        </span>
    </div>     

<?php get_footer(); ?>
<!-- CATEOGRY SOLUTIONS -->