roger17
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: My Custom manu is not showing up?can you please tell me what kind of warning you got?
Forum: Fixing WordPress
In reply to: My Custom manu is not showing up?here is my header.php
and this is my header.html
Forum: Fixing WordPress
In reply to: My Custom manu is not showing up?Here is my header.php code.
Forum: Fixing WordPress
In reply to: My Custom manu is not showing up?yes I created one and I am sure it doesn’t have any problem. the problem lies in my header.php.because of which it’s not shoeing up on the site.
[ Please do not bump, that’s not permitted here. ]
Forum: Fixing WordPress
In reply to: Comments go to wrong postThank you very much for your great help. The problem is solved now.
This worked perfectly.
<?php endwhile; wp_reset_postdata(); ?>
Forum: Fixing WordPress
In reply to: Comments go to wrong postThank you for guiding newcomer like me.
By the way,
I tried to put <?php wp_reset_postdata(); wp_reset_query(); ?> after
<?php include TEMPLATEPATH. ‘/templates/more.latest.inpost.html’; ?> but that didn’t work.So, here i am posting my ‘more.latest.inpost.html’ code.
Forum: Fixing WordPress
In reply to: Comments go to wrong postI am sorry but i am new to this coding. Can you please help me where to put wp_reset_postdata() or wp_reset_query() in single.php.
Here is my single.php
[please use the ‘code’ button to mark any posted code – to keep it readable and intact – the code below is partly broken]
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="sitenav"> <a>">Home</a>?????<?php the_category(', '); ?>?????<?php single_post_title(); ?> </div> <div id="post-<?php the_ID(); ?>" class="post"> <h1><?php the_title(); ?></h1> <ul class="postinfo"> <li><?php the_time('l, F j, Y, G:i'); ?></li> <li class="ncat"><?php the_category(', ') ?> <div class="clear"></div> <div class="entry"> <?php the_content('Read full entry ?'); ?> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div><div class="clear"></div> <ul class="postinfoB"> <li class="nshare"><a href="#bookmarks">Share</a> <?php if(function_exists('wp_print')) { print '<li class="nprint">'; print_link(); print ''; } ?> <div class="clear"></div> <?php include TEMPLATEPATH. '/templates/more.latest.inpost.html'; ?> <!-- <?php trackback_rdf(); ?> --> </div><!-- post --> <?php endwhile; ?> <!-- navigation here --> <div class="nav"> <div class="alignleft"><?php previous_post_link('? <strong>%link</strong>') ?></div> <div class="alignright"><?php next_post_link('<strong>%link</strong> ?') ?></div> <div class="clear"></div> </div> <?php comments_template(); ?> <?php else : ?> <!-- not found here --> <?php include TEMPLATEPATH. '/templates/not.found.html'; ?> <?php endif; ?>
Forum: Fixing WordPress
In reply to: Comments go to wrong post