Foros del Web » Creando para Internet » Sistemas de gestión de contenidos » WordPress »

Activar una web hel!

Estas en el tema de Activar una web hel! en el foro de WordPress en Foros del Web. hola que tal a todos bueno espero me ayuden me :. soy nuevo en esto me descargue un WP theme de flashxml.net .. descomprimi el ...
  #1 (permalink)  
Antiguo 13/07/2011, 01:00
 
Fecha de Ingreso: julio-2011
Ubicación: casma
Mensajes: 1
Antigüedad: 12 años, 9 meses
Puntos: 0
Pregunta Activar una web hel!

hola que tal a todos bueno espero me ayuden me :. soy nuevo en esto me descargue un WP theme de flashxml.net .. descomprimi el archivo y ahi habia instrucciones que dedia que la carpeta deberia estar en wordpress/wp-content/.. y subi la carpeta ami host web ... donde lo puse en public_html/wordpress/wp-content pero cuando ingreso a ver la web me sale un problema algo de activar o algo asi este es el error :
Lo pueden ver aqui :

Fatal error: Call to undefined function get_header() in /home/--xxxxxx---/public_html/wordpress/wp-content/themes/laguna/index.php on line 15
aqui esta el codigo
Código PHP:
Ver original
  1. <?php
  2. /**
  3.  * @package WordPress
  4.  * @subpackage laguna
  5.  */
  6.  
  7. $pagenum = $wp_query->query_vars;
  8. $pagenum = $pagenum['paged'];
  9.  
  10. if (empty($pagenum)) {
  11. $pagenum = 1;
  12. }
  13. ?>
  14.  
  15. <?php get_header(); ?>
  16.                    
  17.                     <!-- HEADER START -->  
  18.                                
  19.                                     <div id="header">
  20.                                         <div class="bg">
  21.                                             <div class="center">
  22.                                            
  23.                                             <div class="slideshow_comp"><?php fximagebeforeafter_echo_embed_code(); ?></div>
  24.                                            
  25.                                             <div class="meniu">
  26.                                                 <div class="mid">
  27.                                                  <!-- MENIU START -->
  28.                                                     <div id="navigation">
  29.                                                         <ul id="menu-navigation" class="menu">
  30.                                                                     <?php
  31.                                                                         $my_pages = wp_list_pages('echo=0&title_li=');
  32.                                                                         $var1 = '<a';
  33.                                                                         $var2 = '<a';
  34.                                                                         $var3 = '</a';
  35.                                                                         $var4 = '</a';
  36.                                                                         $my_pages = str_replace($var1, $var2, $my_pages);
  37.                                                                         $my_pages = str_replace($var3, $var4, $my_pages);
  38.                                                                         echo $my_pages;
  39.                                                                     ?>
  40.                                                         </ul>
  41.                                                        
  42.                                                     </div>
  43.                                                 <!-- MENIU END --> 
  44.                                                
  45.                                                     <div class="searchform"><h6><?php _e('Search','Theme'); ?>:</h6><?php get_search_form(); ?> </div>
  46.                                                 </div> 
  47.                                             </div> 
  48.                                           </div>       
  49.                                          </div>    
  50.                                   </div>   
  51.                              <!-- HEADER END -->
  52.             <!-- CONTENT START -->
  53.                                
  54.                                 <div class="center">
  55.                                    
  56.                                         <div class="content">
  57.                                                    
  58.                         <!--CONTENT left START --> 
  59.                                 <div class="left">
  60.                                      <div class="box">
  61.                                         <div class="box_top"></div>
  62.                                         <div class="box_mid">
  63.                                             <h1><?php _e('Categories','Theme'); ?></h1>
  64.                                             <div class="clear"></div>
  65.                                             <ul class="categ">
  66.                                                 <?php wp_list_categories('title_li='); ?>
  67.                                             </ul>
  68.                                         </div>
  69.                                         <div class="box_bot"></div>
  70.                                     </div>
  71.                            
  72.                                  <!-- BOX START -->
  73.                                    
  74.                                    
  75.                                    
  76.                                         <!-- BOX END -->
  77.                                
  78.                                      <div class="box">
  79.                                         <div class="box_top"></div>
  80.                                         <div class="box_mid">
  81.                                             <h1><?php _e('Archives','Theme'); ?></h1>
  82.                                             <div class="clear"></div>
  83.                                             <ul class="categ">
  84.                                                 <?php wp_get_archives('title_li='); ?>
  85.                                             </ul>
  86.                                         </div>
  87.                                         <div class="box_bot"></div>
  88.                                     </div>
  89.                            
  90.                                  <!-- BOX START -->
  91.                                    
  92.                                 </div>
  93.                     <!--CONTENT left END -->
  94.                    
  95.                     <!--CONTENT right START -->
  96.                                                        
  97.                             <div class="right">
  98.                              <?php
  99.                                             query_posts(array('category__not_in' => array(get_cat_id('portfolio')), 'posts_per_page' => 3, 'orderby' => 'date', 'paged' => $pagenum));
  100.                                            
  101.                                             ?> 
  102.                                            
  103.                                         <?php if (have_posts()) : ?>
  104.                                     <?php $post = $posts[0]; $c=0;?>   
  105.                                         <?php while (have_posts()) : the_post(); ?>
  106.                                             <?php $c++;
  107.                                             if( !$paged && $c <= 1 ) :?>
  108.                                            
  109.                                            
  110.                                     <!-- One_post START -->
  111.                              
  112.                                         <div class="one_post">
  113.                                         <?php if ( has_post_thumbnail() ): ?>    
  114.                                                                            
  115.                                        
  116.                                             <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>         
  117.                                             <h6><?php $u_time = get_the_time('U');
  118.                         $u_modified_time = get_the_modified_time('U');
  119.                         if ($u_modified_time >= $u_time + 0) {
  120.                         echo "Last updated ";
  121.                         the_modified_time('d/m/Y');
  122.                         } ?></h6>  
  123.                                            
  124.                                             <div class="pic"><a href="<?php the_permalink() ?>"  rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_post_thumbnail(array(600, 400));?></a></div>
  125.                                             <p><?php truncate_post(370); ?></p>
  126.                                            
  127.                                         </div>
  128.                                                                     <?php else : ?>
  129.                                                                    
  130.                                             <div class="one_post">
  131.                                        
  132.                                             <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>     
  133.                                                 <h6><?php $u_time = get_the_time('U');
  134.                         $u_modified_time = get_the_modified_time('U');
  135.                         if ($u_modified_time >= $u_time + 0) {
  136.                         echo "Last updated ";
  137.                         the_modified_time('d/m/Y');
  138.                         } ?></h6>  
  139.                                             <p><?php truncate_post(300); ?></p>
  140.                                            
  141.                                         </div>
  142.                                    
  143.                                     <?php endif; ?>
  144.                                    
  145.                                         <?php else :?>
  146.                                     <!-- One_post START -->
  147.                                         <div class="bottom_post">
  148.                                        
  149.                                                 <div class="post_b">                       
  150.                                             <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
  151.                                            
  152.                                             <p><?php truncate_post(200); ?></p>
  153.                                             <div class="readmore"><a href="<?php the_permalink() ?>" class="learn" rel="bookmark" title="Permanent Link to  <?php the_title_attribute(); ?>">read more</a></div>
  154.                                         </div>
  155.                                         </div>
  156.                                    
  157.                                     <?php endif; ?>    
  158.                                                
  159.                        
  160.                                
  161.                                      <?php endwhile; ?>
  162.                         <?php endif; ?>    
  163.                         </div>
  164.                                                            
  165.                            
  166.                     <!--CONTENT right END -->                                  
  167.                                            
  168.     <?php get_footer(); ?> 
  169.     </div> 
  170.         </div>

necesito ayuda porfa .. gracias de antemano

Última edición por carlos148_4; 13/07/2011 a las 01:34

Etiquetas: aplicaciones-prefabricadas
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 12:30.