Ich habe Mühe mit der Einbindung. Das Plugin soll in der Sidebar weit unten, möglichst noch unter der "Suche" stehen. Dort steht:
Configuration
If your theme is widged-enabled, just choose “Presentation->Widgets” from the administration main menu
and drag the “Global translator” widget on the preferred position on your sidebar.
If your theme is not widgetized, just add the following php code (usually to the sidebar.php file):
Meine nicht widgetfähige sidebar.php sieht so aus:
PHP
<div id="sidebar">
<ul>
<?php /* If this is a 404 page */ if (is_404()) { ?>
<?php /* If this is a category archive */ } elseif (is_category()) { ?>
<li><p>You are currently browsing the archives for the <em><?php single_cat_title(''); ?></em> category.</p>
<p><?php next_post_link('« previous') ?> <?php previous_post_link('next »') ?></p></li>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<li><p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
for the day <?php the_time('l, F jS, Y'); ?>.</p></li>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<li><p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
for <?php the_time('F, Y'); ?>.</p></li>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<li><p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
for the year <?php the_time('Y'); ?>.</p></li>
<?php /* If this is the search page */ } elseif (is_search()) { ?>
<li><p>Sie durchsuchten die <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a>-Blogarchive
nach <strong>'<?php echo wp_specialchars($s); ?>'</strong>. Wenn Sie in den Suchergebnissen nichts finden, helfen evtl. diese Links:</p></li>
<?php /* If this is a single archive */ } elseif (is_single()) { ?>
<li>
<p>You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Both Comments and Pings are open ?>
You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.
<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Only Pings are Open ?>
Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.
<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Comments are open, Pings are not ?>
You can skip to the end and leave a response. Pinging is currently not allowed.
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
Both comments and pings are currently closed.
<?php } ?>
</p></li>
<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<li><p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives.</p></li>
<?php } ?>
<li id="pages"><h2>Seiten</h2>
<ul>
<?php wp_list_pages('sort_column=menu_order&title_li='); ?>
</ul>
</li>
<li id="archives"><h2>Archive</h2>
<ul>
<?php get_archives(); ?>
</ul></li>
<li id="categories"><h2>Kategorien</h2>
<ul>
<?php wp_list_cats(); ?>
</ul></li>
<?php /* If this is the home page */ if (is_home()) { ?>
<?php get_links_list(); ?>
<?php } ?>
<li><h2>Meta</h2>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
<li><a href="http://wordpress-deutschland.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
<?php wp_meta(); ?>
</ul></li>
<li>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
</li>
</ul>
</div>
Alles anzeigen
Also ich wäre froh, wenn mir da ein kluger Kopf helfen könnte. Danke!
gthr