Skip to content

Instantly share code, notes, and snippets.

Created February 7, 2012 15:11
Show Gist options
  • Save anonymous/1760144 to your computer and use it in GitHub Desktop.
Save anonymous/1760144 to your computer and use it in GitHub Desktop.
TJOCK NICE FIL!!
<?php get_header(); ?>
<?php if(is_front_page()): ?>
<div id="text" style="width: 600px;">
<?php else: ?>
<div id="text">
<?php endif; ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php if(!is_front_page()): ?>
<h1><?php the_title(); ?></h1>
<?php endif; ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>
</div>
<?php if (is_front_page()): ?>
<div id="me">
<p><a target="_blank" href="http://www.me.se/"> <img src="<?php echo bloginfo('template_url'); ?>/images/me_logo.gif"></a></p>
<p>Vi är medlemmar i Maskinentreprenörerna, en garanti för kunskap och kvalitet!</p>
</div>
<?php endif; ?>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment