• Well everything has been working peachy up until now. I had WordPress a while back for a different site but never encountered this. My problem is that no matter how many pages I add or how many pages I update they all end up showing the example page that shows default when you install WordPress.

    Please help me! Thanks.

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

    (@yourwar)

    I figured out that it is the theme. I am using the “Dirt” theme and in the page.php it has its own text instead of telling it to show the page created from the dashboard. Does anyone know how I can edit page.php to fix this?

    Thread Starter yourwar

    (@yourwar)

    So nobody knows how to fix this?

    Did you try the theme’s website?

    Thread Starter yourwar

    (@yourwar)

    Yes and it doesnt say much about it. I even emailed the creator and he hasnt gotten back to me.

    This is what the code looks like:

    <?php
    /*
    Template Name: Page
    */
    ?>

    <?php get_header(); ?>
    <div class=”logo”>“><img src=”<?php bloginfo(‘url’); ?>/wp-content/themes/Dirt/images/logo_dirt.gif” height=”259″ width=”266″ alt=”Dirt Logo” /></div>
    <div class=”ncol”>
    <div class=”singimg”><img src=”<?php bloginfo(‘url’); ?>/wp-content/themes/Dirt/images/randomndirt.jpg” title=”Dirt is Healthy” alt=”Random Dirt” /></div>
    <div class=”entry”>

    <h2>Page</h2>
    This is an example of a custom page. This page is here to be used as a template for your other pages. Feel free to populate this page with info about you.

    <h2>Lorem Ipsum</h2>
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec nulla dui, nonummy at, commodo vitae, tincidunt vitae, pede. Fusce dignissim. In imperdiet nisi ut velit. Integer nisi enim, eleifend id, tempor non, bibendum sed, odio. Aenean sodales placerat leo. Phasellus sollicitudin nisl et mauris. Quisque felis metus, consequat vel, laoreet vel, congue eu, orci. Mauris aliquam. Maecenas fringilla porttitor enim. Vestibulum ullamcorper. Aenean posuere purus sit amet nisl mattis varius. Morbi tristique, est ut tincidunt semper, urna augue laoreet urna, eu lobortis nunc metus vitae est. Integer nec sem eget enim placerat consequat.

    Duis a mi ac sapien scelerisque ultrices. Etiam sit amet dui. Nulla egestas. Ut congue. Aliquam erat volutpat. Fusce consectetuer lacus sit amet purus vestibulum blandit. Nam sagittis, diam sit amet malesuada commodo, magna tortor iaculis elit, non ultricies urna pede ut leo. Pellentesque pulvinar porttitor elit. Suspendisse erat dolor, venenatis quis, gravida a, placerat in, massa. Phasellus nec lacus. Maecenas pretium. Maecenas ultricies, sem scelerisque pharetra luctus, ante nisi pellentesque est, ut rhoncus leo felis vel ligula. Donec pede.
    </div>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Thread Starter yourwar

    (@yourwar)

    Okay, I fixed it but now I cant get the text to stay in the margins. It just runs off the table to the right.

    I’m missing something here. What is broken?

    EDIT: Ok, missed that

    Post a link?

    Thread Starter yourwar

    (@yourwar)

    Looks like your div’s got screwed up. They looked ok in the example above…

    Did you cut and paste html in there?

    Thread Starter yourwar

    (@yourwar)

    ya, I’m familiar with html but not php so I wasn’t sure what was going on with the code, haha.

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