Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

Paste Description for Francisco J

How do I delete the home page in this wordpress template?

Francisco J
Monday, September 26th, 2011 at 3:11:08pm MDT 

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  2. <head profile="http://gmpg.org/xfn/11">
  3. <?php
  4. global $options;
  5. foreach ($options as $value) {
  6.     if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } }
  7. ?>
  8.  <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  9.  <title><?php if (is_single() || is_page() || is_archive()) : ?><?php wp_title('',true); ?> | <?php bloginfo('name'); ?><?php else : ?><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?><?php endif; ?></title>
  10.  <?php if(is_single()){?>
  11.  <link rel="canonical" href="<?php echo get_permalink($post->ID);?>" />
  12.  <?php } ?>
  13.  
  14.  <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  15. <?php if(!empty($crtheme_rss_url)) : ?>
  16.  <link title="RSS 2.0" type="application/rss+xml" href="<?php echo $crtheme_rss_url; ?>" rel="alternate" />
  17. <?php else: ?>
  18.  <link title="RSS 2.0" type="application/rss+xml" href="<?php bloginfo('rss2_url'); ?>" rel="alternate" />
  19. <?php endif; ?>
  20.  <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  21.  <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
  22.  <?php wp_head(); ?>   
  23. </head>
  24. <body>
  25.  
  26. <div id="wrapper" class="encadre">
  27.         <div class="tl"></div>
  28.         <div class="tr"></div>
  29.  
  30.         <div id="header">
  31.                         <div id="social">
  32.                                 <div class="rss">
  33.                                         <?php if(!empty($crtheme_rss_url)) : ?>
  34.                                         <a href="<?php echo $crtheme_rss_url; ?>" title="Subscribe this site."></a>
  35.                                         <?php else: ?>
  36.                                         <a href="<?php bloginfo('rss2_url'); ?>" title="Subscribe this site."></a>
  37.                                         <?php endif; ?>
  38.                                 </div>
  39.                                
  40.                                 <?php if(!empty($crtheme_tw_url)) : ?>
  41.                                 <div class="twitter">
  42.                                 <a href="<?php echo $crtheme_tw_url; ?>" title="Follow me on twitter."></a>
  43.                                 </div>
  44.                                 <?php endif; ?>
  45.                                                        
  46.                                 <?php if(!empty($crtheme_fb_url)) : ?>
  47.                                 <div class="fb">
  48.                                 <a href="<?php echo $crtheme_fb_url; ?>" title="Poke me on facebook."></a>
  49.                                 </div>
  50.                                 <?php endif; ?>
  51.                                
  52.                         </div>
  53.         </div> <!--header ends-->
  54.                 <div id="headerlogo">   
  55.                 <a href="<?php echo get_settings('home') ?>/" id="logo" title="<?php bloginfo('name'); ?>" class="replace"><span><?php bloginfo('name'); ?></span></a>
  56.                
  57.                
  58.         <form id="search_form" method="get" action="<?php bloginfo('home') ?>">
  59.                 <p><input id="s" name="s" type="text" size="21" value="<?php _e('Type your word here...', 'china-red'); ?>" onfocus="if (this.value == '<?php _e('Type your word here...', 'china-red'); ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Type your word here...', 'china-red'); ?>';}" />
  60.                 <input type="submit" id="submit-s" value="" /></p>
  61.         </form> <!--form ends-->
  62. </div>
  63.         <div id="banner">
  64.         </div> <!--banner ends-->
  65.        
  66.         <div id="navigation">
  67.                 <ul>
  68.                         <?php if ($crtheme_navi_list == "Pages") {
  69.                         include (TEMPLATEPATH . '/navi-list.php'); }?>
  70.                         <?php if ($crtheme_navi_list == "Categories") {
  71.                         wp_list_categories('orderby=name&show_count=0&title_li=&hierarchical=0'); }?>
  72.                 </ul>
  73.         </div> <!--navigation ends-->

Paste Details

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.