Title: ElSebas's Replies | WordPress.org

---

# ElSebas

  [  ](https://wordpress.org/support/users/elsebas/)

 *   [Profile](https://wordpress.org/support/users/elsebas/)
 *   [Topics Started](https://wordpress.org/support/users/elsebas/topics/)
 *   [Replies Created](https://wordpress.org/support/users/elsebas/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/elsebas/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/elsebas/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/elsebas/engagements/)
 *   [Favorites](https://wordpress.org/support/users/elsebas/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Header appearing in body tag](https://wordpress.org/support/topic/header-appearing-in-body-tag/)
 *  Thread Starter [ElSebas](https://wordpress.org/support/users/elsebas/)
 * (@elsebas)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/header-appearing-in-body-tag/#post-1861817)
 * Fixed
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Header appearing in body tag](https://wordpress.org/support/topic/header-appearing-in-body-tag/)
 *  Thread Starter [ElSebas](https://wordpress.org/support/users/elsebas/)
 * (@elsebas)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/header-appearing-in-body-tag/#post-1861727)
 * No didn’t make a difference. Here is are some screenshots of the code
 * [⌊codigo3⌉⌊codigo3⌉[
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Header appearing in body tag](https://wordpress.org/support/topic/header-appearing-in-body-tag/)
 *  Thread Starter [ElSebas](https://wordpress.org/support/users/elsebas/)
 * (@elsebas)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/header-appearing-in-body-tag/#post-1861712)
 * Also don’t know why but after the body tag and before the content I see some 
   space in firebug and in Chrome show me some quotes like:
 *     ```
       <html>
        <head>
        </head>
        <body>
          "
              "
         meta tags and stylesheets
         the content
        </body>
       </hmtl>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Header appearing in body tag](https://wordpress.org/support/topic/header-appearing-in-body-tag/)
 *  Thread Starter [ElSebas](https://wordpress.org/support/users/elsebas/)
 * (@elsebas)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/header-appearing-in-body-tag/#post-1861711)
 * Sorry didn’t know that here is the url:
 * [http://wordpress.pastebin.com/JGtnBtw3](http://wordpress.pastebin.com/JGtnBtw3)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Problem with images](https://wordpress.org/support/topic/problem-with-images-10/)
 *  Thread Starter [ElSebas](https://wordpress.org/support/users/elsebas/)
 * (@elsebas)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/problem-with-images-10/#post-1830103)
 * Problem solved thanks!!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Problem with html markup!!](https://wordpress.org/support/topic/problem-with-html-markup/)
 *  Thread Starter [ElSebas](https://wordpress.org/support/users/elsebas/)
 * (@elsebas)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/problem-with-html-markup/#post-1830616)
 * Ok problem solved, just need it to change the div main outside the featured haha
   I can’t believe that I missed that. Anyways thank you randinicole 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Problem with html markup!!](https://wordpress.org/support/topic/problem-with-html-markup/)
 *  Thread Starter [ElSebas](https://wordpress.org/support/users/elsebas/)
 * (@elsebas)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/problem-with-html-markup/#post-1830614)
 * I dont upload the site yet, but here is the full code:
    Index:
 *     ```
       <?php get_header(); ?>
       	<?php if(is_home() && !is_paged()): ?>
       		<?php include (TEMPLATEPATH .'/featured.php'); ?>
       	<?php endif; ?>
       		<div id="wrap_minipost">
       			<?php
       				$limit = get_option('post_per_page');
       				query_posts('showposts='.$limit.'&paged='.$paged.'&cat=-7'); ?>
       				<?php if(have_posts()) :?>
       					<?php while(have_posts()) : the_post(); ?>
       					<!--haz lo que tengas q hacer aqui-->
       					<div id="pst">
       						<div class="img_minipost">
       							<img src="<?php echo get_post_meta($post->ID, 'thumbnail', true)  ?>" alt="Post Image" class="postimg" />
       							<section class="border"></section>
       							<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
       							<div class="fecha">
       								<span class="dia"><?php the_time('j') ?></span>
       								<span class="mes"><?php the_time('M') ?></span>
       							</div><!--Termina fecha-->
       						</div><!--Termina img_minipost-->
       						<?php the_content(''); ?><!--El Contenido-->
       						<p><a href="<?php the_permalink(); ?>" rel="leer">Leer mas</a></p>
       					</div><!--Se cierra pst-->
       					<!--haz lo que tengas q hacer aqui-->
       					<?php endwhile; ?>
       				<?php else: ?>
       						<h2>No hay nada</h2>
       						<p>Lo siento, pero lo que buscas no esta aqui</p>
       						<p><a href="<?php echo get_option('home'); ?>">Regresar al inicio</a></p>
       				<?php endif; ?>
       			<div id="pagination">
       				<ul>
       					<li class="anteriores"><?php next_posts_link('Articulos anteriores') ?></li>
       					<li class="nuevos"><?php previous_posts_link('Articulos nuevos') ?></li>
       				</ul>
       			</div><!--Termina pagination-->
       		</div><!--Termina wrap_minipost-->
       	</div><!--Termina main-->
       	<?php get_sidebar(); ?>
       	<div id="footer">
       	</div><!--Termina footer-->
   
       <?php get_footer(); ?>
       ```
   
 * Featured:
 *     ```
       <div id="main">
       		<div id="wrap_featured">
       			<?php $my_query = new WP_Query('category_name=Featured&showposts=2');
       			while ($my_query->have_posts()) : $my_query->the_post();
       			$do_not_duplicate = $post->ID; ?>
       				<div id="featured_post">
       					<img src="<?php echo get_post_meta($post->ID, 'imagen_principal', true)  ?>" alt="Post Image" class="postimg" />
       					<div id="info_post">
       						<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
       						<?php the_content(''); ?>
       					</div><!--Termina info_post-->
       				</div><!--Termina featured_post-->
       				<?php endwhile; ?>
       		</div><!--Termina wrap_featured-->
       ```
   
 * Page:
 *     ```
       <?php get_header(); ?>
       	<?php if(is_home() && !is_paged()): ?>
       		<?php include (TEMPLATEPATH .'/featured.php'); ?>
       	<?php endif; ?>
       	<div id="main">
       		<div id="wrap_minipost">
       			<?php
       				$limit = get_option('post_per_page');
       				query_posts('showposts='.$limit.'&paged='.$paged.'&cat=-7'); ?>
       				<?php if(have_posts()) :?>
       					<?php while(have_posts()) : the_post(); ?>
       					<!--haz lo que tengas q hacer aqui-->
       					<div id="pst">
       						<div class="img_minipost">
       							<img src="<?php echo get_post_meta($post->ID, 'thumbnail', true)  ?>" alt="Post Image" class="postimg" />
       							<section class="border"></section>
       							<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
       							<div class="fecha">
       								<span class="dia"><?php the_time('j') ?></span>
       								<span class="mes"><?php the_time('M') ?></span>
       							</div><!--Termina fecha-->
       						</div><!--Termina img_minipost-->
       						<?php the_content(''); ?><!--El Contenido-->
       						<p><a href="<?php the_permalink(); ?>" rel="leer">Leer mas</a></p>
       					</div><!--Se cierra pst-->
       					<!--haz lo que tengas q hacer aqui-->
       					<?php endwhile; ?>
       				<?php else: ?>
       						<h2>No hay nada</h2>
       						<p>Lo siento, pero lo que buscas no esta aqui</p>
       						<p><a href="<?php echo get_option('home'); ?>">Regresar al inicio</a></p>
       				<?php endif; ?>
       			<div id="pagination">
       				<ul>
       					<li class="anteriores"><?php next_posts_link('Articulos anteriores') ?></li>
       					<li class="nuevos"><?php previous_posts_link('Articulos nuevos') ?></li>
       				</ul>
       			</div><!--Termina pagination-->
       		</div><!--Termina wrap_minipost-->
       	</div><!--Termina main-->
       	<?php get_sidebar(); ?>
       	<div id="footer">
       	</div><!--Termina footer-->
   
       <?php get_footer(); ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Problem with images](https://wordpress.org/support/topic/problem-with-images-10/)
 *  Thread Starter [ElSebas](https://wordpress.org/support/users/elsebas/)
 * (@elsebas)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/problem-with-images-10/#post-1829943)
 * Ok I dont get it sorry :(, where do I put that,
 *     ```
       <img src="<?php echo get_post_meta($post->ID, 'thumbnail', true)  ?>" alt="Post Image" class="img_catfeat" />
       ```
   
 * I do what?
 *     ```
       <img src="<?php echo get_post_meta($post->ID, array(Featured,thumbnail), true)  ?>" alt="Post Image" class="img_catfeat" />
       ```
   
 * Sorry could you be more specific

Viewing 8 replies - 1 through 8 (of 8 total)