BuilderChild-Classen

From IThemes Codex
(Difference between revisions)
Jump to: navigation, search
(How to fix distortion of featured image in single posts)
m (How to remove the left box and put the Date, Author etc at the bottom of the post in text)
 
Line 3: Line 3:
 
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 index.php, archive.php and single.php. Move meta info to your desired location in these template files.
  
[http://d.pr/bSAt Sample modified index.php]
+
[http://cl.ly/1w1l1j2d0v1M2B3e3D1y Sample modified index.php]
  
 
Edit child theme's style.css to set display of ".leftmetabox" to none.
 
Edit child theme's style.css to set display of ".leftmetabox" to none.

Latest revision as of 08:37, December 15, 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.

Sample modified index.php

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

Classen-metainfo-before2.png

to

Classen-metainfo-after2.png

How to fix distortion of featured image in single posts

Before
After

Note: This applies to Classen 2.0.0 to 2.0.2.

Edit wp-content/themes/BuilderChild-Classen/single.php.

Change

<div class="front-page-thumbnail">
								<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_post_thumbnail( 'front-page-thumbnail' ); ?></a>
							</div>

to

<div class="left-meta-thumbnail">
								<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_post_thumbnail( 'left-meta-thumbnail' ); ?></a>
							</div>

Item 3

Item 4

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox