Hi there! I was editing my code and, i don't know how, but i got this error. "Parse error: syntax error, unexpected $end in /home/content/97/5692197/html/wp-content/themes/filmhammer_freshly3/homepage.php on line 49" Her is the PHP... <?php /* Template Name: HomePage */ ?><?php get_header(); ?> <div class="art-contentLayout"> <div class="art-content"> <php aka_show_articles(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); $our_custom_field_variable = get_post_meta($post->ID, 'trailer', true);?> <div class="art-Post-inner art-article"> <div class="art-homePost"> <div class="art-Post-body"> <div class="art-PostContent"> <div class="art-pollBox"> <div class="art-pollBoxHeader">The Featured Poll</div> <?php get_poll(4); ?> </div> <div class="art-columnDivide"> </div> <div class="art-welcomeBox"> <div class="art-welcomeBoxHeader"> Welcome! </div> <div class="art-welcomeBoxTitleText"> ...film fans, lovers, creators and bored internet users to filmhammer.com! </div> <div class="art-welcomeBoxText"> Read reviews, watch trailers, post comments, vote in polls and rate the films you have seen depending on what you thought of it all within an easy to use, simple enviroment. </div> <div class="art-welcomeBoxTextEnjoy">...Enjoy!</div> </div> <div class="art-randomButton"></div> <?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry »', 'kubrick')); ?> <?php if (is_page() or is_single()) wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div> <div class="cleared"></div> <?php ob_start(); ?> <?php $icons = array(); ?> <?php if (!is_page()): ?><?php ob_start(); ?><?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?> <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && get_the_tags()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostTagIcon.png" width="18" height="18" alt="" /> <?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', ' '); ?> <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && !is_single()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostCommentsIcon.png" width="17" height="15" alt="" /> <?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment »', 'kubrick'), __('% Comments »', 'kubrick'), '', __('Comments Closed', 'kubrick' PHP: If you could help me solve this problem, that would be spectacular! Thanks for your time.
From what you have posted, this is not the full code, for example the last line has no closing php tag ?> and your missing a few )) brackets
My bad, i stupidly, without realising, deleted the entire end to my code. Never mind Its fixed now. Thankyou
Yeah, i don't know how it happened but i deleted it. Thats what gave me the error. I didn't realise, but it's fixed now, sorry for bothering you.