mikeysyd
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: I can't edit my main pageyes its not there! I dont understand why
Forum: Fixing WordPress
In reply to: older and newer entries links url is wrongthank you! that did it! I originally added that line by the instruction of an online course.
Forum: Fixing WordPress
In reply to: older and newer entries links url is wronghmm I really can’t figure this out.
Forum: Fixing WordPress
In reply to: older and newer entries links url is wrongI am just having a look at my .htacess
Forum: Fixing WordPress
In reply to: older and newer entries links url is wrongI have removed the extra slash and now it has stopped the above error but now all it dose is visit the current post when I click older or newer entry.
I originally had a nicer permalink but it was giving me problems when I first started so I put it back to the ugly one.
Forum: Fixing WordPress
In reply to: older and newer entries links url is wrongForum: Fixing WordPress
In reply to: older and newer entries links url is wrongpage.php `<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<h2><?php the_title(); ?></h2>
<?php include (TEMPLATEPATH . ‘/inc/meta.php’ ); ?>
<div class=”entry”>
<?php the_content(); ?>
<?php wp_link_pages(array(‘before’ => ‘Pages: ‘, ‘next_or_number’ => ‘number’)); ?>
</div>
<?php edit_post_link(‘Edit this entry.’, ‘<p>’, ‘</p>’); ?>
</div>
<?php // comments_template(); ?>
<?php endwhile; endif; ?>
Forum: Fixing WordPress
In reply to: older and newer entries links url is wrong`<div class=”next-posts”><?php next_posts_link(‘« Older Entries’) ?></div>
<div class=”prev-posts”><?php previous_posts_link(‘Newer Entries »’) ?></div>Forum: Fixing WordPress
In reply to: older and newer entries links url is wrong`<?php query_posts(“posts_per_page=1”) ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?><div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
<h2><a href=”<?php the_permalink() ?>”><?php the_title(); ?></a></h2>
<?php include (TEMPLATEPATH . ‘/inc/meta.php’ ); ?>
<div class=”entry”>
<?php the_content(); ?>
</div>
<div id=”comments”>
<div class=”postmetadata”>
<div class=”tags”>
<?php the_tags(‘Tags: ‘, ‘, ‘, ‘<br />’); ?>
</div>
<?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?>
</div>
</div>
</div><?php endwhile; ?>
<?php include (TEMPLATEPATH . ‘/inc/nav.php’ ); ?>
<?php else : ?>
<h2>Not Found</h2>
<?php endif; ?>