This repository has been archived by the owner on Jun 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
72 lines (55 loc) · 1.78 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
62
63
64
65
66
67
68
69
70
71
72
<?php get_header(); ?>
<?php
// Jedná se o kategorii? Zobraz o ní info
if (is_category()) {
?>
<p id="notification-area">
Následující příspěvky spadají do kategorie <strong><?php single_cat_title(); ?></strong>.
<a href="/" title="Zpět na všechny zprávičky">Zrušit filtr</a>.
</p>
<?php } ?>
<?php
// Pokud je to titulka, zobraz boxík s informacemi o produktech
if (is_front_page() && !is_paged()) {
include "products-header.php";
?>
<div class="line-separator">
<img src="<?php bloginfo('template_directory'); ?>/images/twitter-bird-16.png" alt="" /> Krátce z Twitteru
</div>
<?php
// http://rick.jinlabs.com/code/twitter/
//twitter_messages("MozillaCZ", 3, true);
//RSSImport(3, 'http://twitter.com/statuses/user_timeline/68161528.rss');
?>
<?php if ( function_exists( "display_tweets" ) ) { display_tweets(); } ?>
<p id="twitter-bottom"><a href="http://twitter.com/MozillaCZ" title="Mozilla.cz na Twitteru">Další krátké příspěvky</a></p>
<?php
}
// Jedná se o seznam příspěvků? Zobraz je.
if (have_posts() && !is_page()) {
include "news.php";
}
// Jedná se o standardní stránku? Zobraz ji.
if (is_page()) {
while (have_posts()) : the_post();
?>
<div class="breadcrumb">
<?php
//** navigační lišta **
if (class_exists('breadcrumb_navigation_xt')) {
// Display a prefix
//echo 'Navigace: ';
// new breadcrumb object
$mybreadcrumb = new breadcrumb_navigation_xt;
// Display the breadcrumb
$mybreadcrumb->display();
}
?>
</div> <!-- [breadcrumb] -->
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
<?php edit_post_link('Upravit', '<p>[ <strong>', '</strong> ]</p>'); ?>
<?php endwhile; ?>
<?php } ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>