Making WordPress.org

Ticket #39: 39.diff

File 39.diff, 1.1 KB (added by mario-siteground, 12 years ago)
  • wordpress.org/public_html/wp-content/themes/pub/wporg-p2/functions.php

     
    2323        return $url;
    2424}
    2525
     26add_filter( 'wp_title', 'wporg_p2_head_wp_title', 10, 2 );
     27function wporg_p2_head_wp_title( $title, $sep ) {
     28        $out = $title;
     29        $out .= ' ' . get_bloginfo( 'name' );
     30       
     31        return $out;
     32}
     33 No newline at end of file
  • wordpress.org/public_html/wp-content/themes/pub/wporg-p2/header.php

     
    11<?php
    22global $pagetitle;
    3 $pagetitle = wp_title( '&laquo;', false, 'right' ) . ' ' . get_bloginfo( 'name' );
     3$pagetitle = wp_title( '&laquo;', false, 'right' );
    44require WPORGPATH . 'header.php';
    55?>
    66<div id="headline">