Advertisement
Guest User

EvoLve Pro - index.php

a guest
Dec 28th, 2012
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.47 KB | None | 0 0
  1. <?php
  2. /**
  3. * Template: Index.php
  4. *
  5. * @package EvoLve
  6. * @subpackage Template
  7. */
  8.  
  9. get_header();
  10. $first = "";
  11. ?>
  12.  
  13.  
  14. <?php $xyz = "";
  15. $evl_layout = evl_get_option('evl_layout','2cl');
  16. $evl_post_layout = evl_get_option('evl_post_layout','two');
  17. $evl_nav_links = evl_get_option('evl_nav_links','after');
  18. $evl_header_meta = evl_get_option('evl_header_meta','disable');
  19. $evl_excerpt_thumbnail = evl_get_option('evl_excerpt_thumbnail','0');
  20. $evl_share_this = evl_get_option('evl_share_this','single');
  21. $evl_post_links = evl_get_option('evl_post_links','after');
  22. $evl_similar_posts = evl_get_option('evl_similar_posts','disable');
  23.  
  24.  
  25. if (($evl_layout == "1c"))
  26.  
  27. { ?>
  28.  
  29.  
  30. <?php } else { ?>
  31.  
  32. <?php $options = get_option('evolve');
  33. if ($evl_layout == "3cm" || $evl_layout == "3cl" || $evl_layout == "3cr") { ?>
  34.  
  35. <?php get_sidebar('2'); ?>
  36.  
  37.  
  38. <?php } ?>
  39.  
  40. <?php } ?>
  41.  
  42. <!--BEGIN #primary .hfeed-->
  43. <div id="primary" class="hfeed">
  44.  
  45.  
  46.  
  47.  
  48. <!----------------------
  49. ---- attachment begin
  50. ----------------------->
  51.  
  52.  
  53. <?php if (is_attachment()) { ?>
  54.  
  55.  
  56. <?php if ( have_posts() ) : ?>
  57. <?php while ( have_posts() ) : the_post(); ?>
  58.  
  59. <!--BEGIN .hentry-->
  60. <div id="post-<?php the_ID(); ?>" class="<?php semantic_entries(); ?>">
  61.  
  62. <?php $options = get_option('evolve'); if (($evl_header_meta == "") || ($evl_header_meta == "single_archive"))
  63. { ?>
  64.  
  65. <h1 class="entry-title"><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment" class="attach-font"><?php echo get_the_title($post->post_parent); ?></a> &raquo; <?php if ( get_the_title() ){ the_title();
  66. } else { _e( 'Untitled', 'evolve' ); } ?></h1>
  67.  
  68.  
  69.  
  70. <!--BEGIN .entry-meta .entry-header-->
  71. <div class="entry-meta entry-header">
  72. <a href="<?php the_permalink() ?>"><span class="published"><?php the_time('MjS'); ?><br /><strong><?php the_time('Y'); ?></strong></span></a>
  73.  
  74. <?php if ( comments_open() ) : ?>
  75. <span class="comment-count"><?php comments_popup_link( __( 'Leave a Comment', 'evolve' ), __( '1 Comment', 'evolve' ), __( '% Comments', 'evolve' ) ); ?></span>
  76. <?php else : // comments are closed
  77. endif; ?>
  78.  
  79.  
  80. <span class="author vcard">
  81.  
  82. <?php $evl_author_avatar = evl_get_option('evl_author_avatar','0');
  83. if ($evl_author_avatar == "1") { echo get_avatar( get_the_author_meta('email'), '30' ); } ?>
  84.  
  85.  
  86.  
  87. <?php _e( 'By', 'evolve' ); ?> <strong><?php printf( '<a class="url fn" href="' . get_author_posts_url( $authordata->ID, $authordata->user_nicename ) . '" title="' . sprintf( 'View all posts by %s', $authordata->display_name ) . '">' . get_the_author() . '</a>' ) ?></strong></span>
  88.  
  89. <?php edit_post_link( __( 'edit', 'evolve' ), '<span class="edit-post">', '</span>' ); ?>
  90.  
  91. <!--END .entry-meta .entry-header-->
  92. </div>
  93.  
  94. <?php } else { ?>
  95.  
  96. <h1 class="entry-title fl-l"><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> &raquo; <?php the_title(); ?></h1>
  97.  
  98. <?php if ( current_user_can( 'edit_post', $post->ID ) ): ?>
  99.  
  100. <?php edit_post_link( __( 'EDIT', 'evolve' ), '<span class="edit-post edit-attach">', '</span>' ); ?>
  101. <?php endif; ?>
  102.  
  103. <br /><br /><?php } ?>
  104.  
  105. <!--BEGIN .entry-content .article-->
  106. <div class="entry-content article">
  107.  
  108.  
  109. <?php if ( wp_attachment_is_image() ) :
  110. $attachments = array_values( get_children( array( 'post_parent' => $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) );
  111. foreach ( $attachments as $k => $attachment ) {
  112. if ( $attachment->ID == $post->ID )
  113. break;
  114. }
  115. $k++;
  116. // If there is more than 1 image attachment in a gallery
  117. if ( count( $attachments ) > 1 ) {
  118. if ( isset( $attachments[ $k ] ) )
  119. // get the URL of the next image attachment
  120. $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID );
  121. else
  122. // or get the URL of the first image attachment
  123. $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID );
  124. } else {
  125. // or, if there's only 1 image attachment, get the URL of the image
  126. $next_attachment_url = wp_get_attachment_url();
  127. }
  128. ?>
  129. <p class="attachment" align="center"><a href="<?php echo wp_get_attachment_url(); ?>" title="<?php echo esc_attr( get_the_title() ); ?>" class="single-gallery-image"><?php
  130. echo wp_get_attachment_image( $post->ID, $size='medium' ); // filterable image width with, essentially, no limit for image height.
  131. ?></a></p>
  132.  
  133.  
  134.  
  135.  
  136. <div class="navigation-links single-page-navigation clearfix">
  137. <div class="nav-next"><?php next_image_link ( false, 'Next Image &nbsp;&nbsp;&raquo;&nbsp;&nbsp;' ); ?></div>
  138. <div class="nav-previous"><?php previous_image_link ( false, '&nbsp;&nbsp;&laquo;&nbsp;&nbsp; Previous Image' ); ?></div>
  139.  
  140. <!--END .navigation-links-->
  141.  
  142.  
  143.  
  144.  
  145.  
  146. </div><!-- #nav-below -->
  147. <?php else : ?>
  148. <a href="<?php echo wp_get_attachment_url(); ?>" title="<?php echo esc_attr( get_the_title() ); ?>" rel="attachment"><?php echo basename( get_permalink() ); ?></a>
  149. <?php endif; ?>
  150.  
  151. <div class="entry-caption"><?php if ( !empty( $post->post_excerpt ) ) the_excerpt(); ?></div>
  152.  
  153.  
  154.  
  155. <!--END .entry-content .article-->
  156. <div class="clearfix"></div>
  157. </div>
  158. <!--END .hentry-->
  159. </div>
  160.  
  161. <?php $options = get_option('evolve'); if (($evl_share_this == "single_archive") || ($evl_share_this == "all")) {
  162. evolve_sharethis(); } else { ?> <div class="margin-40"></div> <?php }?>
  163.  
  164.  
  165. <?php comments_template( '', true ); ?>
  166.  
  167. <?php endwhile; else : ?>
  168.  
  169. <!--BEGIN #post-0-->
  170. <div id="post-0" class="<?php semantic_entries(); ?>">
  171. <h1 class="entry-title">Not Found</h1>
  172.  
  173. <!--BEGIN .entry-content-->
  174. <div class="entry-content">
  175. <p>Sorry, no attachments matched your criteria.</p>
  176. <!--END .entry-content-->
  177. </div>
  178. <!--END #post-0-->
  179. </div>
  180.  
  181. <!----------------------
  182. ---- attachment end
  183. ----------------------->
  184.  
  185. <?php endif; ?>
  186.  
  187. <!----------------------
  188. ---- single post begin
  189. ----------------------->
  190.  
  191. <?php } elseif (is_single()) { ?>
  192.  
  193.  
  194. <?php if ( have_posts() ) : ?>
  195. <?php while ( have_posts() ) : the_post(); ?>
  196.  
  197. <?php $options = get_option('evolve'); if (($evl_post_links == "before") || ($evl_post_links == "both")) { ?>
  198.  
  199.  
  200. <span class="nav-top">
  201. <?php get_template_part( 'navigation', 'index' ); ?>
  202. </span>
  203.  
  204. <?php } ?>
  205.  
  206. <!--BEGIN .hentry-->
  207. <div id="post-<?php the_ID(); ?>" class="<?php semantic_entries(); ?>">
  208.  
  209.  
  210.  
  211.  
  212. <?php $options = get_option('evolve'); if (($evl_header_meta == "") || ($evl_header_meta == "single") || ($evl_header_meta == "single_archive"))
  213. { ?> <h1 class="entry-title"><?php if ( get_the_title() ){ the_title(); }else{ _e( 'Untitled', 'evolve' ); } ?></h1>
  214.  
  215.  
  216. <!--BEGIN .entry-meta .entry-header-->
  217. <div class="entry-meta entry-header">
  218. <a href="<?php the_permalink() ?>"><span class="published"><?php the_time('MjS'); ?><br /><strong><?php the_time('Y'); ?></strong></span></a>
  219.  
  220. <?php if ( comments_open() ) : ?>
  221. <span class="comment-count"><?php comments_popup_link( __( 'Leave a Comment', 'evolve' ), __( '1 Comment', 'evolve' ), __( '% Comments', 'evolve' ) ); ?></span>
  222. <?php else : // comments are closed
  223. endif; ?>
  224.  
  225.  
  226. <span class="author vcard">
  227.  
  228. <?php $evl_author_avatar = evl_get_option('evl_author_avatar','0');
  229. if ($evl_author_avatar == "1") { echo get_avatar( get_the_author_meta('email'), '30' );
  230.  
  231. } ?>
  232.  
  233.  
  234.  
  235. <?php _e( 'Written by', 'evolve' ); ?> <strong><?php printf( '<a class="url fn" href="' . get_author_posts_url( $authordata->ID, $authordata->user_nicename ) . '" title="' . sprintf( 'View all posts by %s', $authordata->display_name ) . '">' . get_the_author() . '</a>' ) ?></strong></span>
  236.  
  237.  
  238. <?php edit_post_link( __( 'edit', 'evolve' ), '<span class="edit-post">', '</span>' ); ?>
  239. <!--END .entry-meta .entry-header-->
  240. </div> <?php } else { ?>
  241.  
  242. <h1 class="entry-title fl-l"><?php the_title(); ?></h1>
  243.  
  244. <?php if ( current_user_can( 'edit_post', $post->ID ) ): ?>
  245.  
  246. <?php edit_post_link( __( 'EDIT', 'evolve' ), '<span class="edit-post edit-attach">', '</span>' ); ?>
  247.  
  248.  
  249.  
  250. <?php endif; ?>
  251.  
  252. <br /><br /><?php } ?>
  253.  
  254.  
  255. <!-- AD Space 7 -->
  256.  
  257.  
  258. <?php $options = get_option('evolve');
  259.  
  260.  
  261. if (!empty($options['evl_ads_3_id'])) {
  262. $ads_slot = $options['evl_ads_3_id'];
  263. $adsize = $options['evl_ads_3'];
  264. echo '<div class="ad-7">'.adsense_unit($ads_slot,$adsize).'</div>';
  265. }
  266.  
  267.  
  268. if (!empty($options['evl_space_7'])) {
  269. $ad_space_7 = $options['evl_space_7'];
  270. echo '<div class="ad-7">'.stripslashes($ad_space_7).'</div>';
  271.  
  272. }
  273. ?>
  274.  
  275. <!--BEGIN .entry-content .article-->
  276. <div class="entry-content article">
  277. <?php the_content( __('READ MORE &raquo;', 'evolve' ) ); ?>
  278. <?php wp_link_pages( array( 'before' => '<div id="page-links"><p>' . __( '<strong>Pages:</strong>', 'evolve' ), 'after' => '</p></div>' ) ); ?>
  279. <!--END .entry-content .article-->
  280.  
  281. <div class="clearfix"></div>
  282. </div>
  283.  
  284.  
  285.  
  286. <!-- AD Space 8 -->
  287.  
  288.  
  289. <?php $options = get_option('evolve');
  290.  
  291.  
  292. if (!empty($options['evl_ads_4_id'])) {
  293. $ads_slot = $options['evl_ads_4_id'];
  294. $adsize = $options['evl_ads_4'];
  295. echo '<div class="ad-8">'.adsense_unit($ads_slot,$adsize).'</div>';
  296. }
  297.  
  298.  
  299. if (!empty($options['evl_space_8'])) {
  300. $ad_space_8 = $options['evl_space_8'];
  301. echo '<div class="ad-8">'.stripslashes($ad_space_8).'</div>';
  302.  
  303. }
  304. ?>
  305.  
  306. <!--BEGIN .entry-meta .entry-footer-->
  307. <div class="entry-meta entry-footer">
  308. <?php if ( evolve_get_terms( 'cats' ) ) { ?>
  309. <span class="entry-categories"> <?php echo evolve_get_terms( 'cats' ); ?></span>
  310. <?php } ?><?php if ( evolve_get_terms( 'cats' ) && evolve_get_terms( 'tags' ) ) { ?><span class="meta-sep">&nbsp;&nbsp;</span><?php } ?>
  311. <?php if ( evolve_get_terms( 'tags' ) ) { ?>
  312. <span class="entry-tags"> <?php echo evolve_get_terms( 'tags' ); ?></span>
  313. <?php } ?>
  314. <!--END .entry-meta .entry-footer-->
  315. </div>
  316.  
  317.  
  318.  
  319. <!-- Auto Discovery Trackbacks
  320. <?php trackback_rdf(); ?>
  321. -->
  322. <!--END .hentry-->
  323. </div>
  324.  
  325. <?php $options = get_option('evolve'); if (($evl_share_this == "") || ($evl_share_this == "single") || ($evl_share_this == "single_archive") || ($evl_share_this == "all")) {
  326. evolve_sharethis(); } else { ?> <div class="margin-40"></div> <?php }?>
  327.  
  328.  
  329.  
  330.  
  331. <?php $options = get_option('evolve'); if (($evl_similar_posts == "") || ($evl_similar_posts == "disable")) {} else {
  332. evlsimilar_posts(); } ?>
  333.  
  334.  
  335. <?php $options = get_option('evolve'); if (($evl_post_links == "") || ($evl_post_links == "after") || ($evl_post_links == "both")) { ?>
  336.  
  337. <?php get_template_part( 'navigation', 'index' ); ?>
  338.  
  339.  
  340. <?php } ?>
  341.  
  342. <?php comments_template( '', true ); ?>
  343.  
  344. <?php endwhile; else : ?>
  345.  
  346. <!--BEGIN #post-0-->
  347. <div id="post-0" class="<?php semantic_entries(); ?>">
  348. <h1 class="entry-title"><?php _e( 'Not Found', 'evolve' ); ?></h1>
  349.  
  350.  
  351.  
  352. <!--BEGIN .entry-content-->
  353. <div class="entry-content">
  354. <p><?php _e( 'Sorry, but you are looking for something that isn\'t here.', 'evolve' ); ?></p>
  355. <?php get_search_form(); ?>
  356. <!--END .entry-content-->
  357. </div>
  358. <!--END #post-0-->
  359. </div>
  360.  
  361. <?php endif; ?>
  362.  
  363. <!----------------------
  364. ---- single post end
  365. ----------------------->
  366.  
  367.  
  368. <!----------------------
  369. ---- home/date/category/tag/search/author begin
  370. ----------------------->
  371.  
  372. <?php } elseif (is_home() || is_date() || is_category() || is_tag() || is_search() || is_author()) { ?>
  373.  
  374.  
  375.  
  376. <!----------------------
  377. ---- 2 or 3 columns begin
  378. ----------------------->
  379.  
  380.  
  381.  
  382. <?php if (is_date()) { ?>
  383.  
  384.  
  385. <?php /* If this is a daily archive */ if ( is_day() ) { ?>
  386. <h2 class="page-title archive-title"><?php _e( 'Daily archives for', 'evolve' ); ?> <span class="daily-title"><?php the_time( 'F jS, Y' ); ?></span></h2>
  387. <?php /* If this is a monthly archive */ } elseif ( is_month() ) { ?>
  388. <h2 class="page-title archive-title"><?php _e( 'Monthly archives for', 'evolve' ); ?> <span class="monthly-title"><?php the_time( 'F, Y' ); ?></span></h2>
  389. <?php /* If this is a yearly archive */ } elseif ( is_year() ) { ?>
  390. <h2 class="page-title archive-title"><?php _e( 'Yearly archives for', 'evolve' ); ?> <span class="yearly-title"><?php the_time( 'Y' ); ?></span></h2>
  391. <?php } ?>
  392.  
  393. <?php } elseif (is_category()) { ?>
  394. <h2 class="page-title archive-title"><?php _e( 'Posts in category', 'evolve' ); ?> <span id="category-title"><?php single_cat_title(); ?></span></h2>
  395.  
  396.  
  397. <?php } elseif (is_tag()) { ?>
  398. <h2 class="page-title archive-title"><?php _e( 'Posts tagged', 'evolve' ); ?> <span id="tag-title"><?php single_tag_title(); ?></span></h2>
  399.  
  400.  
  401. <?php } elseif (is_search()) { ?>
  402.  
  403.  
  404. <h2 class="page-title search-title"><?php _e( 'Search results for', 'evolve' ); ?> <?php echo '<span class="search-term">'.the_search_query().'</span>'; ?></h2>
  405.  
  406. <?php } elseif (is_author()) { ?>
  407.  
  408.  
  409. <h2 class="page-title archive-title"><?php _e( 'Posts by', 'evolve' ); ?> <span class="author-title"><?php the_post(); echo $authordata->display_name; rewind_posts(); ?></span></h2>
  410.  
  411. <?php } ?>
  412.  
  413. <?php $options = get_option('evolve'); if ($evl_post_layout == "two" || $evl_post_layout == "three") { ?>
  414. <?php if (($evl_nav_links == "before") || ($evl_nav_links == "both")) { ?>
  415.  
  416.  
  417.  
  418. <span class="nav-top">
  419. <?php get_template_part( 'navigation', 'index' ); ?>
  420. </span>
  421.  
  422. <?php } else { ?>
  423.  
  424. <?php } ?>
  425.  
  426.  
  427.  
  428. <?php if ( have_posts() ) : ?>
  429.  
  430.  
  431.  
  432.  
  433.  
  434. <?php while ( have_posts() ) : the_post(); $first++; ?>
  435.  
  436.  
  437.  
  438. <!--BEGIN .hentry-->
  439. <div id="post-<?php the_ID(); ?>" class="<?php semantic_entries(); ?>
  440.  
  441.  
  442. <?php if ($options['evl_highlight_post'] == "1") { ?>
  443.  
  444. <?php if ( 1 == $first && is_home() && !is_paged() ):?>" style="margin-bottom:40px;width:100%;">
  445.  
  446.  
  447. <div class="entry-meta highlight" style="text-transform:none;">
  448. <h1 class="entry-title" style="float:left;margin-bottom: 5px;">
  449.  
  450.  
  451.  
  452. <a href="<?php the_permalink() ?>" style="font-size:200%!important;line-height:200%!important;" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
  453. <?php
  454. if ( get_the_title() ){ $title = the_title('', '', false);
  455. echo evltruncate($title, 40, '...'); }else{ _e( 'Untitled', 'evolve' ); }
  456. ?></a>
  457.  
  458.  
  459.  
  460. </h1>
  461.  
  462. <!--BEGIN .entry-meta .entry-header-->
  463.  
  464.  
  465. <?php if ( comments_open() ) : ?>
  466. <span class="comment-count" style="float:right;font-weight:bold;position:relative;top:15px;font-size:15px;"><?php comments_popup_link( __( 'Leave a Comment', 'evolve' ), __( '1 Comment', 'evolve' ), __( '% Comments', 'evolve' ) ); ?></span>
  467. <?php else : // comments are closed
  468. endif; ?>
  469.  
  470. <?php if ( current_user_can( 'edit_post', $post->ID ) ): ?>
  471.  
  472. <?php edit_post_link( __( 'EDIT', 'evolve' ), '<span class="edit-post" style="left:10px;position:relative;top:15px;">', '</span>' ); ?>
  473.  
  474.  
  475.  
  476. <?php endif; ?>
  477.  
  478. <!--END .entry-meta .entry-header-->
  479. </div>
  480.  
  481.  
  482.  
  483. <!--BEGIN .entry-content .article-->
  484. <div class="entry-content article highlight-content" style="font-size: 15px">
  485.  
  486. <?php the_content(); ?>
  487.  
  488.  
  489. <!--END .entry-content .article-->
  490. <div style="clear:both;"></div>
  491. </div>
  492.  
  493.  
  494.  
  495. <!--END .hentry-->
  496. <?php else :?>
  497.  
  498.  
  499.  
  500. <?php if ($evl_post_layout == "two") { ?>
  501. <?php echo 'odd'.($xyz++%2); ?>
  502.  
  503. <?php } else { ?>
  504. <?php echo 'odd'.($xyz++%3); ?>
  505.  
  506.  
  507. <?php } ?>
  508.  
  509. " style="margin-bottom:40px;">
  510.  
  511.  
  512.  
  513. <?php $options = get_option('evolve'); if (($evl_header_meta == "") || ($evl_header_meta == "single_archive"))
  514. { ?>
  515.  
  516. <h1 class="entry-title">
  517.  
  518.  
  519.  
  520. <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
  521. <?php
  522. if ( get_the_title() ){ $title = the_title('', '', false);
  523. echo evltruncate($title, 40, '...'); }else{ _e( 'Untitled', 'evolve' ); }
  524. ?></a>
  525.  
  526.  
  527.  
  528. </h1>
  529.  
  530. <!--BEGIN .entry-meta .entry-header-->
  531. <div class="entry-meta entry-header">
  532. <a href="<?php the_permalink() ?>"><span class="published"><?php the_time('MjS'); ?><br /><strong><?php the_time('Y'); ?></strong></span></a>
  533. <span class="author vcard">
  534.  
  535. <?php _e( 'Written by', 'evolve' ); ?> <strong><?php printf( '<a class="url fn" href="' . get_author_posts_url( $authordata->ID, $authordata->user_nicename ) . '" title="' . sprintf( 'View all posts by %s', $authordata->display_name ) . '">' . get_the_author() . '</a>' ) ?></strong></span>
  536.  
  537. <?php edit_post_link( __( 'edit', 'evolve' ), '<span class="edit-post">', '</span>' ); ?>
  538.  
  539. <!--END .entry-meta .entry-header-->
  540. </div>
  541.  
  542. <?php } else { ?>
  543.  
  544. <h1 class="entry-title fl-l"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
  545. <?php
  546. if ( get_the_title() ){ $title = the_title('', '', false);
  547. echo evltruncate($title, 40, '...'); }else{ _e( 'Untitled', 'evolve' ); }
  548. ?></a> </h1>
  549.  
  550. <?php if ( current_user_can( 'edit_post', $post->ID ) ): ?>
  551.  
  552. <?php edit_post_link( __( 'EDIT', 'evolve' ), '<span class="edit-post edit-attach">', '</span>' ); ?>
  553.  
  554.  
  555.  
  556. <?php endif; ?>
  557.  
  558. <br /><br /><?php } ?>
  559.  
  560. <!--BEGIN .entry-content .article-->
  561. <div class="entry-content article">
  562.  
  563. <?php
  564.  
  565.  
  566. if(has_post_thumbnail()) {
  567. $options = get_option('evolve');
  568. $thumbsize = $options['evl_custom_thumbnail'];
  569. echo '<a href="'; the_permalink(); echo '">';the_post_thumbnail(array($thumbsize,$thumbsize)); echo '</a>';
  570.  
  571. } else {
  572.  
  573. $image = evlget_first_image();
  574. if ($image):
  575. echo '<span class="thumbnail-post"><a href="'; the_permalink(); echo'"><img src="'.$image.'" alt="';the_title();echo'" /></a></span>';
  576.  
  577.  
  578. endif;
  579. } ?>
  580.  
  581.  
  582.  
  583. <?php $postexcerpt = get_the_content();
  584. $postexcerpt = apply_filters('the_content', $postexcerpt);
  585. $postexcerpt = str_replace(']]>', ']]&gt;', $postexcerpt);
  586. $postexcerpt = strip_tags($postexcerpt);
  587. $postexcerpt = strip_shortcodes($postexcerpt);
  588.  
  589. echo evltruncate($postexcerpt, 350, ' [...]');
  590. ?>
  591.  
  592.  
  593. <div class="entry-meta entry-footer">
  594.  
  595. <span class="read-more">
  596. <a href="<?php the_permalink(); ?>"><?php _e('READ MORE &raquo;', 'evolve' ); ?></a>
  597. </span>
  598.  
  599. <?php if ( comments_open() ) : ?>
  600. <span class="comment-count"><?php comments_popup_link( __( 'Leave a Comment', 'evolve' ), __( '1 Comment', 'evolve' ), __( '% Comments', 'evolve' ) ); ?></span>
  601. <?php else : // comments are closed
  602. endif; ?>
  603. </div>
  604.  
  605. <!--END .entry-content .article-->
  606. <div class="clearfix"></div>
  607. </div>
  608.  
  609.  
  610.  
  611. <!--END .hentry--> <?php endif;?>
  612.  
  613.  
  614. <?php } else { ?>
  615.  
  616. <?php $options = get_option('evolve'); if ($options['evl_post_layout'] == "two") { ?>
  617. <?php echo 'odd'.($xyz++%2); ?>
  618.  
  619. <?php } else { ?>
  620. <?php echo 'odd'.($xyz++%3); ?>
  621.  
  622.  
  623. <?php } ?>
  624.  
  625. " style="margin-bottom:40px;">
  626.  
  627.  
  628.  
  629. <?php if (($evl_header_meta == "") || ($evl_header_meta == "single_archive"))
  630. { ?>
  631.  
  632. <h1 class="entry-title">
  633.  
  634.  
  635.  
  636. <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
  637. <?php
  638. if ( get_the_title() ){ $title = the_title('', '', false);
  639. echo evltruncate($title, 40, '...'); }else{ _e( 'Untitled', 'evolve' ); }
  640. ?></a>
  641.  
  642.  
  643.  
  644. </h1>
  645.  
  646. <!--BEGIN .entry-meta .entry-header-->
  647. <div class="entry-meta entry-header">
  648. <a href="<?php the_permalink() ?>"><span class="published"><?php the_time('MjS'); ?><br /><strong><?php the_time('Y'); ?></strong></span></a>
  649. <span class="author vcard">
  650.  
  651. <?php _e( 'Written by', 'evolve' ); ?> <strong><?php printf( '<a class="url fn" href="' . get_author_posts_url( $authordata->ID, $authordata->user_nicename ) . '" title="' . sprintf( 'View all posts by %s', $authordata->display_name ) . '">' . get_the_author() . '</a>' ) ?></strong></span>
  652.  
  653. <?php edit_post_link( __( 'edit', 'evolve' ), '<span class="edit-post">', '</span>' ); ?>
  654.  
  655. <!--END .entry-meta .entry-header-->
  656. </div>
  657.  
  658. <?php } else { ?>
  659.  
  660. <h1 class="entry-title fl-l"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php
  661. if ( get_the_title() ){ $title = the_title('', '', false);
  662. echo evltruncate($title, 40, '...'); }else{ _e( 'Untitled', 'evolve' ); }
  663. ?></a></h1>
  664. </a> </h1>
  665.  
  666. <?php if ( current_user_can( 'edit_post', $post->ID ) ): ?>
  667.  
  668. <?php edit_post_link( __( 'EDIT', 'evolve' ), '<span class="edit-post edit-attach">', '</span>' ); ?>
  669.  
  670.  
  671.  
  672. <?php endif; ?>
  673.  
  674. <br /><br /><?php } ?>
  675.  
  676. <!--BEGIN .entry-content .article-->
  677. <div class="entry-content article">
  678.  
  679. <?php
  680.  
  681.  
  682. if(has_post_thumbnail()) {
  683. $options = get_option('evolve');
  684. $thumbsize = $options['evl_custom_thumbnail'];
  685. echo '<a href="'; the_permalink(); echo '">';the_post_thumbnail(array($thumbsize,$thumbsize)); echo '</a>';
  686.  
  687. } else {
  688.  
  689. $image = evlget_first_image();
  690. if ($image):
  691. echo '<a href="'; the_permalink(); echo'"><img src="'.$image.'" alt="';the_title();echo'" /></a>';
  692.  
  693.  
  694. endif;
  695. } ?>
  696.  
  697.  
  698.  
  699. <?php $postexcerpt = get_the_content();
  700. $postexcerpt = apply_filters('the_content', $postexcerpt);
  701. $postexcerpt = str_replace(']]>', ']]&gt;', $postexcerpt);
  702. $postexcerpt = strip_tags($postexcerpt);
  703. $postexcerpt = strip_shortcodes($postexcerpt);
  704.  
  705. echo evltruncate($postexcerpt, 350, ' [...]');
  706. ?>
  707.  
  708.  
  709. <div class="entry-meta entry-footer">
  710.  
  711. <span class="read-more">
  712. <a href="<?php the_permalink(); ?>"><?php _e('READ MORE &raquo;', 'evolve' ); ?></a>
  713. </span>
  714.  
  715. <?php if ( comments_open() ) : ?>
  716. <span class="comment-count"><?php comments_popup_link( __( 'Leave a Comment', 'evolve' ), __( '1 Comment', 'evolve' ), __( '% Comments', 'evolve' ) ); ?></span>
  717. <?php else : // comments are closed
  718. endif; ?>
  719. </div>
  720.  
  721. <!--END .entry-content .article-->
  722. <div class="clearfix"></div>
  723. </div>
  724.  
  725.  
  726.  
  727. <!--END .hentry-->
  728.  
  729.  
  730.  
  731. <?php } ?>
  732.  
  733.  
  734.  
  735. </div>
  736.  
  737. <?php $i='';$i++; ?>
  738.  
  739. <?php endwhile; ?>
  740. <?php get_template_part( 'navigation', 'index' ); ?>
  741. <?php else : ?>
  742.  
  743.  
  744.  
  745. <?php if (is_search()) { ?>
  746.  
  747.  
  748. <!--BEGIN #post-0-->
  749. <div id="post-0" class="<?php semantic_entries(); ?>">
  750. <h1 class="entry-title"><?php _e( 'Your search for', 'evolve' ); ?> "<?php echo the_search_query(); ?>" <?php _e( 'did not match any entries', 'evolve' ); ?></h1>
  751.  
  752. <!--BEGIN .entry-content-->
  753. <div class="entry-content">
  754. <br />
  755. <p><?php _e( 'Suggestions:', 'evolve' ); ?></p>
  756. <ul>
  757. <li><?php _e( 'Make sure all words are spelled correctly.', 'evolve' ); ?></li>
  758. <li><?php _e( 'Try different keywords.', 'evolve' ); ?></li>
  759. <li><?php _e( 'Try more general keywords.', 'evolve' ); ?></li>
  760. </ul>
  761. <!--END .entry-content-->
  762. </div>
  763. <!--END #post-0-->
  764. </div>
  765.  
  766. <?php } else { ?>
  767.  
  768. <!--BEGIN #post-0-->
  769. <div id="post-0" class="<?php semantic_entries(); ?>">
  770. <h1 class="entry-title"><?php _e( 'Not Found', 'evolve' ); ?></h1>
  771.  
  772. <!--BEGIN .entry-content-->
  773. <div class="entry-content">
  774. <p><?php _e( 'Sorry, but you are looking for something that isn\'t here.', 'evolve' ); ?></p>
  775. <!--END .entry-content-->
  776. </div>
  777. <!--END #post-0-->
  778. </div>
  779.  
  780. <?php } ?>
  781.  
  782. <?php endif; ?>
  783.  
  784.  
  785. <!----------------------
  786. -----------------------
  787. -----------------------
  788. ---- 2 or 3 columns end
  789. -----------------------
  790. -----------------------
  791. ----------------------->
  792.  
  793.  
  794. <!----------------------
  795. -----------------------
  796. -----------------------
  797. ---- 1 column begin
  798. -----------------------
  799. -----------------------
  800. ----------------------->
  801.  
  802.  
  803. <?php } else { ?>
  804.  
  805. <?php if (($evl_nav_links == "before") || ($evl_nav_links == "both")) { ?>
  806.  
  807.  
  808.  
  809. <span class="nav-top">
  810. <?php get_template_part( 'navigation', 'index' ); ?>
  811. </span>
  812.  
  813. <?php } else {?>
  814.  
  815. <?php } ?>
  816.  
  817.  
  818.  
  819. <?php if ( have_posts() ) : ?>
  820. <?php while ( have_posts() ) : the_post(); $first++; ?>
  821.  
  822.  
  823.  
  824.  
  825.  
  826. <!--BEGIN .hentry-->
  827. <div id="post-<?php the_ID(); ?>" class="<?php semantic_entries(); ?>
  828.  
  829. <?php if ($options['evl_highlight_post'] == "1") { ?>
  830.  
  831. <?php if ( 1 == $first && is_home() && !is_paged() ):?>" style="margin-bottom:40px;width:100%;">
  832.  
  833.  
  834. <div class="entry-meta highlight" style="text-transform:none;">
  835. <h1 class="entry-title" style="float:left;margin-bottom: 5px;">
  836.  
  837.  
  838.  
  839. <a href="<?php the_permalink() ?>" style="font-size:200%!important;line-height:200%!important;" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
  840. <?php
  841. if ( get_the_title() ){ $title = the_title('', '', false);
  842. echo evltruncate($title, 40, '...'); }else{ _e( 'Untitled', 'evolve' ); }
  843. ?></a>
  844.  
  845.  
  846.  
  847. </h1>
  848.  
  849. <!--BEGIN .entry-meta .entry-header-->
  850.  
  851.  
  852. <?php if ( comments_open() ) : ?>
  853. <span class="comment-count" style="float:right;font-weight:bold;position:relative;top:15px;font-size:15px;"><?php comments_popup_link( __( 'Leave a Comment', 'evolve' ), __( '1 Comment', 'evolve' ), __( '% Comments', 'evolve' ) ); ?></span>
  854. <?php else : // comments are closed
  855. endif; ?>
  856.  
  857. <?php if ( current_user_can( 'edit_post', $post->ID ) ): ?>
  858.  
  859. <?php edit_post_link( __( 'EDIT', 'evolve' ), '<span class="edit-post" style="left:10px;position:relative;top:15px;">', '</span>' ); ?>
  860.  
  861.  
  862.  
  863. <?php endif; ?>
  864.  
  865. <!--END .entry-meta .entry-header-->
  866. </div>
  867.  
  868.  
  869.  
  870. <!--BEGIN .entry-content .article-->
  871. <div class="entry-content article highlight-content" style="font-size: 15px">
  872.  
  873. <?php the_content(); ?>
  874.  
  875.  
  876. <!--END .entry-content .article-->
  877. <div style="clear:both;"></div>
  878. </div>
  879.  
  880.  
  881.  
  882. <!--END .hentry-->
  883. <?php else :?>" style="margin-bottom:40px;">
  884.  
  885.  
  886.  
  887. <h1 class="entry-title" style="float:left;"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php if ( get_the_title() ){ the_title();}else{ _e( 'Untitled', 'evolve' ); } ?></a></h1>
  888.  
  889. <?php if ( current_user_can( 'edit_post', $post->ID ) ): ?>
  890.  
  891. <?php edit_post_link( __( 'EDIT', 'evolve' ), '<span class="edit-post" style="left:10px;position:relative;top:15px;">', '</span>' ); ?>
  892.  
  893.  
  894. <?php endif; ?>
  895.  
  896. <br /><br />
  897.  
  898. <!--BEGIN .entry-content .article-->
  899. <div class="entry-content article">
  900.  
  901.  
  902.  
  903.  
  904. <?php if(has_post_thumbnail()) {
  905. $options = get_option('evolve');
  906. $thumbsize = $options['evl_custom_thumbnail'];
  907. echo '<span class="thumbnail-post"><a href="'; the_permalink(); echo '">';the_post_thumbnail(array($thumbsize,$thumbsize)); echo '</a></span>';
  908.  
  909. } else {
  910.  
  911. $image = evlget_first_image();
  912. if ($image):
  913. echo '<span class="thumbnail-post"><a href="'; the_permalink(); echo'"><img src="'.$image.'" alt="';the_title();echo'" /></a></span>';
  914. endif;
  915. } ?>
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924. <?php the_excerpt();?>
  925.  
  926.  
  927. <span class="read-more">
  928. <a href="<?php the_permalink(); ?>"><?php _e('READ MORE &raquo;', 'evolve' ); ?></a>
  929. </span>
  930.  
  931. <!--END .entry-content .article-->
  932. <div style="clear:both;"></div>
  933. </div>
  934.  
  935.  
  936.  
  937. <!--BEGIN .entry-meta .entry-footer-->
  938.  
  939. <div class="entry-meta entry-footer">
  940. <?php if ( evolve_get_terms( 'cats' ) ) { ?>
  941. <span class="entry-categories"> <?php echo evolve_get_terms( 'cats' ); ?></span>
  942. <?php } ?><?php if ( evolve_get_terms( 'cats' ) && evolve_get_terms( 'tags' ) ) { ?><span class="meta-sep">&nbsp;&nbsp;</span><?php } ?>
  943. <?php if ( evolve_get_terms( 'tags' ) ) { ?>
  944.  
  945. <span class="entry-tags"> <?php echo evolve_get_terms( 'tags' ); ?></span>
  946. <?php } ?>
  947. <!--END .entry-meta .entry-footer-->
  948. </div>
  949.  
  950.  
  951.  
  952.  
  953.  
  954. <?php endif;?>
  955.  
  956.  
  957. <?php } else { ?>
  958.  
  959.  
  960. " style="margin-bottom:40px;">
  961.  
  962.  
  963. <?php $options = get_option('evolve'); if (($options['evl_header_meta'] == "") || ($options['evl_header_meta'] == "single_archive"))
  964. { ?>
  965.  
  966. <h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php if ( get_the_title() ){ the_title();}else{ _e( 'Untitled', 'evolve' ); } ?></a></h1>
  967.  
  968. <!--BEGIN .entry-meta .entry-header-->
  969. <div class="entry-meta entry-header">
  970. <a href="<?php the_permalink() ?>"><span class="published"><?php the_time('Md'); ?><br /><strong><?php the_time('Y'); ?></strong></span></a>
  971.  
  972. <?php if ( comments_open() ) : ?>
  973. <span class="comment-count"><?php comments_popup_link( __( 'Leave a Comment', 'evolve' ), __( '1 Comment', 'evolve' ), __( '% Comments', 'evolve' ) ); ?></span>
  974. <?php else : // comments are closed
  975. endif; ?>
  976.  
  977. <span class="author vcard">
  978.  
  979. <?php $evl_author_avatar = evl_get_option('evl_author_avatar','0');
  980. if ($evl_author_avatar == "1") { echo get_avatar( get_the_author_meta('email'), '30' );
  981.  
  982. } ?>
  983.  
  984.  
  985.  
  986. <?php _e( 'Written by', 'evolve' ); ?> <strong><?php printf( '<a class="url fn" href="' . get_author_posts_url( $authordata->ID, $authordata->user_nicename ) . '" title="' . sprintf( 'View all posts by %s', $authordata->display_name ) . '">' . get_the_author() . '</a>' ) ?></strong></span>
  987.  
  988.  
  989.  
  990. <?php edit_post_link( __( 'edit', 'evolve' ), '<span class="edit-post">', '</span>' ); ?>
  991. <!--END .entry-meta .entry-header-->
  992. </div>
  993.  
  994. <?php } else { ?>
  995.  
  996. <h1 class="entry-title" style="float:left;"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php if ( get_the_title() ){ the_title();}else{ _e( 'Untitled', 'evolve' ); } ?></a></h1>
  997.  
  998. <?php if ( current_user_can( 'edit_post', $post->ID ) ): ?>
  999.  
  1000. <?php edit_post_link( __( 'EDIT', 'evolve' ), '<span class="edit-post" style="right:10px;position:absolute;bottom:15px;">', '</span>' ); ?>
  1001.  
  1002.  
  1003. <?php endif; ?>
  1004.  
  1005. <br /><br /><?php } ?>
  1006.  
  1007. <!--BEGIN .entry-content .article-->
  1008. <div class="entry-content article">
  1009.  
  1010.  
  1011. <?php if (($evl_excerpt_thumbnail == "1")) { ?>
  1012.  
  1013. <?php if(has_post_thumbnail()) {
  1014. $options = get_option('evolve');
  1015. $thumbsize = $options['evl_custom_thumbnail'];
  1016. echo '<span class="thumbnail-post"><a href="'; the_permalink(); echo '">';the_post_thumbnail(array($thumbsize,$thumbsize)); echo '</a></span>';
  1017.  
  1018. } else {
  1019.  
  1020. $image = evlget_first_image();
  1021. if ($image):
  1022. echo '<span class="thumbnail-post"><a href="'; the_permalink(); echo'"><img src="'.$image.'" alt="';the_title();echo'" /></a></span>';
  1023. endif;
  1024. } ?>
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033. <?php the_excerpt();?>
  1034.  
  1035.  
  1036. <span class="read-more">
  1037. <a href="<?php the_permalink(); ?>"><?php _e('READ MORE &raquo;', 'evolve' ); ?></a>
  1038. </span>
  1039.  
  1040. <?php } else { ?>
  1041.  
  1042.  
  1043. <?php the_content( __('READ MORE &raquo;', 'evolve' ) ); ?>
  1044.  
  1045. <?php wp_link_pages( array( 'before' => '<div id="page-links"><p>' . __( '<strong>Pages:</strong>', 'evolve' ), 'after' => '</p></div>' ) ); ?>
  1046.  
  1047. <?php } ?>
  1048.  
  1049. <!--END .entry-content .article-->
  1050. <div style="clear:both;"></div>
  1051. </div>
  1052.  
  1053.  
  1054.  
  1055. <!--BEGIN .entry-meta .entry-footer-->
  1056.  
  1057. <div class="entry-meta entry-footer">
  1058. <?php if ( evolve_get_terms( 'cats' ) ) { ?>
  1059. <span class="entry-categories"><strong><?php _e('Posted in', 'evolve' ); ?></strong> <?php echo evolve_get_terms( 'cats' ); ?></span>
  1060. <?php } ?><?php if ( evolve_get_terms( 'cats' ) && evolve_get_terms( 'tags' ) ) { ?><span class="meta-sep">-</span><?php } ?>
  1061. <?php if ( evolve_get_terms( 'tags' ) ) { ?>
  1062.  
  1063. <span class="entry-tags"><strong><?php _e('Tagged', 'evolve' ); ?></strong> <?php echo evolve_get_terms( 'tags' ); ?></span>
  1064. <?php } ?>
  1065. <!--END .entry-meta .entry-footer-->
  1066. </div>
  1067.  
  1068. <!--END .hentry--> <?php } ?>
  1069. </div>
  1070.  
  1071.  
  1072. <?php if (($evl_share_this == "single_archive") || ($evl_share_this == "all")) {
  1073. evolve_sharethis(); } else { ?> <div class="margin-40"></div> <?php }?>
  1074. <hr />
  1075.  
  1076. <?php comments_template(); ?>
  1077.  
  1078.  
  1079. <?php endwhile; ?>
  1080.  
  1081.  
  1082. <?php if (($evl_nav_links == "") || ($evl_nav_links == "after") || ($evl_nav_links == "both")) { ?>
  1083.  
  1084.  
  1085.  
  1086. <?php get_template_part( 'navigation', 'index' ); ?>
  1087.  
  1088. <?php } else {?>
  1089.  
  1090. <?php } ?>
  1091.  
  1092. <?php else : ?>
  1093.  
  1094. <?php if (is_search()) { ?>
  1095.  
  1096.  
  1097. <!--BEGIN #post-0-->
  1098. <div id="post-0" class="<?php semantic_entries(); ?>">
  1099.  
  1100. <h1 class="entry-title"><?php _e( 'Your search for', 'evolve' ); ?> "<?php echo the_search_query(); ?>" <?php _e( 'did not match any entries', 'evolve' ); ?></h1>
  1101.  
  1102. <!--BEGIN .entry-content-->
  1103. <div class="entry-content">
  1104. <br />
  1105. <p><?php _e( 'Suggestions:', 'evolve' ); ?></p>
  1106. <ul>
  1107. <li><?php _e( 'Make sure all words are spelled correctly.', 'evolve' ); ?></li>
  1108. <li><?php _e( 'Try different keywords.', 'evolve' ); ?></li>
  1109. <li><?php _e( 'Try more general keywords.', 'evolve' ); ?></li>
  1110. </ul>
  1111. <!--END .entry-content-->
  1112. </div>
  1113. <!--END #post-0-->
  1114. </div>
  1115.  
  1116. <?php } else { ?>
  1117.  
  1118. <!--BEGIN #post-0-->
  1119. <div id="post-0" class="<?php semantic_entries(); ?>">
  1120. <h1 class="entry-title"><?php _e( 'Not Found', 'evolve' ); ?></h1>
  1121.  
  1122. <!--BEGIN .entry-content-->
  1123. <div class="entry-content">
  1124. <p><?php _e( 'Sorry, but you are looking for something that isn\'t here.', 'evolve' ); ?></p>
  1125.  
  1126.  
  1127.  
  1128. <!--END .entry-content-->
  1129. </div>
  1130. <!--END #post-0-->
  1131. </div>
  1132.  
  1133. <hr />
  1134.  
  1135. <?php } ?>
  1136.  
  1137. <?php endif; ?>
  1138.  
  1139.  
  1140.  
  1141. <?php } ?>
  1142.  
  1143. <!----------------------
  1144. -----------------------
  1145. -----------------------
  1146. ---- 1 column end
  1147. -----------------------
  1148. -----------------------
  1149. ----------------------->
  1150.  
  1151. <!----------------------
  1152. -----------------------
  1153. -----------------------
  1154. ---- home/date/category/tag/search/author end
  1155. -----------------------
  1156. -----------------------
  1157. ----------------------->
  1158.  
  1159. <?php } elseif (is_page()) { ?>
  1160.  
  1161.  
  1162. <?php if ( have_posts() ) : ?>
  1163. <?php while ( have_posts() ) : the_post(); ?>
  1164.  
  1165. <!--BEGIN .hentry-->
  1166. <div id="post-<?php the_ID(); ?>" class="<?php semantic_entries(); ?>">
  1167. <h1 class="entry-title"><?php if ( get_the_title() ){ the_title(); }else{ _e( 'Untitled', 'evolve' ); } ?></h1>
  1168.  
  1169. <?php if ( current_user_can( 'edit_post', $post->ID ) ): ?>
  1170.  
  1171. <?php edit_post_link( __( 'EDIT', 'evolve' ), '<span class="edit-page">', '</span>' ); ?>
  1172.  
  1173.  
  1174. <?php endif; ?>
  1175.  
  1176. <br /><br />
  1177.  
  1178. <!--BEGIN .entry-content .article-->
  1179. <div class="entry-content article">
  1180. <?php the_content( __('READ MORE &raquo;', 'evolve' ) ); ?>
  1181. <!--END .entry-content .article-->
  1182. <div class="clearfix"></div>
  1183. </div>
  1184.  
  1185.  
  1186.  
  1187. <!-- Auto Discovery Trackbacks
  1188. <?php trackback_rdf(); ?>
  1189. -->
  1190. <!--END .hentry-->
  1191. </div>
  1192.  
  1193. <?php if (($evl_share_this == "all")) {
  1194. evolve_sharethis(); } ?>
  1195.  
  1196. <?php comments_template( '', true ); ?>
  1197.  
  1198. <?php endwhile; endif; ?>
  1199.  
  1200.  
  1201.  
  1202. <?php } elseif (is_404()) { ?>
  1203.  
  1204. <!--BEGIN #post-0-->
  1205. <div id="post-0" class="<?php semantic_entries(); ?>">
  1206. <h1 class="entry-title"><?php _e( 'Not Found', 'evolve' ); ?></h1>
  1207.  
  1208. <!--BEGIN .entry-content-->
  1209. <div class="entry-content">
  1210. <p><?php _e( 'Sorry, but you are looking for something that isn\'t here.', 'evolve' ); ?></p>
  1211.  
  1212.  
  1213. <!--END .entry-content-->
  1214. </div>
  1215. <!--END #post-0-->
  1216. </div>
  1217.  
  1218.  
  1219.  
  1220. <?php } ?>
  1221.  
  1222.  
  1223. <!--END #primary .hfeed-->
  1224. </div>
  1225.  
  1226.  
  1227. <?php
  1228. if (($evl_layout == "1c"))
  1229.  
  1230.  
  1231. { ?>
  1232.  
  1233.  
  1234. <?php } else { ?>
  1235.  
  1236.  
  1237. <?php get_sidebar(); ?>
  1238.  
  1239. <?php } ?>
  1240.  
  1241. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement