Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Housekeeping #366

Merged
merged 4 commits into from
Jun 17, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
node_modules/
*.sass-cache*
bower_components/
stylesheets/*.css
*.log
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ FoundationPress is completely ready to be deployed to and tested by Travis CI fo
* [Harvard Center for Green Buildings and Cities](http://www.harvardcgbc.org/)
* [Parent-Child Home Program](http://www.parent-child.org/)
* [Hip and Healthy](http://hipandhealthy.com/)
* [Thinx Underwear](http://www.shethinx.com/)
* [Threadbird blog](http://blog.threadbird.com/)
* [Public House Wines](http://publichousewines.hstestsite.info/)
* [Franchise Career Advisors](http://franchisecareeradvisors.com/)
Expand All @@ -155,6 +154,8 @@ FoundationPress is completely ready to be deployed to and tested by Travis CI fo
* [Software for FM](http://softwareforfm.co.uk/)
* [WP Diamonds](http://www.wpdiamonds.com/)
* [Storm Arts](http://stormarts.fi/)
* [USS Illinois](http://ussillinois.org/)
* [INTI International University & Colleges](http://international.newinti.edu.my/)

## Contributing
#### Here are ways to get involved:
Expand Down
21 changes: 0 additions & 21 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,6 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
<?php
if ( is_category() ) {
echo 'Category Archive for &quot;'; single_cat_title(); echo '&quot; | '; bloginfo( 'name' );
} elseif ( is_tag() ) {
echo 'Tag Archive for &quot;'; single_tag_title(); echo '&quot; | '; bloginfo( 'name' );
} elseif ( is_archive() ) {
wp_title( '' ); echo ' Archive | '; bloginfo( 'name' );
} elseif ( is_search() ) {
echo 'Search for &quot;'.esc_html( $s ).'&quot; | '; bloginfo( 'name' );
} elseif ( is_home() || is_front_page() ) {
bloginfo( 'name' ); echo ' | '; bloginfo( 'description' );
} elseif ( is_404() ) {
echo 'Error 404 Not Found | '; bloginfo( 'name' );
} elseif ( is_single() ) {
wp_title( '' );
} else {
echo wp_title( ' | ', 'false', 'right' ); bloginfo( 'name' );
}
?>
</title>

<link rel="icon" href="<?php echo get_stylesheet_directory_uri(); ?>/assets/img/icons/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="<?php echo get_stylesheet_directory_uri(); ?>/assets/img/icons/apple-touch-icon-144x144-precomposed.png">
Expand Down
3 changes: 3 additions & 0 deletions library/theme-support.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ function foundationpress_theme_support() {
// Add menu support
add_theme_support( 'menus' );

// Let WordPress manage the document title
add_theme_support( 'title-tag' );

// Add post thumbnail support: http://codex.wordpress.org/Post_Thumbnails
add_theme_support( 'post-thumbnails' );

Expand Down