Support » Fixing WordPress » Edits via Dashboard do not post to live home page.

  • I am creating a theme from scratch for the first time and have run into a very weird problem. When i edit my home page in the Dashboard’s Edit Page, those changes do not display to the live page.

    The only way i can add or change content on the Home page is to manually add it into the content area of this page’s template, Front-page.php, in Dreamweaver. The content I upload via Dreamweaver appears intact in the Dashboard’s Edit Page; however, if i try to make changes to the content there, none of those edits post to the live home page. So then I return to view the Home page in Dashboard’s Edit Page, and there I see my edits… What is keeping these edits from being posted to the live home page?

    I am using WordPress 3.6.

    This site’s url is: http://pennyrosenwasser.com/aug2013wp/

    How I created my home page:
    – I created a new page in the Dashboard and named it Home.
    – I selected the template file Front-page.php as this page’s template.
    – I selected ‘use static page’ and selected Home as that page in Settings/Readings.

    Here is the code for my Front-page.php, with all the content removed to conserve space:
    <?php
    /*
    Template Name: Front-page template
    */
    ?>

    <?php get_header(); ?>

    <!–content sits in here–>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    Last, but probably not least: I switched to a different theme and this problem went away!

    Please let me know if there is anything else you would like to know.

    Thank you in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter susantau

    (@susantau)

    p.s. none of the other pages of my site are built yet.

    I will be very pleased to see the reply to this one. I began using WP for the first time on Sunday (after being told its much easier than the Dreamweaver I already bought!) – and I have exactly the same problem – I can’t get it to overwrite whats on the hosting.

    It feels likes I’ve lost 48hrs of my life when I would have done it all in Dreamweaver!

    Thread Starter susantau

    (@susantau)

    NEW IMPORTANT CLUES:
    I decided to turn my attention to other pages on this site so I created an About page in Pages (Add New) and then uploaded a new template for a no-sidebar page, selected that template for the new About page and then typed some text into the Edit Page area. This text does not post live – so this is not just a problem with the HOME page. Then I tried adding text to the content area of the no-sidebar.php template in Dreamweaver and uploaded the edited page – and the newly added text appears just fine live but does NOT appear when I looked at it in Edit Page (this is different from the Home page, after I upload new text to the Home page from Dreamweaver I can see the new stuff when I look at it in Edit Page).

    @melrsb – I’ve never encountered this prob with WP before. WP really IS an easy CMS to use for the general populace. I hope someone answers me sometime soon too! 🙂

    Thread Starter susantau

    (@susantau)

    i learned of a possible workaround.. Apparently WordPress’s visual/html editor does not work with custom templates (is this really true?), but if I add this loop to my template, i can then use the Dashboard’s visual/html editor to maintain content.

    <div id="maincontent_nosidebar">
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <?php the_content(''); ?>
    <?php endwhile; else: ?>
    <?php endif; ?>
    </div>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    I don’t feel very confident about this because it feels a little hacky. I am still very interested in hearing back from you folks about what the problem is and how to fix it. Thanks!

    Apparently WordPress’s visual/html editor does not work with custom templates (is this really true?), but if I add this loop to my template, i can then use the Dashboard’s visual/html editor to maintain content.

    No that’s not true at all.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Edits via Dashboard do not post to live home page.’ is closed to new replies.