-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·61 lines (46 loc) · 2.29 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php
/*
Copyright (c) 2010-2011 MobilizeToday.com, Mobile Web Solutions Inc.
Support: http://www.mobilizetoday.com/wordpress-themes/mobius/
This file is part of the Mobius WordPress Theme.
*/
?>
<?php
get_header(); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class(); ?>>
<div class="transparency"></div>
<div class="postdata">
<div class="post-header">
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<span class="post-meta"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'mobius' ), the_title_attribute( 'echo=0' ) ); ?>">#</a> | <?php the_author(); ?> | <?php comments_popup_link(__('No Comments »','mobius'), __('1 Comment »','mobius'), __('% Comments »','mobius'), '', __('Comments Closed','mobius') ); ?></span>
<span class="date"><?php _e('Posted on','mobius');?> <?php the_time(get_option('date_format')); ?></span>
</div>
<?php the_content(__('Read the rest of this entry »','mobius')); ?>
<div class="clear"></div>
<div class="post-footer">
<?php _e('Written by','mobius');?> <?php the_author(); ?> <?php the_category(', '); ?> <?php the_tags(' | '. __('Tags:','mobius') . ' ', ', ', '<br />'); ?>
<?php wp_link_pages(array('before' => __('<div>Pages:' ,'mobius'), 'after' => '</div>', 'next_or_number' => 'number', 'pagelink' => 'page %')); ?>
</div>
</div>
</div>
<?php endwhile; ?>
<div id="pagination">
<ul>
<li class="default"><div class="fr"><?php previous_posts_link(__('Newer Entries »','mobius')); ?></div> <?php next_posts_link(__('« Older Entries','mobius')); ?></li>
</ul>
<div class="clear"></div>
</div>
<?php else : ?>
<div class="post">
<div class="transparency"></div>
<div class="postdata">
<div class="post-header">
<h2><?php _e('Not Found','mobius');?></h2>
<p><?php _e('Sorry, but you are looking for something that isn’t here.','mobius');?></p>
</div>
</div>
</div>
<?php endif; ?>
<?php get_footer(); ?>