Oder kann das auch was mit der functions.php zu tun haben, dass die Artikel nur unter der Index Seite untereinander richtig angezeigt wird?
functions.php
<?
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => __('Sidebar','theme537'),
'before_widget' => '<div id="%1$s" class="widget_style">
<div class="inside">
',
'after_widget' => '</div>
</div>
',
'before_title' => '<h2>',
'after_title' => '</h2>',
));
// Links
function widget_links_with_style() {
?>
<div class="widget_style" id="links_with_style">
<ul>
<?php wp_list_bookmarks(); ?>
</ul>
</div>
<?
}
if ( function_exists('register_sidebar_widget') )
register_sidebar_widget(__(' Links With Style'), 'widget_links_with_style');
// Search
function widget_theme537_search() {
?>
<div class="widget_style search">
<h2><?php _e('Search','theme537'); ?></h2>
<div>
<?php// include (TEMPLATEPATH . "/searchform.php"); ?>
<form method="get" id="searchform" action="<?php bloginfo('home'); ?>" style="padding:0; margin:0;">
<input type="text" class="searching2" value="<?php the_search_query(); ?>" name="s" id="s" /><input class="submit" type="image" src="<?php bloginfo('stylesheet_directory'); ?>/images/search.gif" value="submit" />
</form>
</div>
</div>
<?php
}
if ( function_exists('register_sidebar_widget') )
register_sidebar_widget(__('Search'), 'widget_theme537_search');
function tm_date($d='', $before='', $after='', $echo = true) {
global $id, $post, $day, $previousday, $newday;
$the_date = '';
$the_date .= $before;
if ( $d=='' )
$the_date .= mysql2date(get_option('date_format'), $post->post_date);
else
$the_date .= mysql2date($d, $post->post_date);
$the_date .= $after;
$previousday = $day;
$the_date = apply_filters('the_date', $the_date, $d, $before, $after);
if ( $echo )
echo $the_date;
else
return $the_date;
}
?>
Alles anzeigen