Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Can you reinstall your theme?
What is on line #36 in your file?
this is my exact error:
Parse error: syntax error, unexpected $end in /home/ropetek/public_html/wp-content/themes/adventure-journal/page.php on line 36
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Noahjonah was querying the code that error is referring to.
Can you ask one of your WordPress developers or Consultants to resolve this for you?
Can you drop a copy of page.php into a pastebin for us to have a look at?
<?php
/**
* @package WordPress
* @subpackage Adventure_Journal
*/
global $multipage;
get_header();
?>
<div class="content" <?php ctx_aj_getlayout(); ?>>
<div id="col-main" style="<?php echo ctx_aj_customwidth('content'); ?>">
<div id="main-content" <?php //ctx_aj_crinkled_paper(); ?>>
<!-- BEGIN Main Content-->
<?php
//Start the Loop
if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<?php echo sprintf('<h1 class="storytitle">%s</h1>',get_the_title());?>
<?php
if(!function_exists('is_admin_bar_showing')){
edit_post_link(__('Edit Page', 'adventurejournal'));
} else if ( !is_admin_bar_showing() ){
edit_post_link(__('Edit Page', 'adventurejournal'));
}
?>
<div class="storycontent">
<?php the_content(__('(more...)')); ?>
</div>
<?php get_sidebar(); ?>
<div class="clear"></div>
</div>
<?php get_footer(); ?>
[Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin. As it stands, your posted code may now have been permanently damaged/corrupted by the forum’s parser.]
You seem to be missing the closing <?php endwhile; endif;?>
statements for your Loop.
Thanks! That is odd I never touched that page.
Resolved, thanks for the quick response 🙂