BuilderChild-Foundation-Glacier

From IThemes Codex
Revision as of 03:35, December 27, 2012 by Sridhar (Talk | contribs)
Jump to: navigation, search

Live Demo

Demo site layouts and settings export file

To download a zip file having layouts and settings of demo site, click here.

How to add list of tags below categories

2012-12-27 14-59-20.png

1. Edit child theme's index.php.

Below

<span class="categories"><?php printf( __( 'Categories %s', 'it-l10n-BuilderChild-Foundation-Glacier' ), get_the_category_list( ', ' ) ); ?></span>

add

<?php if( has_tag() ) { ?> <br/>
<span class="tags"><?php the_tags( '' . __( 'Tags: ', 'it-l10n-BuilderChild-Foundation-Glacier' ), ', ', '' ); ?></span>
<?php } ?>

Repeat the same with single.php and archive.php.

2. Upload this image to child theme's images directory.

3. Add the following at the end of child theme's style.css (WP dashboard -> Appearance -> Editor):

.entry-footer .tags {
 	background: url("images/tags-bg.gif") no-repeat left center;
 	padding-left: 25px;
 	font-size: 0.8em;
}

.entry-footer .tags a {
    font-style: italic;
}
Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox