WordPress TwentyTen Theme Changes

Correct Way to Modify a WordPress Theme

Copy your theme directory to a new directory. For example twenty ten theme directory to new directory(twentytenchild) and then made the following changes in the new directory. Now change your WordPress theme to “twentytenchild”

The following changes made in style.css

#content .entry-title {
display: none;
/* Lines commented out by harold to get rid of page title
color: #000;
font-size: 21px;
font-weight: bold;
line-height: 1.3em;
margin-bottom: 0;
*/
}

hr {
/*background-color: #e7e7e7;*/
background-color: #000000; /* Makes the color Black instead of very light gray */
border: 0;
clear: both;
height: 4px; /* Makes the height of the horizontal line 4px  instead of 1px*/
/*height: 1px;*/
margin-bottom: 18px;
}

The following changes made in header.php

<!– Commented out by Harold 10092015 to not display Site Identity info
<?php $heading_tag = ( is_home() || is_front_page() ) ? ‘h1’ : ‘div’; ?>
<<?php echo $heading_tag; ?> id=”site-title”>
<span>
<a href=”<?php echo home_url( ‘/’ ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></a>
</span>
</<?php echo $heading_tag; ?>>
<div id=”site-description”><?php bloginfo( ‘description’ ); ?></div>
–>

The above “code” box was made by switching to “text” mode and inserting the following:

<div style=”border: 3px solid black; background: #9999FF; padding: 1.2em;”>
… Code inserted here using the “paste as Text” icon
</div>

twentyten changes

 

This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply