Title: Validation problems
Last modified: August 19, 2016

---

# Validation problems

 *  Resolved [shylaz](https://wordpress.org/support/users/shylaz/)
 * (@shylaz)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/validation-problems-1/)
 * Hi!
    I have redesinged the postmetadata section of my website and since then 
   I have a couple of validation errors. I’m quite new to WordPress and CSS, and
   I don’t really know how to fix these errors.
 * **Validation results:** [here](http://validator.w3.org/check?uri=http%3A%2F%2Findex.hu%2F&charset=(detect+automatically)&doctype=Inline&group=0)
   **
   Affected pages:** _Index.php:_
 *     ```
       <?php get_header(); ?>
   
       	<div id="content" class="narrowcolumn">
   
       	<?php if (have_posts()) : ?>
   
       		<?php while (have_posts()) : the_post(); ?>
   
       			<div class="post" id="post-<?php the_ID(); ?>">
       				<h2><a>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
       <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
       				<small><?php the_time(__('Y. F d. l', 'kubrick')) ?> <!-- by <?php the_author() ?> --></small>
   
       				<div class="entry">
       					<?php the_content(__('Read the rest of this entry &raquo;', 'kubrick')); ?>
       				</div>
   
       				<p class="postmetadata"><?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', ''); ?> <img src="http://hookahclub.org/wp-content/themes/default/images/document.gif"> <?php printf(__('Kategória: %s', 'kubrick'), get_the_category_list(', ')); ?> | <?php edit_post_link(__('Edit', 'kubrick'), '', ' | '); ?>  <span class="nocomments"><?php comments_popup_link(__('0', 'kubrick'), __('1 »', 'kubrick'), __('% »', 'kubrick')); ?></span>
   
       			</div>
   
       		<?php endwhile; ?>
   
       		<div class="navigation">
       			<div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries', 'kubrick')) ?></div>
       			<div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;', 'kubrick')) ?></div>
       		</div>
   
       	<?php else : ?>
   
       		<h2 class="center"><?php _e('Not Found', 'kubrick'); ?></h2>
       		<p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'kubrick'); ?>
   
       		<?php include (TEMPLATEPATH . "/searchform.php"); ?>
   
       	<?php endif; ?>
   
       	</div>
   
       <?php get_sidebar(); ?>
   
       <?php get_footer(); ?>
       ```
   
 * and _single.php:_
 *     ```
       <?php get_header(); ?>
   
       	<div id="content" class="narrowcolumn">
   
       	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
   
                       <div class="navigation">
       			<div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
       			<div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
                       </div>
   
       <div class="post" id="post-<?php the_ID(); ?>">
       			<h2><?php the_title(); ?></h2>
       <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
       <small><?php the_time(__('Y. F d. l', 'kubrick')) ?></small>
       			<div class="entry">
       				<?php the_content('<p class="serif">' . __('Read the rest of this entry &raquo;', 'kubrick') . '
       '); ?>
   
       				<?php wp_link_pages(array('before' => '<strong>' . __('Pages:', 'kubrick') . '</strong> ', 'after' => '
       ', 'next_or_number' => 'number')); ?>
       				<?php the_tags( '' . __('Tags:', 'kubrick') . ' ', ', ', '
       '); ?>
   
       				<p class="postmetadataalt">
       					<small>
       						<?php /* This is commented, because it requires a little adjusting sometimes.
       							You'll need to download this plugin, and follow the instructions:
       							http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
       							/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); $time_since = sprintf(__('%s ago', 'kubrick'), time_since($entry_datetime)); */ ?>
       						<?php printf(__('Kategória: %s', 'kubrick'), get_the_category_list(', ')); ?>
       						| <?php printf(__("<a href='%s'>Hozzászólások RSS csatornán</a>", "kubrick"), get_post_comments_feed_link()); ?> 
   
       						<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
       							// Both Comments and Pings are open ?>
       							| <?php printf(__('<a href="%s" rel="trackback">Visszajelzés</a>', 'kubrick'), trackback_url(false)); ?>
   
       						<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
       							// Only Pings are Open ?>
       							<?php printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'kubrick'), trackback_url(false)); ?>
   
       						<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
       							// Comments are open, Pings are not ?>
       							<?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.', 'kubrick'); ?>
   
       						<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
       							// Neither Comments, nor Pings are open ?>
       							<?php _e('Both comments and pings are currently closed.', 'kubrick'); ?>
   
       						| <?php } edit_post_link(__('Edit this entry.', 'kubrick'),'',''); ?>
       					</small>
   
       			</div>
       		</div>
   
       	<?php comments_template(); ?>
   
       	<?php endwhile; else: ?>
   
       		<?php _e('Sorry, no posts matched your criteria.', 'kubrick'); ?>
   
       <?php endif; ?>
   
       	</div>
   
       <?php get_sidebar(); ?>
   
       <?php get_footer(); ?>
       ```
   
 * **My site:**[here](http://hookahclub.org/)
 * If you could send me a valid copy of these pages or show me the (detailed!) way
   it can be fixed, would be very kind of you!
 * Regards,
    shylaz

Viewing 1 replies (of 1 total)

 *  Thread Starter [shylaz](https://wordpress.org/support/users/shylaz/)
 * (@shylaz)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/validation-problems-1/#post-794731)
 * Problem solved.

Viewing 1 replies (of 1 total)

The topic ‘Validation problems’ is closed to new replies.

## Tags

 * [images](https://wordpress.org/support/topic-tag/images/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)
 * [w3](https://wordpress.org/support/topic-tag/w3/)
 * [xhtml](https://wordpress.org/support/topic-tag/xhtml/)

 * 1 reply
 * 1 participant
 * Last reply from: [shylaz](https://wordpress.org/support/users/shylaz/)
 * Last activity: [17 years, 11 months ago](https://wordpress.org/support/topic/validation-problems-1/#post-794731)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
