BuilderChild-Air

(Difference between revisions)
Jump to: navigation, search
(Added == How to Change the Appearance of Search ==)
(Added == How to show Excerpts instead of full post content on Posts page ==)
Line 19: Line 19:
  
 
Follow http://ithemes.com/2013/05/03/how-to-change-the-appearance-of-search-in-ithemes-builder-air-child-theme/
 
Follow http://ithemes.com/2013/05/03/how-to-change-the-appearance-of-search-in-ithemes-builder-air-child-theme/
 +
 +
== How to show Excerpts instead of full post content on Posts page ==
 +
 +
'''1.''' Duplicate (using a FTP client or cPanel file manager)
 +
 +
wp-content/themes/BuilderChild-Air/post-formats/content.php
 +
 +
as
 +
 +
wp-content/themes/BuilderChild-Air/post-formats/content-excerpt.php
 +
 +
and edit <code>content-excerpt.php</code>.
 +
 +
Replace
 +
 +
<pre class="brush: php; gutter: false;">
 +
<?php the_content( __( 'Read More &rarr;', 'it-l10n-BuilderChild-Air' ) ); ?>
 +
</pre>
 +
 +
with
 +
 +
<pre class="brush: php; gutter: false;">
 +
<?php the_excerpt(); ?>
 +
</pre>
 +
 +
'''2.''' Edit Air's <code>index.php</code> and change
 +
 +
<pre class="brush: php; gutter: false;">
 +
<?php get_template_part('post-formats/content', get_post_format()); ?>
 +
</pre>
 +
 +
to
 +
 +
<pre class="brush: php; gutter: false;">
 +
<?php get_template_part('post-formats/content-excerpt', get_post_format()); ?>
 +
</pre>
 +
 +
That's it.
 +
 +
If you would like to do the same in other views like Archives or Search, edit the [http://codex.wordpress.org/images/1/18/Template_Hierarchy.png appropriate files].
 +
 +
== Item 4 ==

Revision as of 06:05, May 15, 2013

Contents

Introduction

Builder Child Air is a new foundational or starter child theme for iThemes Builder. Whether you're using the Builder Style Manager or writing your own CSS, we hope Air will be a great new place to start when creating your custom responsive-ready Builder child themes.

Builder child Air includes several convenient built-in features to help lay the groundwork for custom child theme creation. A few of Air's theme highlights include:

  • Built-in Mobile-Ready Menu Style
  • Fully Optimized for Style Manager
  • New Inset Module Styles
  • Full Window Image Style
Air 2013-04-12 09-33-58.png

Live Demo

Blog entry announcing the release of Air

How to Change the Appearance of Search

Follow http://ithemes.com/2013/05/03/how-to-change-the-appearance-of-search-in-ithemes-builder-air-child-theme/

How to show Excerpts instead of full post content on Posts page

1. Duplicate (using a FTP client or cPanel file manager)

wp-content/themes/BuilderChild-Air/post-formats/content.php

as

wp-content/themes/BuilderChild-Air/post-formats/content-excerpt.php

and edit content-excerpt.php.

Replace

<?php the_content( __( 'Read More →', 'it-l10n-BuilderChild-Air' ) ); ?>

with

<?php the_excerpt(); ?>

2. Edit Air's index.php and change

<?php get_template_part('post-formats/content', get_post_format()); ?>

to

<?php get_template_part('post-formats/content-excerpt', get_post_format()); ?>

That's it.

If you would like to do the same in other views like Archives or Search, edit the appropriate files.

Item 4

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox