Twenty Twelve child theme dont override
-
I am using TwentyTwelve as a parent team and created child team, the CSS changes work perfectly on the website, but no changes work within php files. For example, I want to remove the “Leave a Reply” section from all the pages, I copied the page.php to my child folder, removed
<?php comments_template(); ?>
saved, no changes. I even tried to clean comments.php file and reload empty, no changes. I also tried to remove “Powered by WordPress” in footer.php by removing:
<a>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); ?></a>
No changes!
On the other hand, I created a new file functions.php in the child folder and created a new widget and it worked. So it seems I have some problems with overriding the child php files.
- The topic ‘Twenty Twelve child theme dont override’ is closed to new replies.