BuilderChild-Classen
(Difference between revisions)
(Added = How to remove the left box and put the Date, Author etc at the bottom of the post in text =) |
(Added = How to fix distortion of featured image in single posts =) |
||
| Line 17: | Line 17: | ||
[[File:Classen-metainfo-after2.png]] | [[File:Classen-metainfo-after2.png]] | ||
| − | = | + | = How to fix distortion of featured image in single posts = |
| + | |||
| + | [[File:Classen-single-featured-image-before.png|500px|thumb|none|Before]] [[File:Classen-single-featured-image-after.png|500px|thumb|none|After]] | ||
| + | |||
| + | Note: This applies to Classen 2.0.0 to 2.0.2. | ||
| + | |||
| + | Edit wp-content/themes/BuilderChild-Classen/single.php. | ||
| + | |||
| + | Change | ||
| + | |||
| + | <pre class="brush:php;"> | ||
| + | <?php the_post_thumbnail( 'front-page-thumbnail' ); ?> | ||
| + | </pre> | ||
| + | |||
| + | to | ||
| + | |||
| + | <pre class="brush:php;"> | ||
| + | <?php the_post_thumbnail( 'left-meta-thumbnail' ); ?> | ||
| + | </pre> | ||
= Item 3 = | = Item 3 = | ||
= Item 4 = | = Item 4 = | ||
Revision as of 04:24, October 12, 2011
Contents |
How to remove the left box and put the Date, Author etc at the bottom of the post in text
Edit child theme's index.php, archive.php and single.php. Move meta info to your desired location in these template files.
Edit child theme's style.css to set display of ".leftmetabox" to none.
Sample CSS added at end of style.css
The sample code above results in changing
to
How to fix distortion of featured image in single posts
Note: This applies to Classen 2.0.0 to 2.0.2.
Edit wp-content/themes/BuilderChild-Classen/single.php.
Change
<?php the_post_thumbnail( 'front-page-thumbnail' ); ?>
to
<?php the_post_thumbnail( 'left-meta-thumbnail' ); ?>

