-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-elementy.php
43 lines (34 loc) · 1.1 KB
/
page-elementy.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
<?php
/*Template name: Elementy elektroniczne*/
?>
<?php get_header(); ?>
<div id="content">
<div id="articles">
<span id="kategoria">Kategoria: </span><h4><?php the_category() ?></h4>
<div class="clr"></div>
<?php $nameofkat = $post->post_name; query_posts('category_name=elementy_elektroniczne&post_status=publish,future&showposts=50'); while (have_posts()) : the_post();?>
<div class="ok">
<article>
<header>
<div class="image">
<a href="<?php the_permalink(); // bezpośredni link do postu ?>">
<?php the_post_thumbnail('thumbnail'); // ikona postu?>
</br>
<div class="imaget">
<h3>
<?php the_meta (); // tytuł postu ?>
</h3>
</div>
</a>
</div>
</header>
</article>
</div>
<?php endwhile; ?>
<div class="clr"></div>
</div>
<div class="clr"></div>
<?php get_sidebar('left'); ?>
</div>
<?php get_sidebar('right'); ?>
<?php get_footer(); ?>