WordPress.org

Making WordPress.org

Ticket #3134: 3134 wordpress.tv.diff

File 3134 wordpress.tv.diff, 5.0 KB (added by rushabh4486, 4 years ago)
  • wordpress.tv/public_html/wp-content/themes/wptv2/archive.php

     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  
    33 * WordCamp.tv Archives
    44 *
    55 * Yearly, monthly, daily, author and whatever falls back to archive.php.
     6 * @global $wp_query, $post, $wptv
    67 */
    78
    89get_header();
  • wordpress.tv/public_html/wp-content/themes/wptv2/breadcrumbs.php

    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  
    11<?php
    22/**
    33 * Breadcrumbs template part, use with get_template_part()
     4 * @global $wptv
    45 */
    56
    67global $wptv;
  • wordpress.tv/public_html/wp-content/themes/wptv2/category-wordcamptv.php

    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  
    33 * WordCampTV Category Archives
    44 *
    55 * Requires a special display, hence the template.
     6 * @global $wptv
    67 */
    78
    89$featured = new WP_Query( array(
  • wordpress.tv/public_html/wp-content/themes/wptv2/category.php

    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  
    44 *
    55 * Used for categories display, especially the to-do category.
    66 * Fallback to others as well.
     7 * @global $wp_query, $wptv
    78 */
    89
    910global $wp_query, $wptv;
  • wordpress.tv/public_html/wp-content/themes/wptv2/functions.php

    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 { 
    4444
    4545        /**
    4646         * Different posts_per_page settings for different views. Runs during pre_get_posts.
     47         * @param WP_Query $query
    4748         */
    4849        function posts_per_page( $query ) {
    4950                $posts_per_page = $query->get( 'posts_per_page' );
  • wordpress.tv/public_html/wp-content/themes/wptv2/index.php

    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  
    33 * WordCamp.tv Index Fallback
    44 *
    55 * It will be weird if somebody sees this (but okay if 404)
     6 * @global $wp_query, $post, $wptv
    67 */
    78
    89get_header();
  • wordpress.tv/public_html/wp-content/themes/wptv2/search.php

    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  
    11<?php
     2/*
     3 * @global $wp_query
     4 */
    25global $wp_query;
    36
    47// See improved improved (yes, improved twice) search.
  • wordpress.tv/public_html/wp-content/themes/wptv2/sidebar-single.php

    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 */
     5global $wptv, $originalcontent;
     6?>
    27
    38<div class="secondary-content video-info">
    49        <h5>Published</h5>
  • wordpress.tv/public_html/wp-content/themes/wptv2/single.php

    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  
    11<?php
    22/**
    33 * Single Video Template
     4 * @global $wptv, $originalcontent
    45 */
    56global $wptv, $originalcontent;
    67get_header(); the_post();