Hey.
Ich wollte jetzt mal einen anderen Style nutzen. Ich hab mich für den Style Eos 1.3.11 von [COLOR=#21759b]SRS Solutions[/COLOR] entschieden. Ich hab auf der Startseite immer eine Statische Seite und den neusten Blogeintrag. Dafür nutze ich z.b. die original page.php datei und ändere die ab und nenne sie dann Front Page. Dieses Template ordne ich einer Statischen Seite zu. Da klappt auch in der Regel sehr gut. Allerding bei dem oben genannen Style klappt das nicht so wirklich. Im Firefox und Opera wird die Startseite korrekt angezeigt, im IE und Chrome leider überhaupt nicht. Im IE ist das Menu statt vertikal-> Horrizontal und im Chrome sind die Headergrafiken doppelt vorhanden. Wenn ich z.b. auf einen Blogeintrag klicke, ist alles wieder korrekt. Das heißt, es liegt nur an meiner frontpage.php.
Nur was stimmt da nicht? Kann mir evlt. jemand helfen?
<?php
/*
Template Name: Front Page
*/
?>
<?php $aOptions = get_option('eos_options'); ?>
<?php get_header(); ?>
<div id="contentWrapper">
<div id="contentArea">
<!-- Static Front Page -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="postContent">
<!--<h2 class="posttitle"><?php the_title(); ?></h2>-->
<?php the_content(); ?>
<?php endwhile; ?>
<?php endif; ?>
</div>
<!-- Newest Blog Entry -->
<?php query_posts('showposts=1'); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="postHeader">
<h2 class="postTitle"><span></span><a href="<?php the_permalink() ?>" title="<?php _e('Permalink to', 'Eos'); ?> <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<span class="postMonth" title="<?php the_time('Y') ?>"><?php the_time('M') ?></span>
<span class="postDay" title="<?php the_time('Y') ?>"><?php the_time('j') ?></span>
<div class="postSubTitle"><span class="postCategories"><?php the_category(', '); ?></span></div>
</div>
<div class="postContent"><?php the_content(); ?></div>
<div class="postLinkPages"><?php wp_link_pages('before=<strong>'.__('Pages:', 'Eos').'</strong>&pagelink=<span>'.__('Page %', 'Eos').'</span>'); ?></div>
<div class="postFooter">
<?php if ( function_exists('the_tags') ) : ?><span class="postTags"><?php if (get_the_tags()): the_tags('', ', ', ''); else: ?><span><?php _e('none', 'Eos'); ?></span><?php endif; ?></span><?php endif; ?>
<?php edit_post_link(__('Edit', 'Eos'),'',''); ?>
</div>
</div>
<div id="postExtra">
<span class="rss"><?php comments_rss_link(__('<abbr title="Really Simple Syndication">RSS</abbr> feed for this post (comments)', 'Eos')); ?></span>
</div>
<?php endwhile; ?>
<?php else : ?>
<p><?php _e('Sorry, but you are looking for something that isn\'t here. You can search again by using the form on upper right of the page...', 'Eos'); ?></p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
Alles anzeigen
Gruß Hexo