-
-
Save pinscript/1760152 to your computer and use it in GitHub Desktop.
TJOCK NICE FIL!!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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(); ?> |
Author
pinscript
commented
Feb 7, 2012
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment