Forums

Can't start a new Page (11 posts)

  1. SusieN
    Member
    Posted 5 years ago #

    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(); ?>

  2. SusieN
    Member
    Posted 5 years ago #

    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??

  3. SusieN
    Member
    Posted 5 years ago #

    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?

  4. shadow
    Member
    Posted 5 years ago #

    Dp you have any plugin that relates to a calendar?

  5. Chris_K
    Member
    Posted 5 years ago #

    Or a directory named "calendar" in your WordPress install directory?

  6. SusieN
    Member
    Posted 5 years ago #

    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?

  7. Chris_K
    Member
    Posted 5 years ago #

    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).

  8. SusieN
    Member
    Posted 5 years ago #

    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...

  9. SusieN
    Member
    Posted 5 years ago #

    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...

  10. SusieN
    Member
    Posted 5 years ago #

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

  11. redbud
    Member
    Posted 5 years ago #

    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"?

Topic Closed

This topic has been closed to new replies.

About this Topic