Ver Mensaje Individual
  #5 (permalink)  
Antiguo 14/04/2015, 10:43
bbrian
 
Fecha de Ingreso: enero-2010
Mensajes: 400
Antigüedad: 14 años, 3 meses
Puntos: 6
Respuesta: Mi web en un Hosting se ve de una manera y en otro diferente

El footer de el tema que funciona bien es asi:
Código PHP:
Ver original
  1. </div>
  2.  
  3. <?php wp_reset_query(); ?>
  4. <?php $showgallery1 = get_settings ( "cp_showpostgallery" );
  5.       $showgallery2 = get_settings ( "cp_showarchivegallery" );
  6.           if ( (is_home()) || (is_search() && $showheadline2 != "no") || (is_archive() && $showgallery2 != "no") || (is_single() && $showgallery1 != "no") ) { ?>
  7. <style type="text/css">
  8. <!--
  9. .Estilo4 {
  10.     font-family: Arial, Helvetica, sans-serif;
  11.     font-size: 11px;
  12.     font-weight: bold;
  13.     color: #FFFFFF;
  14. }
  15. .Estilo5 {font-size: 11px; color: #FFFFFF; font-family: Arial, Helvetica, sans-serif;}
  16. -->
  17. </style>
  18.  
  19.          
  20. <div id="gallery" class="clearfloat">
  21.  
  22.  
  23.    
  24.     <div id="video">
  25.    
  26.         <?php $ar_video = get_settings( "ar_video" );
  27.             if( $ar_video == 0 ) { $ar_video = $cp_categories[0]->cat_ID; }
  28.             query_posts( 'showposts=1&cat=' . $ar_video ); ?>
  29.        
  30.        
  31.         <?php while (have_posts()) : the_post(); ?>    
  32.  
  33.        
  34.        
  35.  
  36.  
  37.   </div>
  38.        
  39.        
  40.         <?php endwhile; ?></div>
  41.        
  42.     </div>
  43.    
  44. </div>
  45. <?php } ?>
  46. <center>
  47. <div id="fin"></div>
  48. </center>
  49. </body>
  50. </html>

Y el que no funciona es asi:
Código PHP:
Ver original
  1. </div>
  2.  
  3. <?php wp_reset_query(); ?>
  4. <?php $showgallery1 = get_settings ( "cp_showpostgallery" );
  5.       $showgallery2 = get_settings ( "cp_showarchivegallery" );
  6.           if ( (is_home()) || (is_search() && $showheadline2 != "no") || (is_archive() && $showgallery2 != "no") || (is_single() && $showgallery1 != "no") ) { ?>
  7. <style type="text/css">
  8. <!--
  9. .Estilo4 {
  10.     font-family: Arial, Helvetica, sans-serif;
  11.     font-size: 11px;
  12.     font-weight: bold;
  13.     color: #FFFFFF;
  14. }
  15. .Estilo5 {font-size: 11px; color: #FFFFFF; font-family: Arial, Helvetica, sans-serif;}
  16. -->
  17. </style>
  18.  
  19.          
  20. <div id="gallery" class="clearfloat">
  21.  
  22.  
  23.    
  24.     <div id="video">
  25.    
  26.         <?php $ar_video = get_settings( "ar_video" );
  27.             if( $ar_video == 0 ) { $ar_video = $cp_categories[0]->cat_ID; }
  28.             query_posts( 'showposts=1&cat=' . $ar_video ); ?>
  29.        
  30.        
  31.         <?php while (have_posts()) : the_post(); ?>    
  32.  
  33.        
  34.        
  35.  
  36.  
  37.   </div>
  38.        
  39.        
  40.         <?php endwhile; ?></div>
  41.        
  42.     </div>
  43.    
  44. </div>
  45. <?php } ?>
  46. <center>
  47. <div id="fin"></div>
  48. </center>
  49. </body>
  50. </html>

No encuentro la diferencia