Zeile 46:
if ($options['twitter_uid']) echo '<li class="twitter-icon"><a href="' . $options['twitter_uid'] . '">'
Um schreiben oder kommentieren zu können, benötigen Sie ein Benutzerkonto.
Sie haben schon ein Benutzerkonto? Melden Sie sich hier an.
Jetzt anmeldenHier können Sie ein neues Benutzerkonto erstellen.
Neues Benutzerkonto erstellenZeile 46:
if ($options['twitter_uid']) echo '<li class="twitter-icon"><a href="' . $options['twitter_uid'] . '">'
Hi,
bereits jetzt ☀Vielen DANK☀ für deinen Support!
ich habe im footer.php ohne eine Kopie zu machen ein Impressum-link einfügen wollen.
Hier der Link:
<a href="http://frei-leben-24.de/impressum/">Impressum</a>
Ich habe mir eine Stelle im footer.php gesucht wo es passen könnte.
Eingefügt.
Im Frontend sieht es dann so aus:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /mnt/webi/e0/55/53302255/htdocs/WordPress_01/wp-content/themes/responsive/footer.php on line 46
[SIZE="4"]Der footer.php Code:
[/SIZE]
[SIZE="5"]Findet jemand einen Fehler in Zeile 46 ???[/SIZE]
<?php
/**
* Footer Template
*
*
* @file footer.php
* @package Responsive
* @author Emil Uzelac
* copyright 2003 - 2012 ThemeID
* @license license.txt
* @version Release: 1.0
* @filesource wp-content/themes/responsive/footer.php
* Link http://codex.wordpress.org/Theme_Developm…28footer.php.29
* @since available since Release 1.0
*/
?>
</div><!-- end of #wrapper -->
<?php responsive_wrapper_end(); // after wrapper hook ?>
</div><!-- end of #container -->
<?php responsive_container_end(); // after container hook ?>
<div id="footer" class="clearfix">
<div id="footer-wrapper">
<div class="grid col-940">
<div class="grid col-620">
<?php if (has_nav_menu('footer-menu', 'responsive')) { ?>
<?php wp_nav_menu(array(
'container' => '',
'menu_class' => 'footer-menu',
'theme_location' => 'footer-menu')
);
?>
<?php } ?>
</div><!-- end of col-620 —>
<div class="grid col-300 fit">
<?php $options = get_option('responsive_theme_options');
// First let's check if any of this was set
echo '<ul class="social-icons">’;
if ($options['twitter_uid']) echo '<li class="twitter-icon"><a href="' . $options['twitter_uid'] . '">'
.'<img src="' . get_stylesheet_directory_uri() . '/icons/twitter-icon.png" alt="Twitter">'
.'</a></li>';
if ($options['facebook_uid']) echo '<li class="facebook-icon"><a href="' . $options['facebook_uid'] . '">'
.'<img src="' . get_stylesheet_directory_uri() . '/icons/facebook-icon.png" alt="Facebook">'
.'</a></li>';
if ($options['linkedin_uid']) echo '<li class="linkedin-icon"><a href="' . $options['linkedin_uid'] . '">'
.'<img src="' . get_stylesheet_directory_uri() . '/icons/linkedin-icon.png" alt="LinkedIn">'
.'</a></li>';
if ($options['youtube_uid']) echo '<li class="youtube-icon"><a href="' . $options['youtube_uid'] . '">'
.'<img src="' . get_stylesheet_directory_uri() . '/icons/youtube-icon.png" alt="YouTube">'
.'</a></li>';
if ($options['stumble_uid']) echo '<li class="stumble-upon-icon"><a href="' . $options['stumble_uid'] . '">'
.'<img src="' . get_stylesheet_directory_uri() . '/icons/stumble-upon-icon.png" alt="YouTube">'
.'</a></li>';
if ($options['rss_uid']) echo '<li class="rss-feed-icon"><a href="' . $options['rss_uid'] . '">'
.'<img src="' . get_stylesheet_directory_uri() . '/icons/rss-feed-icon.png" alt="RSS Feed">'
.'</a></li>';
if ($options['google_plus_uid']) echo '<li class="google-plus-icon"><a href="' . $options['google_plus_uid'] . '">'
.'<img src="' . get_stylesheet_directory_uri() . '/icons/googleplus-icon.png" alt="Google Plus">'
.'</a></li>';
echo '</ul><!-- end of .social-icons -->';
?>
</div><!-- end of col-300 fit -->
<div class="grid col-300 copyright">
<?php esc_attr_e('©', 'responsive'); ?> <?php _e(date('Y')); ?><a href="<?php echo home_url('/') ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>">
<?php bloginfo('name'); ?>
</a>
</div><!-- end of .copyright -->
<div class="grid col-300 scroll-top"><a href="#scroll-top" title="<?php esc_attr_e( 'scroll to top', 'responsive' ); ?>"><?php _e( '↑', 'responsive' ); ?></a></div>
<div class="grid col-300 fit powered">
<a href="<?php echo esc_url(__('http://themeid.com/responsive-theme%27,%27responsive')); ?>" title="<?php esc_attr_e('Responsive Theme', 'responsive'); ?>">
<?php printf('Responsive Theme'); ?></a>
powered by <a href="<?php echo esc_url(__('http://wordpress.org','responsive')); ?>" title="<?php esc_attr_e('WordPress', 'responsive'); ?>">
<?php printf('WordPress'); ?></a>
</div><!-- end .powered -->
</div><!-- end of col-940 -->
</div><!-- end #footer-wrapper -->
</div><!-- end #footer -->
<?php wp_footer(); ?>
</body>
</html>