Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * Template Name: page-michal
- *
- * @package Origin
- * @subpackage Template
- */
- get_header(); // Loads the header.php template. ?>
- <?php do_atomic( 'before_content' ); // origin_before_content ?>
- <div id="content">
- <?php do_atomic( 'open_content' ); // origin_open_content ?>
- <div class="hfeed">
- <?php global $more;
- $more = 1; ?>
- <?php do_atomic( 'before_entry' ); // origin_before_entry ?>
- <?php do_atomic( 'open_entry' ); // origin_open_entry ?>
- <!--- zawartosc -->
- <div class="entry-content">
- <?php
- $args = array(
- 'cat'=>8,
- 'post__in'=>get_option('sticky_posts'),
- );
- query_posts($args) ?>
- <!-- while funkcja -->
- <?php while ( have_posts() ) : the_post(); ?>
- <!--- ----------- --->
- <?php get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'single-thumbnail', 'image_class' => 'featured' ) ) ?>
- <div class="sticky-header">
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
- </div><!-- .sticky-header -->
- <div class="entry-summary">
- <?php the_content(); ?>
- </div><!-- .entry-summary -->
- <?php endwhile; ?>
- <?php wp_reset_query(); ?>
- <!--- ----------- --->
- <!--- druga petla --->
- <!--- ----------- --->
- <?php
- $args = array(
- 'cat'=>8,
- );
- query_posts($args) ?>
- <!-- while funkcja -->
- <?php while ( have_posts() ) : the_post(); ?>
- <!--- ----------- --->
- <div class="sticky-header">
- <h1><?php the_title() ?></h1>
- </div><!-- .sticky-header -->
- <div class="entry-summary">
- </div><!-- .entry-summary -->
- <?php endwhile; ?>
- <?php wp_reset_query(); ?>
- </div><!-- .entry-content -->
- <?php do_atomic( 'after_entry' ); // origin_after_entry ?>
- <?php do_atomic( 'after_singular' ); // origin_after_singular ?>
- <?php comments_template( '/comments.php', true ); // Loads the comments.php template. ?>
- <?php wp_reset_query(); ?>
- </div><!-- .hfeed -->
- <?php do_atomic( 'close_content' ); // origin_close_content ?>
- </div><!-- #content -->
- <?php do_atomic( 'after_content' ); // origin_after_content ?>
- <?php get_footer(); // Loads the footer.php template. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement