• This is the weirdest thing. Everything has been working fine until this evening when I’m trying to add a new Page. Everything looks like it’s right inside the administration area. However, when I click on the new Page to view it (from the site nav), I am taken to the main blog page.

    Has anyone had this problem?

    Editing to add…here’s the code I have in page.php

    <?php get_header(); ?>

    <div id=”content”>

    <?php get_sidebar(); ?>

    <div id=”text”>

    <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>

    <div class=”post” id=”post-<?php the_ID(); ?>”>

    <div class=”entry”>
    <?php the_content(); ?> <!– post content –>

    <?php link_pages(‘<p>Pages: ‘, ‘</p>’, ‘number’); ?>
    <?php edit_post_link(‘Edit’, ‘<p>’, ‘</p>’); ?>

    </div> <!– end .entry –>

    </div> <!– end .post –>

    <?php endwhile; ?>

    <?php else : ?>

    <div class=”post”>
    <h2><?php _e(‘Not Found’); ?></h2>
    </div> <!– end .post –>

    <?php endif; ?>

    </div> <!– end #text –>

    </div> <!– end #content –>
    </div> <!– end #wrapper –>

    <?php get_footer(); ?>

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter susien

    (@susien)

    For a minute this morning, I was able to add a page regularly and it worked. Now it’s not working again. What could be the problem??

    Thread Starter susien

    (@susien)

    Here’s something odd. If I try to name my new page “Calendar”, the above happens. If I name it any other thing, it is okay. Does anyone know a way around this?

    Dp you have any plugin that relates to a calendar?

    Or a directory named “calendar” in your WordPress install directory?

    Thread Starter susien

    (@susien)

    Thanks for your replies.

    I don’t have a calendar related plugin.

    I do have a directory named “calendar” because I’m using the Easy PHP Calendar. And since WordPress is in the root directory, this is causing the problem, huh? I never even suspected this.

    But even if I try a name like Event Calendar, it still won’t work. If the word calendar appears in the title, it seems like it won’t take. Is there anything I can do?

    Off the top of my head…

    if you renamed an existing page from “Calendar” to “Event Calendar”, also be sure to rename the slug (it’s in the right column of the page editor).

    Thread Starter susien

    (@susien)

    I did rename the slug and it still didn’t work. I really wish there was a way to have calendar in the name… Hmmm…

    Thread Starter susien

    (@susien)

    I’m back again. I was wondering if you could help me with something related to this problem.

    hid denpoi nteo nthe lake.org/planner

    This is the Easy PHP Calendar to which I referred earlier. The calendar navigation is not working properly. I can’t go from month to month with it. The people at the Easy PHP Calendar support forums say it’s because of the way WordPress pages work and that I need to add the following to the page I’ve created to hold the calendar:

    $thisPage=”/planner”;

    Is there a way to do this? I wouldn’t have a clue since WordPress is generating the page…

    Thread Starter susien

    (@susien)

    Just wondering if anyone here knows how I can add $thisPage to my Page? ??

    I’m having a similar issue. The Easy PHP Calendar program is installed in a directory named “calendar”. I have a WordPress Page (note the capital “P”) also named “calendar”.

    I don’t want to change the name of the Page in WordPress. Any suggestions on what I can do?

    The ultimate question is:
    Has anyone successfully installed Easy PHP Calendar in a WordPress site (with static pages) and had the static page for the calendar named “calendar”?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Can’t start a new Page’ is closed to new replies.