Skip to content

Commit 8c377f1

Browse files
author
Dennis Erdmann
committedMar 16, 2013
Initial commit
0 parents  commit 8c377f1

File tree

220 files changed

+31456
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

220 files changed

+31456
-0
lines changed
 

‎404.php

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
/**
3+
* @package WordPress
4+
* @subpackage DE-Minimal
5+
*/
6+
get_header();
7+
?>
8+
<div class="background">
9+
<div class="entry">
10+
<h1>Fehler 404 …</h1>
11+
<p>Sieht so aus, als würde was nicht stimmen.</p>
12+
<p>Entweder gibt es die Seite nicht mehr, oder du hast dich vertippt.
13+
Gehe jetzt zur&uuml;ck zur <a href="http://denniserdmann.de">Startseite</a> oder benutze die
14+
<a href="http://denniserdmann.de/artikel" title="Suche">Suche</a>.
15+
</p>
16+
</div>
17+
</div>
18+
<?php get_footer(); ?>

‎allarticles.php

+82
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<?php
2+
/**
3+
* @package WordPress
4+
* @subpackage DE-Minimal
5+
Template Name: All-Articles
6+
*/
7+
get_header();?>
8+
<div class="background">
9+
<?php query_posts('showposts=-1&cat=-46'); ?>
10+
11+
<?php if (have_posts()) : ?>
12+
13+
<div class="entry">
14+
<h1>Alle Artikel</h1>
15+
<?php get_search_form(); // hier die Suche formatieren ?>
16+
17+
<?php if ( function_exists('wp_tag_cloud') ) : ?>
18+
<div class="tagcloud">
19+
<h4>Meine Tags</h4>
20+
<?php wp_tag_cloud('smallest=8&largest=22'); ?>
21+
</div>
22+
<?php endif; ?>
23+
</div>
24+
25+
<div class="artikellist">
26+
27+
<?php $count = 1 ?><?php while(have_posts()) : the_post(); ?>
28+
29+
<div id="post-<?php the_ID(); ?>" class="post">
30+
<div class="entry">
31+
<h4>
32+
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
33+
<div class="info" style="width: 20%; float: left;">
34+
<?php the_time('d.m.Y'); ?>
35+
<br />
36+
<?php if (in_category( 'bilder')): ?>
37+
<div class="photo">
38+
<?php elseif (is_linked_list()): ?>
39+
<div class="link">
40+
<?php else: ?>
41+
<div class="blogpost">
42+
<?php endif; ?>
43+
<span class="icon1"><i class="icon-file-alt"></i></span>
44+
<span class="icon2"><i class="icon-camera"></i></span>
45+
<span class="icon3"><i class="icon-star"></i></span>
46+
</div>
47+
48+
</div>
49+
50+
<div class="title"><?php the_title(); ?></div>
51+
</a>
52+
</h4>
53+
</div>
54+
</div>
55+
56+
<?php $count = $count + 1; ?>
57+
58+
59+
<?php endwhile; ?>
60+
61+
62+
63+
<?php else :
64+
65+
if ( is_category() ) { // If this is a category archive
66+
printf("<h2 class='center'>Sorry, but there aren't any posts in the %s category yet.</h2>", single_cat_title('',false));
67+
} else if ( is_date() ) { // If this is a date archive
68+
echo("<h2>Sorry, but there aren't any posts with this date.</h2>");
69+
} else if ( is_author() ) { // If this is a category archive
70+
$userdata = get_userdatabylogin(get_query_var('author_name'));
71+
printf("<h2 class='center'>Sorry, but there aren't any posts by %s yet.</h2>", $userdata->display_name);
72+
} else {
73+
echo("<h2 class='center'>No posts found.</h2>");
74+
}
75+
get_search_form();
76+
77+
endif; ?>
78+
79+
80+
</div>
81+
</div>
82+
<?php get_footer(); ?>

0 commit comments

Comments
 (0)
Please sign in to comment.