Hallo,
ich habe mir in der functions.php des Template (Blank) ein widget eingebaut.
PHP
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => 'Footer Sites',
'before_widget' => '',
'after_widget' => '',
'before_title' => '<h2>',
'after_title' => '</h2>',
));
footer.php
PHP
<div id="footer">
<p><?php $count_posts = wp_count_posts( 'post' ); echo 'wir haben insgesamt ' . $count_posts->publish . ' Artikel.'; ?></p>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Footer Sites') ) : else : ?>
<?php endif; ?>
</div>
CSS
Code
#footer { background: #00ffff url('images/03.gif') no-repeat bottom center;
font-size: 1em;
line-height: 1.5em;
text-align: center;
width: 902px;
clear: both;
color: #707070;
margin: 0px 0px 10px 0px;
padding-left: 10px;
padding-right: 10px;
padding-top: 5px;
padding-bottom: 5px;
}
#footer a, #footer a:visited{
text-decoration: none;
color: #003d9c;
}
#footer a:hover {
text-decoration: none;
color: #c60000;
}
Alles anzeigen
das ganze sieht jetzt so aus
http://img88.imageshack.us/img88/9227/50018762.jpg
Da sollen nur seiten als Widget reinkommen.
Wie bekomme ich denn jetzt die Llinks von den Seiten neben einander und nicht untereinander ohne den komischen Punkt ???
Link zum Blog kann ich leider keinen geben das es noch auf mein Rechner zum Testen ist.