Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="primary" class="content-area">
- <div id="content" class="site-content" role="main">
- <div class="home-header-image">
- <?php IMAGE WILL GO HERE ?>
- </div>
- <div class="top_items_container">
- <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Home Top Content')) :
- endif; ?>
- </div><!-- .top_items_container -->
- <div class="entry-content">
- <?php the_content(); ?>
- <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
- </div><!-- .entry-content -->
- <footer class="entry-meta">
- <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
- </footer><!-- .entry-meta -->
- </article><!-- #post -->
- <?php comments_template(); ?>
- </div><!-- #content -->
- </div><!-- #primary -->
- wp_get_attachment_image( $post_thumbnail_id, $size, $icon, $attr );
- wp_get_attachment_image_src( $attachment_id, $size = 'thumbnail', $icon = false )
- $attachmentArray = wp_get_attachment_image_src( $attachment_id, 'thumbnail', false );
- FALSE !== $attachmentArray
- AND print $attachmentArray['url'];
- <?php $pages = get_pages(array('child_of' => 1)); ?>
- <ul>
- <?php foreach ($pages as $page): ?>
- <li>
- <?php echo get_the_post_thumbnail($page->ID, 'thumbnail'); ?>
- <h1><?php echo $page->post_title; ?></h1>
- <?php echo $page->post_content; ?>
- </li>
- <?php endforeach; ?>
- </ul>
- // global $post; // maybe but probably not
- echo get_the_post_thumbnail($post->ID);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement