BuilderChild-Remark
(Created and added initial content for BuilderChild-Remark) |
(Added == How to Add Date in the Author and Comments Line ==) |
||
| Line 44: | Line 44: | ||
'''4.''' Visit your site's homepage and you should see the basic structure similar to that of demo site. Hover on Builder in the top WordPress bar and click on <code>Manage Widgets for this Layout</code>. Add your desired widgets in the Content Module's sidebar. | '''4.''' Visit your site's homepage and you should see the basic structure similar to that of demo site. Hover on Builder in the top WordPress bar and click on <code>Manage Widgets for this Layout</code>. Add your desired widgets in the Content Module's sidebar. | ||
| + | |||
| + | == How to Add Date in the Author and Comments Line == | ||
| + | |||
| + | Before: | ||
| + | |||
| + | [[File:Screen Shot 2013-03-04 at 11.19.05 AM.png|734px|thumb|none]] | ||
| + | |||
| + | After: | ||
| + | |||
| + | [[File:Screen Shot 2013-03-04 at 11.18.26 AM.png|740px|thumb|none]] | ||
| + | |||
| + | Edit Remark's index.php. | ||
| + | |||
| + | Change | ||
| + | |||
| + | <pre class="brush: php; gutter: false;"> | ||
| + | <div class="entry-meta"> | ||
| + | <?php printf( __( 'Posted by %s', 'it-l10n-BuilderChild-Remark' ), '<span class="author">' . builder_get_author_link() . '</span>' ); ?> | ||
| + | </div> | ||
| + | </pre> | ||
| + | |||
| + | to | ||
| + | |||
| + | <pre class="brush: php; gutter: false;"> | ||
| + | <div class="entry-meta"> | ||
| + | <?php printf( __( 'Posted by %s on', 'it-l10n-BuilderChild-Remark' ), '<span class="author">' . builder_get_author_link() . '</span>' ); ?> | ||
| + | </div> | ||
| + | </pre> | ||
| + | |||
| + | add the following below that: | ||
| + | |||
| + | <pre class="brush: php; gutter: false;"> | ||
| + | <span class="entry-meta date"> | ||
| + | <span class="weekday"><?php the_time( 'l' ); ?><span class="weekday-comma">,</span></span> | ||
| + | <span class="month"><?php the_time( 'F' ); ?></span> | ||
| + | <span class="day"><?php the_time( 'j' ); ?><span class="day-comma">,</span></span> | ||
| + | <span class="year"><?php the_time( 'Y' ); ?></span> | ||
| + | </span> | ||
| + | </pre> | ||
Revision as of 00:52, March 4, 2013
Contents |
Introduction
Remark is a fun, simple child theme designed with bloggers in mind and a perfect match for those that may want to set up a small Etsy-type shop.
Blog entry announcing the release of Remark
How to set up homepage to look like demo site
1. Create Pages. This will help in setting up nav bar since Pages will be listed in the next step.
2. Go to Appearance -> Menus. Create a menu named say Main Menu having your desired items (Pages, Categories, custom links etc).
3. Create a layout named say, Home. Width = 960px.
Add modules in this order:
Select the menu created earlier in Navigation Type dropdown.
Image Module
The image used in the demo site is 960 x 152.
Content Module
Add a content module having a 320px wide right sidebar.
4. Visit your site's homepage and you should see the basic structure similar to that of demo site. Hover on Builder in the top WordPress bar and click on Manage Widgets for this Layout. Add your desired widgets in the Content Module's sidebar.
How to Add Date in the Author and Comments Line
Before:
After:
Edit Remark's index.php.
Change
<div class="entry-meta"> <?php printf( __( 'Posted by %s', 'it-l10n-BuilderChild-Remark' ), '<span class="author">' . builder_get_author_link() . '</span>' ); ?> </div>
to
<div class="entry-meta"> <?php printf( __( 'Posted by %s on', 'it-l10n-BuilderChild-Remark' ), '<span class="author">' . builder_get_author_link() . '</span>' ); ?> </div>
add the following below that:
<span class="entry-meta date"> <span class="weekday"><?php the_time( 'l' ); ?><span class="weekday-comma">,</span></span> <span class="month"><?php the_time( 'F' ); ?></span> <span class="day"><?php the_time( 'j' ); ?><span class="day-comma">,</span></span> <span class="year"><?php the_time( 'Y' ); ?></span> </span>






