Our Passion Theme PHP page.php IF error Please help
-
Hello, I am getting an error every time i try to go to a page on my site. the error reads as follows:
Parse error: syntax error, unexpected T_IF in /home1/jadams/public_html/mediarescue.us/wp-content/themes/my-passion/page.php on line 38
(my page is https://www.mediarescue.us)
i removed “if” but still not working.Here is the code:
`
get_header(); ?><div id=”primary” class=”content-area col-md-8 col-sm-12<?php echo ot_get_option( ‘sidebar-positions’ ); ?>”>
<main id=”main” class=”site-main” role=”main”><?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( ‘content’, ‘page’ ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || ‘0’ != get_comments_number() ) :
comments_template();
endif;
?><?php endwhile; // end of the loop. ?>
</main><!– #main –>
</div><!– #primary –><?php get_sidebar(); ?>
<?php get_footer(); ?><? php if (is_page(‘coverpage’ )) { ?>
// title removed
<?php } else { ?>
<h1><?php the_title(); ?></h1>
<?php } ?>
- The topic ‘Our Passion Theme PHP page.php IF error Please help’ is closed to new replies.