animacia
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Php code isn't workingthank you. i fixed it 🙂
Forum: Fixing WordPress
In reply to: Php code isn't workingi think i just realized im not supposed to be here but post my own issue.. sorry to barge in. first time in support here. I apologize.
Forum: Fixing WordPress
In reply to: Php code isn't workingbig problem here!!
so I messed with the code and I shouldn’t have and now it’s messes up. Please help.
it’s Page Template page.php
this is the error i get from those non-working pagesParse error: syntax error, unexpected T_ENDIF in /homepages/42/d444256732/htdocs/wp-content/themes/sight/page.php on line 14
and this is all the code from that page
Please help.
super grateful in advance!<?php get_header(); ?>
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?><div class=”entry”>
<div <?php post_class(‘single clear’); ?> id=”post_<?php the_ID(); ?>”>
<div class=”post-meta”>
<h1><?php the_title(); ?></h1>
by <span class=”post-author”>” title=”Posts by <?php the_author(); ?>”><?php the_author(); ?></span> on <span
class=”post-date”><?php the_time(__(‘M j, Y’)) ?></span> • <span><?php the_time() ?></span> <?php edit_post_link( __( ‘Edit entry’), ‘• ‘); ?>
<?php if ( comments_open() ) : ?>
<?php comments_number(__(‘No Comments’), __(‘1 Comment’), __(‘% Comments’), ”, __(‘Comments Closed’) ); ?>
<? php endif; ?>
</div>
<div class=”post-content”><?php the_content(); ?></div>
<div class=”post-footer”><?php the_tags(__(‘Tags: ‘), ‘, ‘); ?></div>
</div>
</div><?php endwhile; ?>
<?php endif; ?><?php get_footer(); ?>