BuilderChild-Expansion
(Difference between revisions)
m |
(Added == Expansion demo sites Layouts and Views export files ==) |
||
| Line 3: | Line 3: | ||
[http://demos.ithemes.com/expansion-red/ Expansion Red live demo] | [http://demos.ithemes.com/expansion-red/ Expansion Red live demo] | ||
| − | = How to remove "by <author>" below post titles = | + | [http://demos.ithemes.com/expansion-blue/ Expansion Blue live demo] |
| + | |||
| + | == Expansion demo sites Layouts and Views export files == | ||
| + | |||
| + | [http://cl.ly/1l2H1t3O110L0k052V3O Expansion Demo Site Layouts & Views export file] | ||
| + | |||
| + | [http://cl.ly/2j1I321r2b2I0p1P3F2A Expansion Red Demo Site Layouts & Views export file] | ||
| + | |||
| + | [http://cl.ly/3D010v1K3F0T392o310o Expansion Blue Demo Site Layouts & Views export file] | ||
| + | |||
| + | To import this zip file, go to My Theme -> Settings -> Import / Export. | ||
| + | |||
| + | == How to remove "by <author>" below post titles == | ||
[[File:Screen Shot 2011-12-18 at 1.33.20 PM.png|671px|thumb|none|Before]] | [[File:Screen Shot 2011-12-18 at 1.33.20 PM.png|671px|thumb|none|Before]] | ||
| Line 33: | Line 45: | ||
</pre> | </pre> | ||
| − | = | + | == Item 3 == |
| − | + | ||
| − | = Item 3 = | + | |
| − | = Item 4 = | + | == Item 4 == |
Revision as of 08:17, January 31, 2012
Contents |
Expansion demo sites Layouts and Views export files
Expansion Demo Site Layouts & Views export file
Expansion Red Demo Site Layouts & Views export file
Expansion Blue Demo Site Layouts & Views export file
To import this zip file, go to My Theme -> Settings -> Import / Export.
How to remove "by <author>" below post titles
1. Edit child theme's index.php and archive.php.
Change
<?php printf( __( 'by %s', 'it-l10n-BuilderChild-Expansion-Red' ), '<span class="author">' . builder_get_author_link() . '</span>' ); ?> <?php do_action( 'builder_comments_popup_link', '<span class="comments">· ', '</span>', __( 'Comments %s', 'it-l10n-BuilderChild-Expansion-Red' ), __( '(0)', 'it-l10n-BuilderChild-Expansion-Red' ), __( '(1)', 'it-l10n-BuilderChild-Expansion-Red' ), __( '(%)', 'it-l10n-BuilderChild-Expansion-Red' ) ); ?>
to
<?php //printf( __( 'by %s', 'it-l10n-BuilderChild-Expansion-Red' ), '<span class="author">' . builder_get_author_link() . '</span>' ); ?> <?php do_action( 'builder_comments_popup_link', '<span class="comments"> ', '</span>', __( 'Comments %s', 'it-l10n-BuilderChild-Expansion-Red' ), __( '(0)', 'it-l10n-BuilderChild-Expansion-Red' ), __( '(1)', 'it-l10n-BuilderChild-Expansion-Red' ), __( '(%)', 'it-l10n-BuilderChild-Expansion-Red' ) ); ?>
2. Add the following at the end of child theme's style.css (to take care of this in single posts):
.single-post .hentry .author {
display: none;
}

