Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.16 KB | None | 0 0
  1. <?php
  2. /*
  3. Template Name: Maui
  4. */
  5.  
  6. global $options; foreach ($options as $value) { if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } }
  7. get_header(); ?>
  8.  
  9.     <div id="page" class="clearfix">
  10.         <div id="contentleft">
  11.             <div id="content" class="maincontent">
  12.                 <?php include (TEMPLATEPATH . '/banner468.php'); ?>
  13.                 <?php edit_post_link('edit', '<p>', '</p>'); ?>
  14.                 <?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?>
  15.        
  16.                
  17.                 <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  18.                     <p><i><?php the_content(); ?></i></p>
  19.                 <?php endwhile; ?>
  20.                 <?php wp_reset_query(); ?>
  21.                
  22.                
  23.                
  24.  
  25. <?php query_posts( array('post_type=post','posts_per_page' => 3, 'post__in' => array(1624,1428)));?>
  26. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  27.                 <div class="singlepost">
  28.                     <div <?php post_class(); ?> id="post-main-<?php the_ID(); ?>">
  29.                         <li class="homepost clearfix" id="post-main-<?php the_ID(); ?>">
  30.                             <div class="entry">
  31.                                 <a href="<?php the_permalink() ?>" rel="<?php _e("bookmark"); ?>" title="<?php _e("Permanent Link to"); ?> <?php the_title(); ?>"><?php include (TEMPLATEPATH . '/post-thumb.php'); ?></a>
  32.                                 <h3 class="post-title"><a href="<?php the_permalink() ?>" rel="<?php _e("bookmark"); ?>" title="<?php _e("Permanent Link to"); ?> <?php the_title(); ?>"><?php the_title(); ?></a></h3>
  33.                                 <?php the_excerpt ();?>
  34.                                 <p class="bottom">
  35.                                     <?php the_time( get_option( 'date_format' ) ); ?> | <a href="<?php comments_link(); ?>">
  36.                                     <?php comments_number('0 comments','1 comment','% comments'); ?></a> | <a href="<?php the_permalink() ?>" rel="<?php _e("bookmark"); ?>" title="<?php _e("Permanent Link to"); ?>
  37.                                     <?php the_title(); ?>"><?php _e("View Post"); ?></a>
  38.                                 </p>
  39.                             </div>
  40.                         </li>
  41.                     </div>
  42.                 </div>
  43. <?php endwhile; endif; ?>  
  44. <?php if(function_exists('selfserv_sexy')) { selfserv_sexy(); } ?>
  45. <?php wp_reset_query(); ?>         
  46.             </div>
  47.         </div>
  48. <?php include ('kauai-sidebar.php'); ?>
  49. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement