Hallo.
Ich habe Simple Tags installiert und jetzt Probleme bei der Darstellung der Tag Cloud, welche ich in die Sidebar einbauen möchte.
Wenn ich den Code
direkt innerhalb des Sidebarcodes einfüge, wird nur eine Liste ausgegeben. Ein Tag unter dem nächsten (Type Format: Flat in den Optionen ausgewählt).
Wenn ich den Code aber einfach an den Sidebarcode "unten anhänge", dann wird eine Wolke ausgegeben, klebt jedoch links an meinen Artikeln.
Ist nicht so einfach zu erklären, deswegen einfach mal ein Link zu meiner Seite. Habe momentan beide Varianten eingebaut.
Rechts in der Sidebar. Einmal die Variante in der Sidebar. Sieht schonmal ganz gut aus. Nur leider keine Wolke, sondern eine Liste.
Dann unter der Sidebar, die Wolke, aber zu weit links und auch nicht sehr ansehnlich.
Hat vielleicht irgendjemand ne Idee, wie ich das ganze hinbekomme? Sprich, entweder (bevorzugt) die obere Tag Cloud als Wolke und nicht als Liste, oder die untere in ner annehmbaren Formatierung. Ich habe Wordpress 2.7 installiert.
Hier noch meine Sidebar. Evtl. hilfts ja. Wäre echt cool, wenn sich jemand das mal anschauen könnte. Vielleicht hat ja einer einen Tipp. Danke schonmal.
<div id="sidebar">
<form action="<?php bloginfo('url') ?>" method="get" id="search">
<p><label for="s"><?php _e('search','regulus'); ?></label>
<input value="" name="s" id="s" />
<input type="submit" value="<?php _e('go!','regulus'); ?>" class="button" id="searchbutton" name="searchbutton" /></p>
</form>
<ul>
<?php
bm_writeAbout();
// ---------------
// add child pages
// ---------------
if ( is_page() ) {
//global $bm_pageID;
$bm_parentID = BX_top_parent_page();
$bm_pages = wp_list_pages( 'sort_column=menu_order&depth=1&title_li=&echo=0&child_of=' . $bm_parentID );
if ( $bm_pages <> "" ) {
echo "<li>";
echo "<ul id=\"subpages\">\n";
echo "<li><h2>";
_e('Unterseiten','regulus');
echo "</h2></li>";
echo $bm_pages;
echo "</ul>";
echo "</li>";
}
}
// -----------------
// display admin bar
// -----------------
if( bm_getProperty( 'admin' ) == 1 ) {
// bm_admin_bar();
}
// -------
// WIDGETS
// -------
if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) { } else {
// ----------------
// display calendar
// ----------------
if( bm_getProperty( 'calendar' ) == 1 ) {
bm_calendar();
}
echo "<li>";
// --------------------
// display recent posts
// --------------------
if( bm_getProperty( 'posts' ) == 1 ) { ?>
<h2><?php _e('Recent Posts','regulus'); ?></h2>
<ul>
<?php wp_get_archives('type=postbypost&limit=10'); ?>
</ul>
<?php
}
// ---------------
// recent comments
// ---------------
if (function_exists('get_recent_comments')) { ?>
<h2><?php _e('Recent Comments:','regulus'); ?></h2>
<ul>
<?php get_recent_comments(); ?>
</ul>
<?php } ?>
<div class="col">
<h2><?php _e('Categories','regulus'); ?></h2>
<ul>
<?php //list_cats(0, '', 'name', 'asc', '', 1, 0, 0, 1, 1, 1, 0,'','','','','');
wp_list_cats( 'hierarchical=1' ); ?>
</ul>
<h2><?php _e('Archive','regulus'); ?></h2>
<ul>
<?php
if( bm_getProperty( 'months' ) == 1 ) {
wp_get_archives('type=monthly');
} else {
wp_get_archives('type=monthly&limit=15');
}
?>
</ul>
</div>
<div class="col">
<?php
if ( bm_getProperty( 'linkcat' ) == 1 ) {
echo "<ul id=\"blogroll\">";
//get_links_list(); ersetzt durch
wp_list_bookmarks('orderby=order&category_orderby=order');
echo "</ul>";
} else {
echo "<h2>";
_e('Blog Roll');
echo "</h2>";
echo "<ul id=\"blogroll\">";
get_links( -1, '<li>', '</li>', '<br />', FALSE, 'rand', FALSE, FALSE, -1, FALSE );
echo "</ul>";
}
?>
</div>
</li>
<?php if( bm_getProperty( 'meta' ) == 1 ) { ?>
<li>
<h2><?php _e('Anmeldung','regulus'); ?></h2>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<?php wp_meta(); ?>
</ul>
</li>
<?php
}
}
?>
</ul>
<?php st_tag_cloud(); ?>
<ul id="feeds">
<li><h3><?php _e('Feeds','regulus'); ?></h3></li>
<li><a href="<?php bloginfo('rss2_url'); ?>"><?php _e('Full','regulus'); ?></a></li>
<li><a href="<?php bloginfo('comments_rss2_url'); ?>"><?php _e('Comments','regulus'); ?></a></li>
</ul>
<div align="center">
<a href="http://www.my-flint.com/v2/" target="_blank">
<img src="http://halozination.de/bilder/banner/myflint08.gif"/>
</a>
</div>
</div>
<?php st_tag_cloud(); ?>
Alles anzeigen