daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest May 14th, 2016 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. файл page.php
  2.  
  3. <?php get_header(); ?>
  4.     <div id="main-area">
  5.     <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  6.         <?php if (get_option('memoir_integration_single_top') <> '' && get_option('memoir_integrate_singletop_enable') == 'on') echo(get_option('memoir_integration_single_top')); ?>
  7.  
  8.         <div class="entry clearfix post">
  9.             <h1 class="title"><?php the_title(); ?></h1>
  10.  
  11.             <?php $thumb = '';
  12.             $width = 135;
  13.             $height = 135;
  14.             $classtext = '';
  15.             $titletext = get_the_title();
  16.             $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext,false,'Entry');
  17.             $thumb = $thumbnail["thumb"]; ?>
  18.  
  19.             <?php if($thumb <> '' && get_option('memoir_page_thumbnails') == 'on') { ?>
  20.                 <div class="post-thumbnail alignleft">
  21.                     <?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext); ?>
  22.                     <span class="post-overlay"></span>
  23.                 </div>  <!-- end .post-thumbnail -->
  24.             <?php } ?>
  25.  
  26.             <?php
  27.                 echo apply_filters('the_content',et_create_dropcaps(get_the_content()));
  28.             ?>
  29.             <?php wp_link_pages(array('before' => '<p><strong>'.esc_html__('Pages','Memoir').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  30.             <?php edit_post_link(esc_html__('Edit this page','Memoir')); ?>
  31.  
  32.         </div> <!-- end .entry -->
  33.  
  34.         <?php if (get_option('memoir_integration_single_bottom') <> '' && get_option('memoir_integrate_singlebottom_enable') == 'on') echo(get_option('memoir_integration_single_bottom')); ?>
  35.  
  36.         <?php if (get_option('memoir_show_pagescomments') == 'on') comments_template('', true); ?>
  37.     <?php endwhile; endif; ?>
  38.     </div> <!-- end #main-area -->
  39.     <?php get_sidebar(); ?>
  40. <?php get_footer(); ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top