<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>This one is new to me, the reference is here:</DIV>
<DIV> </DIV>
<DIV><A
title=http://codex.wordpress.org/Theme_Review#Required_Hooks_and_Navigation
href="http://codex.wordpress.org/Theme_Review#Required_Hooks_and_Navigation">http://codex.wordpress.org/Theme_Review#Required_Hooks_and_Navigation</A></DIV>
<DIV> </DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">apply_filters(‘wp_title
is found in wp-includes/general-template.php</DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none"> </DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">It
determines what the title is supposed to output, however it doesn’t do
everything that people want it to, in most cases it doesn’t output the bloginfo
appropriately on the home page that is specific for the theme.</DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none"> </DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">It’s
not that the codex is wrong at being a requirement, it’s more so that the
current standards do not have enough documentation and core automatic themes are
not utilizing the filter appropriately.</DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none"> </DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Example
twentyeleven theme:</DIV></DIV>
<DIV>
<DIV> </DIV>
<DIV><title><?php</DIV>
<DIV> /*</DIV>
<DIV> * Print the <title> tag based on what is
being viewed.</DIV>
<DIV> */</DIV>
<DIV> global $page, $paged;</DIV>
<DIV> </DIV>
<DIV> wp_title( '|', true, 'right' );</DIV>
<DIV> </DIV>
<DIV> // Add the blog name.</DIV>
<DIV> bloginfo( 'name' );</DIV>
<DIV> </DIV>
<DIV> // Add the blog description for the home/front
page.</DIV>
<DIV> $site_description = get_bloginfo( 'description',
'display' );</DIV>
<DIV> if ( $site_description && ( is_home() ||
is_front_page() ) )</DIV>
<DIV> echo " |
$site_description";</DIV>
<DIV> </DIV>
<DIV> // Add a page number if necessary:</DIV>
<DIV> if ( $paged >= 2 || $page >= 2 )</DIV>
<DIV> echo ' | ' . sprintf( __( 'Page
%s', 'twentyeleven' ), max( $paged, $page ) );</DIV>
<DIV> </DIV>
<DIV> ?></title></DIV></DIV>
<DIV> </DIV>
<DIV>This could actually be written as such:</DIV>
<DIV> </DIV>
<DIV>add_filter(‘wp_title’, ‘twentyeleven_wp_title’);</DIV>
<DIV> </DIV>
<DIV>function twentyeleven_wp_title($title) {</DIV>
<DIV>global $wp_query, $paged, $page;</DIV>
<DIV> // add the blog name.</DIV>
<DIV> $title .= get_bloginfo(‘name’);</DIV>
<DIV> // Add the blog description for the home/front
page.</DIV>
<DIV> $site_description = get_bloginfo( 'description',
'display' );</DIV>
<DIV> if ( $site_description && ( is_home() ||
is_front_page() ) )</DIV>
<DIV> $title .= " |
$site_description";</DIV>
<DIV> // add a page number if necessary</DIV>
<DIV> // Add a page number if necessary:</DIV>
<DIV> if ( $paged >= 2 || $page >= 2 )</DIV>
<DIV> $title .= ' | ' . _x( 'Page %s',
'twentyeleven' ), max( $paged, $page ) ;</DIV>
<DIV> return $title;</DIV>
<DIV>}</DIV>
<DIV> </DIV>
<DIV>^ little unsure of the _x( part and I’m doing this from memory.</DIV>
<DIV> </DIV>
<DIV>But the biggest issue probably is lack of documentation to make that a
requirement and people in the know not using it.</DIV>
<DIV> </DIV>
<DIV>However, as you can see. It *should* be done this way.</DIV>
<DIV> </DIV>
<DIV>So the end result would be:</DIV>
<DIV> </DIV>
<DIV><title><?php wp_title( ‘|’, true, ‘right’);
?></title></DIV>
<DIV> </DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">^^
Now, the problem will be the output. Someone else want to
chime in on if this is correct?</DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none"> </DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">-
Phil</DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none"> </DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none"></DIV>
<DIV style="FONT: 10pt tahoma">
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=themes@gazpo.com
href="mailto:themes@gazpo.com">Gazpo Themes</A> </DIV>
<DIV><B>Sent:</B> Wednesday, June 06, 2012 12:52 PM</DIV>
<DIV><B>To:</B> <A title=theme-reviewers@lists.wordpress.org
href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</A>
</DIV>
<DIV><B>Subject:</B> [theme-reviewers] Ticket #8055: Need
help.</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Hello,<BR>I
need help about my theme ticket (<A
href="http://themes.trac.wordpress.org/ticket/8055">http://themes.trac.wordpress.org/ticket/8055</A>)<BR><BR>The
theme reviewer has suggested: 'Themes must use wp_title filter.'<BR>I have used
the wp_title from the twenty eleven theme, and I can see that it works fine. Can
someone tell me what's wrong with it?<BR><BR>Also about the header banner, it is
by default linked to the local site where it will be installed. I really can't
see where the problem is. <BR><BR>Can someone please tell me about above issues,
I will highly appreciate.<BR><BR>Thanks.<BR>Sami.<BR>
<P>
<HR>
_______________________________________________<BR>theme-reviewers mailing
list<BR>theme-reviewers@lists.wordpress.org<BR>http://lists.wordpress.org/mailman/listinfo/theme-reviewers<BR></DIV></DIV></DIV></BODY></HTML>