wordpress.tv/public_html/wp-content/themes/wptv2/archive.php | 1 +
wordpress.tv/public_html/wp-content/themes/wptv2/breadcrumbs.php | 1 +
.../public_html/wp-content/themes/wptv2/category-wordcamptv.php | 1 +
wordpress.tv/public_html/wp-content/themes/wptv2/category.php | 1 +
wordpress.tv/public_html/wp-content/themes/wptv2/functions.php | 1 +
wordpress.tv/public_html/wp-content/themes/wptv2/index.php | 1 +
wordpress.tv/public_html/wp-content/themes/wptv2/search.php | 3 +++
.../public_html/wp-content/themes/wptv2/sidebar-single.php | 7 ++++++-
wordpress.tv/public_html/wp-content/themes/wptv2/single.php | 1 +
9 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/wordpress.tv/public_html/wp-content/themes/wptv2/archive.php b/wordpress.tv/public_html/wp-content/themes/wptv2/archive.php
index a16cc90..cac0642 100644
|
a
|
b
|
|
| 3 | 3 | * WordCamp.tv Archives |
| 4 | 4 | * |
| 5 | 5 | * Yearly, monthly, daily, author and whatever falls back to archive.php. |
| | 6 | * @global $wp_query, $post, $wptv |
| 6 | 7 | */ |
| 7 | 8 | |
| 8 | 9 | get_header(); |
diff --git a/wordpress.tv/public_html/wp-content/themes/wptv2/breadcrumbs.php b/wordpress.tv/public_html/wp-content/themes/wptv2/breadcrumbs.php
index 93b3dfc..f4855af 100644
|
a
|
b
|
|
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * Breadcrumbs template part, use with get_template_part() |
| | 4 | * @global $wptv |
| 4 | 5 | */ |
| 5 | 6 | |
| 6 | 7 | global $wptv; |
diff --git a/wordpress.tv/public_html/wp-content/themes/wptv2/category-wordcamptv.php b/wordpress.tv/public_html/wp-content/themes/wptv2/category-wordcamptv.php
index 3bf5775..8f00604 100644
|
a
|
b
|
|
| 3 | 3 | * WordCampTV Category Archives |
| 4 | 4 | * |
| 5 | 5 | * Requires a special display, hence the template. |
| | 6 | * @global $wptv |
| 6 | 7 | */ |
| 7 | 8 | |
| 8 | 9 | $featured = new WP_Query( array( |
diff --git a/wordpress.tv/public_html/wp-content/themes/wptv2/category.php b/wordpress.tv/public_html/wp-content/themes/wptv2/category.php
index 3933df8..efdeb4b 100644
|
a
|
b
|
|
| 4 | 4 | * |
| 5 | 5 | * Used for categories display, especially the to-do category. |
| 6 | 6 | * Fallback to others as well. |
| | 7 | * @global $wp_query, $wptv |
| 7 | 8 | */ |
| 8 | 9 | |
| 9 | 10 | global $wp_query, $wptv; |
diff --git a/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php b/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php
index 5323a78..fc62859 100644
|
a
|
b
|
class WordPressTV_Theme {
|
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * Different posts_per_page settings for different views. Runs during pre_get_posts. |
| | 47 | * @param WP_Query $query |
| 47 | 48 | */ |
| 48 | 49 | function posts_per_page( $query ) { |
| 49 | 50 | $posts_per_page = $query->get( 'posts_per_page' ); |
diff --git a/wordpress.tv/public_html/wp-content/themes/wptv2/index.php b/wordpress.tv/public_html/wp-content/themes/wptv2/index.php
index cf6a863..6d53748 100644
|
a
|
b
|
|
| 3 | 3 | * WordCamp.tv Index Fallback |
| 4 | 4 | * |
| 5 | 5 | * It will be weird if somebody sees this (but okay if 404) |
| | 6 | * @global $wp_query, $post, $wptv |
| 6 | 7 | */ |
| 7 | 8 | |
| 8 | 9 | get_header(); |
diff --git a/wordpress.tv/public_html/wp-content/themes/wptv2/search.php b/wordpress.tv/public_html/wp-content/themes/wptv2/search.php
index 8b8fce4..f70e00f 100644
|
a
|
b
|
|
| 1 | 1 | <?php |
| | 2 | /* |
| | 3 | * @global $wp_query |
| | 4 | */ |
| 2 | 5 | global $wp_query; |
| 3 | 6 | |
| 4 | 7 | // See improved improved (yes, improved twice) search. |
diff --git a/wordpress.tv/public_html/wp-content/themes/wptv2/sidebar-single.php b/wordpress.tv/public_html/wp-content/themes/wptv2/sidebar-single.php
index 7d3e04f..dfaf456 100644
|
a
|
b
|
|
| 1 | | <?php global $wptv, $originalcontent; ?> |
| | 1 | <?php |
| | 2 | /* |
| | 3 | * @global $wptv, $originalcontent |
| | 4 | */ |
| | 5 | global $wptv, $originalcontent; |
| | 6 | ?> |
| 2 | 7 | |
| 3 | 8 | <div class="secondary-content video-info"> |
| 4 | 9 | <h5>Published</h5> |
diff --git a/wordpress.tv/public_html/wp-content/themes/wptv2/single.php b/wordpress.tv/public_html/wp-content/themes/wptv2/single.php
index 021416d..81c7568 100644
|
a
|
b
|
|
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * Single Video Template |
| | 4 | * @global $wptv, $originalcontent |
| 4 | 5 | */ |
| 5 | 6 | global $wptv, $originalcontent; |
| 6 | 7 | get_header(); the_post(); |