Skip to content

Commit

Permalink
Bumps version to v1.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor Bär committed Aug 30, 2016
1 parent 3236077 commit 963d5a4
Show file tree
Hide file tree
Showing 51 changed files with 342 additions and 435 deletions.
6 changes: 3 additions & 3 deletions 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package NC_Template
* @package UWC_Website
*/

get_header(); ?>
Expand All @@ -15,15 +15,15 @@
<section class="error-404 not-found">
<header class="entry-header">
<div class="header-outer">
<h1 class="entry-title"><?php esc_html_e( '404 Oh crumbs.', 'nc-template' ); ?></h1>
<h1 class="entry-title"><?php esc_html_e( '404 Oh crumbs.', 'uwc-website' ); ?></h1>
</div>

</header>

<div class="entry-content">
<p><?php
$url = 'http://www.ibo.org/en/programmes/diploma-programme/curriculum/theory-of-knowledge/what-is-tok/';
$link = sprintf( wp_kses( __( 'Looks like something has gone terribly wrong somewhere in the Internet. As a result, the page you requested isn&rsquo;t available. Or maybe it doesn&rsquo;t exist. Maybe it never existed. Maybe this page is a figment of your imagination. Maybe you are a figment of your own imagination. Did we just blow your mind? Find out more about the <a href="%s">theory of knowledge course</a> at UWC or simply use the search bar below to find what you are looking for.', 'nc-template' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( $url ) );
$link = sprintf( wp_kses( __( 'Looks like something has gone terribly wrong somewhere in the Internet. As a result, the page you requested isn&rsquo;t available. Or maybe it doesn&rsquo;t exist. Maybe it never existed. Maybe this page is a figment of your imagination. Maybe you are a figment of your own imagination. Did we just blow your mind? Find out more about the <a href="%s">theory of knowledge course</a> at UWC or simply use the search bar below to find what you are looking for.', 'uwc-website' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( $url ) );
echo $link; // WPCS: XSS ok.
?></p>

Expand Down
4 changes: 2 additions & 2 deletions archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package NC_Template
* @package UWC)_Website
*/

get_header(); ?>
Expand Down Expand Up @@ -35,7 +35,7 @@

endwhile;

nc_template_paginated();
uwc_website_paginated();

else :

Expand Down
4 changes: 2 additions & 2 deletions category.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package NC_Template
* @package UWC_Website
*/

get_header(); ?>
Expand Down Expand Up @@ -35,7 +35,7 @@

endwhile;

nc_template_paginated();
uwc_website_paginated();

else :

Expand Down
84 changes: 0 additions & 84 deletions comments.php

This file was deleted.

4 changes: 2 additions & 2 deletions components/content-link.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package NC_Template
* @package UWC_Website
*/

?>
Expand All @@ -30,6 +30,6 @@
</header>

<div class="entry-content">
<?php echo '<p><a href="' . esc_url( get_field( 'link_url' ) ) . '" rel="bookmark" target="_blank">' . esc_html__( 'Continue reading', 'nc-template' ) . '...</a></p>'; ?>
<?php echo '<p><a href="' . esc_url( get_field( 'link_url' ) ) . '" rel="bookmark" target="_blank">' . esc_html__( 'Continue reading', 'uwc-website' ) . '...</a></p>'; ?>
</div>
</article><!-- #post-## -->
10 changes: 5 additions & 5 deletions components/content-none.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package NC_Template
* @package UWC_Website
*/

?>

<section class="no-results not-found">
<header class="header-header">
<h1 class="header-title"><?php esc_html_e( 'Nothing Found', 'nc-template' ); ?></h1>
<h1 class="header-title"><?php esc_html_e( 'Nothing Found', 'uwc-website' ); ?></h1>
</header>
<div class="page-content">
<?php
if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>

<p><?php printf( wp_kses( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'nc-template' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
<p><?php printf( wp_kses( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'uwc-website' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>

<?php elseif ( is_search() ) :
get_search_form(); ?>

<p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'nc-template' ); ?></p>
<p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'uwc-website' ); ?></p>
<?php else : ?>

<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'nc-template' ); ?></p>
<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'uwc-website' ); ?></p>
<?php
get_search_form();

Expand Down
2 changes: 1 addition & 1 deletion components/content-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package NC_Template
* @package UWC_Website
*/

?>
Expand Down
2 changes: 1 addition & 1 deletion components/content-section.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package NC_Template
* @package UWC_Website
*/

?>
Expand Down
8 changes: 4 additions & 4 deletions components/content-standard.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package NC_Template
* @package UWC_Website
*/

?>
Expand All @@ -31,20 +31,20 @@

<?php
$text = get_the_content();
nc_template_content_navigation( $text );
uwc_website_content_navigation( $text );
?>

<div class="entry-content">
<?php

the_content( sprintf(
/* translators: %s: Name of current post. */
wp_kses( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'nc-template' ), array( 'span' => array( 'class' => array() ) ) ),
wp_kses( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'uwc-website' ), array( 'span' => array( 'class' => array() ) ) ),
the_title( '<span class="screen-reader-text">"', '"</span>', false )
) );

wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'nc-template' ),
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'uwc-website' ),
'after' => '</div>',
) );
?>
Expand Down
8 changes: 4 additions & 4 deletions components/content-video.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package NC_Template
* @package UWC_Website
*/

?>
Expand All @@ -27,20 +27,20 @@

<?php
$text = get_the_content();
nc_template_content_navigation( $text );
uwc_website_content_navigation( $text );
?>

<div class="entry-content">
<?php

the_content( sprintf(
/* translators: %s: Name of current post. */
wp_kses( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'nc-template' ), array( 'span' => array( 'class' => array() ) ) ),
wp_kses( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'uwc-website' ), array( 'span' => array( 'class' => array() ) ) ),
the_title( '<span class="screen-reader-text">"', '"</span>', false )
) );

wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'nc-template' ),
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'uwc-website' ),
'after' => '</div>',
) );
?>
Expand Down
6 changes: 3 additions & 3 deletions components/element-link.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package NC_Template
* @package UWC_Website
*/

?>
Expand All @@ -16,14 +16,14 @@
<div class="category-text">

<?php if ( is_sticky() ) : ?>
<span class="sticky"><?php echo esc_html__( 'Featured', 'nc-template' ); ?></span>
<span class="sticky"><?php echo esc_html__( 'Featured', 'uwc-website' ); ?></span>
<?php endif; ?>

<header class="header -category">
<?php the_title( '<h2 class="category-title"><a href="' . esc_url( get_field( 'link_url' ) ) . '" rel="bookmark" target="_blank">', '</a></h2>' ); ?>
</header>
<p class="category-body"><?php the_excerpt(); ?></p>

<?php echo '<a class="category-link" href="' . esc_url( get_field( 'link_url' ) ) . '" rel="bookmark" target="_blank">' . esc_html__( 'Continue reading', 'nc-template' ) . '</a>'; ?>
<?php echo '<a class="category-link" href="' . esc_url( get_field( 'link_url' ) ) . '" rel="bookmark" target="_blank">' . esc_html__( 'Continue reading', 'uwc-website' ) . '</a>'; ?>
</div>
</article> <!-- // post-## -->
2 changes: 1 addition & 1 deletion components/element-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package NC_Template
* @package UWC_Website
*/

?>
Expand Down
2 changes: 1 addition & 1 deletion components/element-section.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package NC_Template
* @package UWC_Website
*/

?>
Expand Down
6 changes: 3 additions & 3 deletions components/element-standard.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package NC_Template
* @package UWC_Website
*/

?>
Expand All @@ -16,14 +16,14 @@
<div class="category-text">

<?php if ( is_sticky() ) : ?>
<span class="sticky"><?php echo esc_html__( 'Featured', 'nc-template' ); ?></span>
<span class="sticky"><?php echo esc_html__( 'Featured', 'uwc-website' ); ?></span>
<?php endif; ?>

<header class="header -category">
<?php the_title( '<h2 class="category-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); ?>
</header>
<p class="category-body"><?php the_excerpt(); ?></p>

<?php echo '<a class="category-link" href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . esc_html__( 'Weiter lesen', 'nc-template' ) . '</a>'; ?>
<?php echo '<a class="category-link" href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . esc_html__( 'Weiter lesen', 'uwc-website' ) . '</a>'; ?>
</div>
</article> <!-- // post-## -->
4 changes: 2 additions & 2 deletions components/element-video.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package NC_Template
* @package UWC_Website
*/

?>
Expand All @@ -23,7 +23,7 @@
</header>
<p class="category-body"><?php the_excerpt(); ?></p>

<?php echo '<a class="category-link" href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . esc_html__( 'Weiter lesen', 'nc-template' ) . '</a>'; ?>
<?php echo '<a class="category-link" href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . esc_html__( 'Weiter lesen', 'uwc-website' ) . '</a>'; ?>
</div>
</article> <!-- // post-## -->

2 changes: 1 addition & 1 deletion components/module-calltoaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package NC_Template
* @package UWC_Website
*/

?>
Expand Down
Loading

0 comments on commit 963d5a4

Please sign in to comment.