But now I have the following problem for the “blog” page:
I can view the page correctly in “Edit Page” mode.
But if I press “Preview Changes” it takes me to an older version of my Home page (not the current version of the “blog” page).
And if I press “View Page” it takes me to a different incorrect page, a ghost version of my “blog” page that was deleted (and trash emptied!).
If I simply click “Visit Site” and then click on the top menu link to “Blog” then it takes me to the ghost version as above.
If I designate the “contacts” page as the static posts page, then I can view the “blog” page normally, but the problem occurs to the “contacts” page instead (showing either a ghost version of the blog page, or an outdated version of the home page).
I have refreshed the permalinks as described in other support posts. I have logged out of WP and logged in again. I have cleared my browser cache. None of these things helped.
I deactivated the WP Maintenance Mode plugin and then deleted it, and then logged out of WP and back in again, but it has not helped.
Since this was a design test site, I don’t have any other plugins installed or running yet except WordPress Importer and Limit Login Attempts.
When I search for help in the forums I see people mentioning maintenance mode plugins sometimes in conjunction with this problem. I haven’t seen any threads about this issue that were definitely resolved with a solution that would be applicable to everyone. The WP MM plugin looks abandoned to me — hasn’t been updated in a year, and no support queries answered on their page.
I’ve seen some things in support forum threads that seem to suggest that a maintenance mode plugin could have created some lasting change that would not be reversed by simply deleting the plugin?
My site is at gaelic.co.
Thank you very much.
]]>Thank you
]]>What could be the problem ?
]]>So far I just have
index.php
page.php
I have not created any category or single templates.
My wordpress loop on index.php looks like:
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>"><div class="padding"><!--post-->
<div class="date"><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></div>
<div class="title"><h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2></div><br class="clear" />
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
<div class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></div>
</div></div><!--post-->
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php get_search_form(); ?>
<?php endif; ?>
My loop on page.php looks like:
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>"><div class="padding"><!--post-->
<div class="title"><h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2></div><br class="clear" />
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
</div></div><!--post-->
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php get_search_form(); ?>
<?php endif; ?>
I am usually able to find what I’m looking for in the docs and on the forums, but I can’t seem to figure out what is causing this? I would expect that it should just show the posts, and maybe the title and description written on the news page if anything. Is there something I should be adding to my templates? Should I create a new template for news (news.php)? Note that I tried doing that as well but it didn’t seem to have any affect.
]]>Does anyone know how to do this?
Thanks in advance
Rob
]]>