Hallo Leute!
habe vor kurzen eine Homepage erstellt und jetzt folgendes Problem:
wenn ich einen Artikel versuche zu öffnen kommt immer folgende Fehlermeldung:
Parse error: syntax error, unexpected T_ENDWHILE in /var/www/china-exkursion.de/2012/wp-content/themes/black-skyline/single.php on line 77
...ich beführchte, dass ich den Quellcode aus versehen geändert habe..
leider finde ich den Fehler nicht.. :cry:
Das Theme: Black skyline 1.1.3
WP Version: 3.2.1
Wäre toll, wenn sich einer von euch damit auskennt und mir helfen könnte
Danke schon mal im Vorraus!:p
(hoffe auch, dass hier das richtige Forum ist, um dannach zu fragen (falls nicht tut es mir leid!)
Der Quellcode:
PHP
<?php
get_header(); ?>
<div class="center_wrapper">
<div id="main-content">
<div class="left_front_column">
<!--Post title-->
<h2 class="title"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<!--Date, Time and Author-->
<p class="meta"><span class="clock"></span><span class="date"><?php the_time(get_option('date_format')) ?></span><span class="posted"> <?php _e( 'Posted by ', 'Blackskyline' ); ?> <?php the_author() ?> <?php edit_post_link(__('Edit', 'Blackskyline' )); ?></span></p>
<!--Post content-->
<div class="entry">
<?php if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
the_post_thumbnail();}?>
<?php the_content(); ?><div class="clearer">
</div>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'Blackskyline' ), 'after' => '</div>' ) ); ?>
<!--Post Footer-->
<div class="clearer">
</div>
<?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their description, show a bio on their entries ?>
<div id="entry-author-info">
<h2 title="<?php printf( __( 'About %s', 'Blackskyline' ), get_the_author() ); ?>"><?php printf( esc_attr__( 'About %s', 'Blackskyline' ), get_the_author() ); ?></h2>
<div id="author-avatar">
<?php echo get_avatar( get_the_author_meta( 'user_email' ), 60 ); ?>
</div><!-- #author-avatar -->
<div id="author-description">
<?php the_author_meta( 'description' ); ?>
<div id="author-link">
<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php printf( __( 'View all posts by %s', 'Blackskyline' ), get_the_author() ); ?>">
<?php printf( __( 'View all posts by %s', 'Blackskyline' ), get_the_author() ); ?>
</a>
</div><!-- #author-link -->
</div><!-- #author-description -->
</div><!-- #entry-author-info -->
<?php endif; ?>
<!--Post Footer-->
<div class="longmeta">
<div class="postfooter"><?php $tag = get_the_tags(); if (! has_tag()){ echo __( 'Tags: No tags', 'Blackskyline' ); } else { the_tags(__('Tags: ', ', ', 'Blackskyline')); } ?>
<br/><?php _e( 'Categories: ', 'Blackskyline' ); ?><?php the_category(', '); ?><br/>
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Both Comments and Pings are open ?>
<?php _e( 'You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.', 'Blackskyline') ?>
<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Only Pings are Open ?>
<?php _e( 'Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.', 'Blackskyline') ?>
<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Comments are open, Pings are not ?>
<?php _e( 'You can skip to the end and leave a response. Pinging is currently not allowed.', 'Blackskyline') ?>
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
<?php _e( 'Both comments and pings are currently closed.', 'Blackskyline') ?>
<?php } ?>
</div>
<!--Post comments-->
<?php comments_template(); ?>
</div>
</div>
</div>
<?php endwhile; else: ?>
<p><?php _( 'Sorry, no posts matched your criteria.', 'Blackskyline')?></p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen