BuilderChild-Expansion
(Difference between revisions)
(→Expansion demo sites Layouts and Views export files) |
(→Expansion demo sites Layouts and Views export files) |
||
| Line 14: | Line 14: | ||
To import this zip file, go to My Theme -> Settings -> Import / Export. | To import this zip file, go to My Theme -> Settings -> Import / Export. | ||
| + | |||
| + | One of our users wrote step by step instructions on how to set up Expansion like the demo site using these export files. Click [http://ithemes.com/forum/topic/25777-how-to-setup-home-page-similar-to-child-theme-demo/page__view__findpost__p__121887 here] to read her post. | ||
== How to remove "by <author>" below post titles == | == How to remove "by <author>" below post titles == | ||
Revision as of 22:22, April 5, 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.
One of our users wrote step by step instructions on how to set up Expansion like the demo site using these export files. Click here to read her post.
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;
}

