BuilderChild-Anchor

From IThemes Codex
(Difference between revisions)
Jump to: navigation, search
(How to fix dates in search results page)
m
 
Line 32: Line 32:
 
</div>
 
</div>
 
</pre>
 
</pre>
 +
 +
= Entry 3 =
 +
 +
= Entry 4 =

Latest revision as of 11:47, January 15, 2012

Contents

How to set up Anchor so it looks like the demo site

Follow this.

How to fix dates in search results page

Before
After

1. Copy/upload wp-content/themes/Builder/search.php to wp-content/themes/BuilderChild-Anchor

2. Edit wp-content/themes/BuilderChild-Anchor/search.php.

Change

<div 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-suffix"><?php the_time( 'S' ); ?></span><span class="day-comma">,</span></span>
									<span class="year"><?php the_time( 'Y' ); ?></span>
								</div>

to

<div class="entry-meta date">
									<span class="month"><?php the_time( 'M' ); ?></span><br />
									<span class="day"><?php the_time( 'j' ); ?></span>
								</div>

Entry 3

Entry 4

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox