I Found a Fix

Where Answers are Found!

Welcome to I FoundAFix.com - Where real answers are found! Our aim is to provide proven solutions to real problems. This website is a resource for tried and tested answers for everyday or obscure problems.

May
06

Modifications to the Twenty Eleven Theme in WordPress

Posted under Coding by ifoundafix

Below are a few useful modifications for the Twenty Eleven theme in WordPress.

1. How to remove the Search box.

Locate the HEADER.PHP file and remove the code below;

<?php
// Has the text been hidden?
if ( 'blank' == get_header_textcolor() ) :
?>
<div>
<?php get_search_form(); ?>
</div>
<?php
else :
?>
<?php get_search_form(); ?>
<?php endif; ?>

 

2. How to remove the Page Title description on each page.

Locate the CONTENT-PAGE.PHP file and remove the code below;

h1 class=”entry-title”><?php the_title(); ?></h1>

 

3. How to reduce whitespace below menu and Page Title .

Locate the STYLE.CSS file and add the code below to the end of the file;

#main,.singular.page .hentry{padding:0;}

 

4. How to modify the footer.

Change..

” title=”<?php esc_attr_e( ‘Semantic Personal Publishing Platform’, ‘twentyeleven’ ); ?>” rel=”generator”><?php printf( __( ‘Proudly powered by %s’, ‘twentyeleven’ ), ‘WordPress’ ); ?>

To

” title=”<?php esc_attr_e( ‘Semantic Personal Publishing Platform’, ‘twentyeleven’ ); ?>” rel=”generator”><?php printf( ‘Yoursite copyright 2011’ ); ?>

 

 

 

Add A Comment