Making WordPress.org

Ticket #1353: 1353-mobileapps.diff

File 1353-mobileapps.diff, 1.4 KB (added by BandonRandon, 10 years ago)
  • themes/pub/wporg-apps/functions.php

     
    5656                'comment-form',
    5757                'gallery',
    5858        ) );
     59
     60                add_theme_support('title-tag');
    5961}
     62
    6063endif; // wpmobileapps_setup
    6164add_action( 'after_setup_theme', 'wpmobileapps_setup' );
    6265
     
    190193add_filter( 'excerpt_length', 'wpmobileapps_excerpt_length' );
    191194
    192195/**
     196 * Returns the title seprator.
     197 */
     198function wpmobileapps_title_separator(){
     199        return '|';
     200}
     201
     202/**
    193203 * Remove Jetpack Likes on the grid page template.
    194204 */
    195205function wpmobileapps_remove_likes() {
     
    276286                update_post_meta( $post_id, 'features_animation', $_POST['features_animation'] );
    277287}
    278288add_action( 'save_post', 'save_wpma_meta_information', 1, 2 );
    279 
  • themes/pub/wporg-apps/header.php

     
    1111<head>
    1212<meta charset="<?php bloginfo( 'charset' ); ?>">
    1313<meta name="viewport" content="width=device-width, initial-scale=1">
    14 <title><?php wp_title( '|', true, 'right' ); ?></title>
    1514<link rel="profile" href="http://gmpg.org/xfn/11">
    1615<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    1716