Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I created a blog with the twenty ten theme. I understand there are issues with upgrading WP with this default theme. It overwrites what you did. Is there a way to fix this with starting over.

How would I change something like this? Ex.

<?php else : ?>
        <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
            <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>

        <div class="entry-meta">
            <?php twentyten_posted_on(); ?>
        </div><!-- .entry-meta -->
share|improve this question
add comment

1 Answer

Twenty Ten modifications will be overwritten with upgrades so you should be using a Child Theme of Twenty Ten instead of modifying it directly. There really is no way to stop the upgrade/overwrite without renaming the theme and putting it in a different folder with a different name.

share|improve this answer
    
Thanks for your response. I did that. I created a new folder, renamed the templates to have my new child theme and it got overwritten. Now what I did was renamed the theme and then renamed all the places where twenty ten is on the templates and in the function file. Its seemed to have worked, so far. –  user2266 Feb 26 '11 at 0:53
    
Glad it's working. Why don't you accept the answer since it's solved your issue. –  curtismchale Feb 28 '11 at 5:52
    
Because he never does. :/ –  toscho Mar 26 '11 at 0:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.