Cześć.
Mam pewien problem z PHP, natomiast po aktualizacji kodu w wordpressie występuje błąd Parse error: syntax error, unexpected $end. Wiem już co ten błąd oznacza, jednak nie mogę tego znaleźć w kodzie. Brakuje po prostu zakończenia funkcji, a ja tego nie widzę. Uzupełni mi to ktoś? :)
[code]
<?php /** * The Sidebar containing the main widget area. * * @package WordPress * @subpackage Twenty_Eleven * @since Twenty Eleven 1.0 */ $options = twentyeleven_get_theme_options(); $current_layout = $options['theme_layout']; if ( 'content' != $current_layout ) : ?> <div id="secondary" class="widget-area" role="complementary">
<?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
<aside id="meta" class="widget">
<h3 class="widget-title"><?php _e( 'Menu', 'twentyeleven' ); ?></h3>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<?php wp_meta(); ?>
</ul>
</aside>
<h3 class="widget-title"><?php _e( 'Projekty', 'twentyeleven' ); ?></h3>
<img src="wp-content/themes/twentyeleven/images/aqua_fresh.png" alt="Akademia Aqua Fresh" />
<br />
<?php _e( 'Inne', 'twentyeleven' ); ?>
<center>Chcesz zadać nam pytanie? Wejdź tutaj!</span>Informacje dla rodziców - Grupa I</span> </div> <?php endif; ?>[/code]