<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: Blank site and wp-admin caused by unknown functions.php problem</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Mon, 20 May 2013 09:05:25 +0000</pubDate>

<item>
<title>mrsteveman1 on "Blank site and wp-admin caused by unknown functions.php problem"</title>
<link>http://themeshaper.com/forums/topic/blank-site-and-wp-admin-caused-by-unknown-functionsphp-problem#post-6782</link>
<pubDate>Mon, 28 Sep 2009 22:06:45 +0000</pubDate>
<dc:creator>mrsteveman1</dc:creator>
<guid isPermaLink="false">6782@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I think you got just about the same thing i did. I pulled the edit link since we don't use it though.&#60;/p&#62;
&#60;p&#62;I'm new to php but i'm &#34;pretty good&#34; in objective-c and c, so thanks for all the help :)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function reverse_header() {
global $id, $post, $authordata;

if (is_single() &#124;&#124; is_page()) {
$posttitle = &#38;#39;&#38;lt;h1 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;#39; . get_the_title() . &#38;quot;&#38;lt;/h1&#38;gt;\n&#38;quot;;
} elseif (is_404()) {
$posttitle = &#38;#39;&#38;lt;h1 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;#39; . __(&#38;#39;Not Found&#38;#39;, &#38;#39;thematic&#38;#39;) . &#38;quot;&#38;lt;/h1&#38;gt;\n&#38;quot;;
} else {
$posttitle = &#38;#39;&#38;lt;h2 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;#39;;
$posttitle .= get_permalink();
$posttitle .= &#38;#39;&#38;quot; title=&#38;quot;&#38;#39;;
$posttitle .= __(&#38;#39;Permalink to &#38;#39;, &#38;#39;thematic&#38;#39;) . the_title_attribute(&#38;#39;echo=0&#38;#39;);
$posttitle .= &#38;#39;&#38;quot; rel=&#38;quot;bookmark&#38;quot;&#38;gt;&#38;#39;;
$posttitle .= get_the_title();
$posttitle .= &#38;quot;&#38;lt;/a&#38;gt;&#38;lt;/h2&#38;gt;\n&#38;quot;;
}
$posttitle = apply_filters(&#38;#39;thematic_postheader_posttitle&#38;#39;,$posttitle);

$postmeta = &#38;#39;&#38;lt;div class=&#38;quot;entry-meta&#38;quot;&#38;gt;&#38;#39;;
$postmeta .= &#38;#39;&#38;lt;span class=&#38;quot;meta-prep meta-prep-author&#38;quot;&#38;gt;&#38;#39; . __(&#38;#39;By &#38;#39;, &#38;#39;thematic&#38;#39;) . &#38;#39;&#38;lt;/span&#38;gt;&#38;#39;;
$postmeta .= &#38;#39;&#38;lt;span class=&#38;quot;author vcard&#38;quot;&#38;gt;&#38;#39;. &#38;#39;&#38;lt;a class=&#38;quot;url fn n&#38;quot; href=&#38;quot;&#38;#39;;
$postmeta .= get_author_link(false, $authordata-&#38;gt;ID, $authordata-&#38;gt;user_nicename);
$postmeta .= &#38;#39;&#38;quot; title=&#38;quot;&#38;#39; . __(&#38;#39;View all posts by &#38;#39;, &#38;#39;thematic&#38;#39;) . get_the_author() . &#38;#39;&#38;quot;&#38;gt;&#38;#39;;
$postmeta .= get_the_author();
$postmeta .= &#38;#39;&#38;lt;/a&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;span class=&#38;quot;meta-sep meta-sep-entry-date&#38;quot;&#38;gt; &#124; &#38;lt;/span&#38;gt;&#38;#39;;
$postmeta .= &#38;#39;&#38;lt;span class=&#38;quot;meta-prep meta-prep-entry-date&#38;quot;&#38;gt;&#38;#39; . __(&#38;#39;Published: &#38;#39;, &#38;#39;thematic&#38;#39;) . &#38;#39;&#38;lt;/span&#38;gt;&#38;#39;;
$postmeta .= &#38;#39;&#38;lt;span class=&#38;quot;entry-date&#38;quot;&#38;gt;&#38;lt;abbr class=&#38;quot;published&#38;quot; title=&#38;quot;&#38;#39;;
$postmeta .= get_the_time(thematic_time_title()) . &#38;#39;&#38;quot;&#38;gt;&#38;#39;;
$postmeta .= get_the_time(thematic_time_display());
$postmeta .= &#38;#39;&#38;lt;/abbr&#38;gt;&#38;lt;/span&#38;gt;&#38;#39;;
$postmeta .= &#38;quot;&#38;lt;/div&#38;gt;&#38;lt;!-- .entry-meta --&#38;gt;\n&#38;quot;;
$postmeta = apply_filters(&#38;#39;thematic_postheader_postmeta&#38;#39;,$postmeta);

       $postheader = $postmeta . $posttitle;
       return $postheader;
}
add_filter(&#38;#39;thematic_postheader&#38;#39;, &#38;#39;reverse_header&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Chris on "Blank site and wp-admin caused by unknown functions.php problem"</title>
<link>http://themeshaper.com/forums/topic/blank-site-and-wp-admin-caused-by-unknown-functionsphp-problem#post-6781</link>
<pubDate>Mon, 28 Sep 2009 22:01:14 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">6781@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Almost :)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function my_postheader() {
    global $id, $post, $authordata;

    // Create $posteditlink
    $posteditlink .= &#38;#39;&#38;lt;a href=&#38;quot;&#38;#39; . thm_bloginfo(&#38;#39;wpurl&#38;#39;, FALSE) . &#38;#39;/wp-admin/post.php?action=edit&#38;amp;amp;post=&#38;#39; . $id;
    $posteditlink .= &#38;#39;&#38;quot; title=&#38;quot;&#38;#39; . __(&#38;#39;Edit post&#38;#39;, &#38;#39;thematic&#38;#39;) .&#38;#39;&#38;quot;&#38;gt;&#38;#39;;
    $posteditlink .= __(&#38;#39;Edit&#38;#39;, &#38;#39;thematic&#38;#39;) . &#38;#39;&#38;lt;/a&#38;gt;&#38;#39;;
    $posteditlink = apply_filters(&#38;#39;thematic_postheader_posteditlink&#38;#39;,$posteditlink); 

    if (is_single() &#124;&#124; is_page()) {
        $posttitle = &#38;#39;&#38;lt;h1 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;#39; . get_the_title() . &#38;quot;&#38;lt;/h1&#38;gt;\n&#38;quot;;
    } elseif (is_404()) {
        $posttitle = &#38;#39;&#38;lt;h1 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;#39; . __(&#38;#39;Not Found&#38;#39;, &#38;#39;thematic&#38;#39;) . &#38;quot;&#38;lt;/h1&#38;gt;\n&#38;quot;;
    } else {
        $posttitle = &#38;#39;&#38;lt;h2 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;#39;;
        $posttitle .= get_permalink();
        $posttitle .= &#38;#39;&#38;quot; title=&#38;quot;&#38;#39;;
        $posttitle .= __(&#38;#39;Permalink to &#38;#39;, &#38;#39;thematic&#38;#39;) . the_title_attribute(&#38;#39;echo=0&#38;#39;);
        $posttitle .= &#38;#39;&#38;quot; rel=&#38;quot;bookmark&#38;quot;&#38;gt;&#38;#39;;
        $posttitle .= get_the_title();
        $posttitle .= &#38;quot;&#38;lt;/a&#38;gt;&#38;lt;/h2&#38;gt;\n&#38;quot;;
    }
    $posttitle = apply_filters(&#38;#39;thematic_postheader_posttitle&#38;#39;,$posttitle); 

    $postmeta = &#38;#39;&#38;lt;div class=&#38;quot;entry-meta&#38;quot;&#38;gt;&#38;#39;;
    $postmeta .= &#38;#39;&#38;lt;span class=&#38;quot;meta-prep meta-prep-author&#38;quot;&#38;gt;&#38;#39; . __(&#38;#39;By &#38;#39;, &#38;#39;thematic&#38;#39;) . &#38;#39;&#38;lt;/span&#38;gt;&#38;#39;;
    $postmeta .= &#38;#39;&#38;lt;span class=&#38;quot;author vcard&#38;quot;&#38;gt;&#38;#39;. &#38;#39;&#38;lt;a class=&#38;quot;url fn n&#38;quot; href=&#38;quot;&#38;#39;;
    $postmeta .= get_author_link(false, $authordata-&#38;gt;ID, $authordata-&#38;gt;user_nicename);
    $postmeta .= &#38;#39;&#38;quot; title=&#38;quot;&#38;#39; . __(&#38;#39;View all posts by &#38;#39;, &#38;#39;thematic&#38;#39;) . get_the_author() . &#38;#39;&#38;quot;&#38;gt;&#38;#39;;
    $postmeta .= get_the_author();
    $postmeta .= &#38;#39;&#38;lt;/a&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;span class=&#38;quot;meta-sep meta-sep-entry-date&#38;quot;&#38;gt; &#124; &#38;lt;/span&#38;gt;&#38;#39;;
    $postmeta .= &#38;#39;&#38;lt;span class=&#38;quot;meta-prep meta-prep-entry-date&#38;quot;&#38;gt;&#38;#39; . __(&#38;#39;Published: &#38;#39;, &#38;#39;thematic&#38;#39;) . &#38;#39;&#38;lt;/span&#38;gt;&#38;#39;;
    $postmeta .= &#38;#39;&#38;lt;span class=&#38;quot;entry-date&#38;quot;&#38;gt;&#38;lt;abbr class=&#38;quot;published&#38;quot; title=&#38;quot;&#38;#39;;
    $postmeta .= get_the_time(thematic_time_title()) . &#38;#39;&#38;quot;&#38;gt;&#38;#39;;
    $postmeta .= get_the_time(thematic_time_display());
    $postmeta .= &#38;#39;&#38;lt;/abbr&#38;gt;&#38;lt;/span&#38;gt;&#38;#39;;
    // Display edit link
    if (current_user_can(&#38;#39;edit_posts&#38;#39;)) {
        $postmeta .= &#38;#39; &#38;lt;span class=&#38;quot;meta-sep meta-sep-edit&#38;quot;&#38;gt;&#124;&#38;lt;/span&#38;gt; &#38;#39; . &#38;#39;&#38;lt;span class=&#38;quot;edit&#38;quot;&#38;gt;&#38;#39; . $posteditlink . &#38;#39;&#38;lt;/span&#38;gt;&#38;#39;;
    }
    $postmeta .= &#38;quot;&#38;lt;/div&#38;gt;&#38;lt;!-- .entry-meta --&#38;gt;\n&#38;quot;;
    $postmeta = apply_filters(&#38;#39;thematic_postheader_postmeta&#38;#39;,$postmeta); 

    $postheader = $posttitle . $postmeta;

}
add_filter(&#38;#39;thematic_postheader&#38;#39;, &#38;#39;my_postheader&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Should be it. Haven't checked, if you only changed the $posttitle.$postmeta thing.&#60;/p&#62;
&#60;p&#62;Anyway .. I'm not very happy with this. I'll put this on my To-Do list for one of the next releases. Something that makes it easier to change thematic_postheader().&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>mrsteveman1 on "Blank site and wp-admin caused by unknown functions.php problem"</title>
<link>http://themeshaper.com/forums/topic/blank-site-and-wp-admin-caused-by-unknown-functionsphp-problem#post-6780</link>
<pubDate>Mon, 28 Sep 2009 21:57:23 +0000</pubDate>
<dc:creator>mrsteveman1</dc:creator>
<guid isPermaLink="false">6780@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I can see that i could include all the contents of my thematic_postheader function into a newly named function, return $postheader at the end and filter thematic_postheader with it, is there an easier way?
&#60;/p&#62;</description>
</item>
<item>
<title>mrsteveman1 on "Blank site and wp-admin caused by unknown functions.php problem"</title>
<link>http://themeshaper.com/forums/topic/blank-site-and-wp-admin-caused-by-unknown-functionsphp-problem#post-6779</link>
<pubDate>Mon, 28 Sep 2009 21:23:23 +0000</pubDate>
<dc:creator>mrsteveman1</dc:creator>
<guid isPermaLink="false">6779@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Sweet! One down one to go :) &#60;/p&#62;
&#60;p&#62;The reason i replaced postheader was to put the post metadata on top of the post title (normally the other way around) so i put &#34;$postmeta . $posttitle&#34; in there.&#60;/p&#62;
&#60;p&#62;Is that similarly easy to do?
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Blank site and wp-admin caused by unknown functions.php problem"</title>
<link>http://themeshaper.com/forums/topic/blank-site-and-wp-admin-caused-by-unknown-functionsphp-problem#post-6778</link>
<pubDate>Mon, 28 Sep 2009 21:05:19 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">6778@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;.. yes .. &#60;/p&#62;
&#60;p&#62;Filtering thematic_content() would be something like this (.. think you want to display the full content everywhere):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function full_content() {
    return &#38;#39;full&#38;#39;;
}
add_filter(&#38;#39;thematic_content&#38;#39;, &#38;#39;full_content&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>mrsteveman1 on "Blank site and wp-admin caused by unknown functions.php problem"</title>
<link>http://themeshaper.com/forums/topic/blank-site-and-wp-admin-caused-by-unknown-functionsphp-problem#post-6776</link>
<pubDate>Mon, 28 Sep 2009 20:35:09 +0000</pubDate>
<dc:creator>mrsteveman1</dc:creator>
<guid isPermaLink="false">6776@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;So i hooked or filtered those areas incorrectly then right?&#60;/p&#62;
&#60;p&#62;I figured i couldn't just shove the same function in there but it worked for some reason.....
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Blank site and wp-admin caused by unknown functions.php problem"</title>
<link>http://themeshaper.com/forums/topic/blank-site-and-wp-admin-caused-by-unknown-functionsphp-problem#post-6772</link>
<pubDate>Mon, 28 Sep 2009 18:54:50 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">6772@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;this is weird .. this functions.php shouldn't work at all!&#60;/p&#62;
&#60;p&#62;Remove the functions thematic_postheader() and thematic_content() .. and it should run stable&#60;/p&#62;
&#60;p&#62;Normally the page should be blank all the time 'cause you can't have two functions with the same name.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>mrsteveman1 on "Blank site and wp-admin caused by unknown functions.php problem"</title>
<link>http://themeshaper.com/forums/topic/blank-site-and-wp-admin-caused-by-unknown-functionsphp-problem#post-6766</link>
<pubDate>Mon, 28 Sep 2009 17:07:01 +0000</pubDate>
<dc:creator>mrsteveman1</dc:creator>
<guid isPermaLink="false">6766@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Can only replicate this one once or twice a day, fixing it only requires moving functions.php to a new name and back again in the shell (functions.php&#38;gt;func&#38;gt;functions.php). After that, site works fine for a few more hours till i come back and find http 500 error codes in the access log.&#60;/p&#62;
&#60;p&#62;The site is not production so breaks are not a problem but i'd like to fix them of course. PHP error logging is turned on but nothing of any help is turning up in the logfile i have set.&#60;/p&#62;
&#60;p&#62;I have tried to replicate the bug by pulling specific hooks but it does not seem to make a bit of difference.&#60;/p&#62;
&#60;p&#62;Here is functions.php since it clearly seems to be the problem, we may be hooking some of these things incorrectly:&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;/p&#62;
&#60;p&#62;function childtheme_favicon() { ?&#38;gt;&#60;br /&#62;
    &#38;lt;link rel=&#34;shortcut icon&#34; href=&#34;&#38;lt;?php echo bloginfo('stylesheet_directory') ?&#38;gt;/images/favicon.ico&#34;&#38;gt;&#60;br /&#62;
&#38;lt;?php }&#60;br /&#62;
add_action('wp_head', 'childtheme_favicon');&#60;/p&#62;
&#60;p&#62;function remove_blogtitle() {&#60;br /&#62;
	remove_action('thematic_header','thematic_blogtitle',3);&#60;br /&#62;
}&#60;br /&#62;
add_action('init', 'remove_blogtitle');&#60;/p&#62;
&#60;p&#62;function macosrumors_blogtitle() { ?&#38;gt;&#60;br /&#62;
&#38;lt;div id=&#34;blog-title&#34;&#38;gt;&#60;br /&#62;
&#60;a&#62;/&#34; title=&#34;&#38;lt;?php bloginfo('name') ?&#38;gt;&#34; rel=&#34;home&#34;&#38;gt;&#38;lt;img src=&#34;&#38;lt;?php bloginfo('stylesheet_directory'); ?&#38;gt;/images/mosrnew.png&#34;&#38;gt;&#60;/a&#62;&#60;br /&#62;
&#38;lt;h1 class=&#34;blogtitle&#34;&#38;gt;Mac OS Rumors&#38;lt;/h1&#38;gt;&#60;br /&#62;
&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;?php }&#60;br /&#62;
add_action('thematic_header','macosrumors_blogtitle',3);&#60;/p&#62;
&#60;p&#62;function remove_brandingclose() {&#60;br /&#62;
	remove_action('thematic_header','thematic_brandingclose',7);&#60;br /&#62;
}&#60;br /&#62;
add_action('init', 'remove_brandingclose');&#60;/p&#62;
&#60;p&#62;function macosrumors_brandingclose() { ?&#38;gt;&#60;br /&#62;
&#38;lt;div id=&#34;Tips&#34;&#38;gt;Submit Tips:&#38;lt;/div&#38;gt;&#60;br /&#62;
&#60;a href=&#34;mailto:tips@macosrumors.com&#34;&#62;&#38;lt;img src=&#34;&#38;lt;?php bloginfo('stylesheet_directory'); ?&#38;gt;/images/gmail-32.png&#34; alt=&#34;Submit by email&#34;&#38;gt;&#60;/a&#62;&#60;br /&#62;
&#38;lt;div id=&#34;FollowUs&#34;&#38;gt;Follow Mac OS Rumors:&#38;lt;/div&#38;gt;&#60;br /&#62;
&#60;a href=&#34;http://twitter.com/macosrumors&#34;&#62;&#38;lt;img src=&#34;&#38;lt;?php bloginfo('stylesheet_directory'); ?&#38;gt;/images/twitter-80x80.png&#34; alt=&#34;Follow us&#34;&#38;gt;&#60;/a&#62;&#60;br /&#62;
&#60;a&#62;/feed&#34;&#38;gt;&#38;lt;img src=&#34;&#38;lt;?php bloginfo('stylesheet_directory'); ?&#38;gt;/images/feed-icon-50x50.png&#34; alt=&#34;Subscribe&#34;&#38;gt;&#60;/a&#62;&#60;br /&#62;
&#38;lt;/div&#38;gt;&#38;lt;!--  #branding --&#38;gt;&#60;br /&#62;
&#38;lt;?php }&#60;br /&#62;
add_action('thematic_header','macosrumors_brandingclose',7);&#60;/p&#62;
&#60;p&#62;function remove_access() {&#60;br /&#62;
	remove_action('thematic_header','thematic_access',9);&#60;br /&#62;
}&#60;br /&#62;
add_action('init', 'remove_access');&#60;/p&#62;
&#60;p&#62;function macosrumors_nav_menu() { ?&#38;gt;&#60;br /&#62;
&#38;lt;div id=&#34;access&#34;&#38;gt;&#60;br /&#62;
    &#38;lt;ul class=&#34;sf-menu sf-js-enabled&#34;&#38;gt;&#60;/p&#62;
&#60;li&#62;&#60;a&#62;/&#34; title=&#34;&#38;lt;?php bloginfo('name') ?&#38;gt;&#34; rel=&#34;home&#34;&#38;gt;Home&#60;/a&#62;&#60;/li&#62;
&#60;p&#62;    &#38;lt;?php&#60;br /&#62;
          $articles = get_cat_id('articles');&#60;br /&#62;
          wp_list_categories('title_li=&#38;#38;include=' . $articles);&#60;br /&#62;
     ?&#38;gt; &#60;/p&#62;
&#60;p&#62;    &#38;lt;?php&#60;br /&#62;
          $aboutpage = get_page_by_title('About');&#60;br /&#62;
          $aboutpageid = $aboutpage-&#38;gt;ID;&#60;/p&#62;
&#60;p&#62;          $contactpage = get_page_by_title('Contact');&#60;br /&#62;
          $contactpageid = $contactpage-&#38;gt;ID;&#60;/p&#62;
&#60;p&#62;          $privacypage = get_page_by_title('Privacy');&#60;br /&#62;
          $privacypageid = $privacypage-&#38;gt;ID;&#60;/p&#62;
&#60;p&#62;          wp_page_menu('menu_class=menu&#38;#38;echo=true&#38;#38;include=' . $aboutpageid . &#34;,&#34; . $contactpageid . &#34;,&#34; . $privacypageid);&#60;br /&#62;
    ?&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;ul class=&#34;sf-menu sf-js-enabled&#34;&#38;gt;&#38;lt;li id=&#34;search-box&#34;&#38;gt;&#60;br /&#62;
    &#38;lt;form action=&#34;http://www.google.com/cse&#34; id=&#34;cse-search-box&#34; target=&#34;_blank&#34;&#38;gt;&#60;br /&#62;
       &#38;lt;div&#38;gt;&#60;br /&#62;
          &#38;lt;input type=&#34;hidden&#34; name=&#34;cx&#34; value=&#34;partner-pub-8554564026690663:kjchh3-n0ft&#34; /&#38;gt;&#60;br /&#62;
          &#38;lt;input type=&#34;hidden&#34; name=&#34;ie&#34; value=&#34;ISO-8859-1&#34; /&#38;gt;&#60;br /&#62;
          &#38;lt;input type=&#34;text&#34; name=&#34;q&#34; size=&#34;31&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;       &#38;lt;/div&#38;gt;&#60;br /&#62;
     &#38;lt;/form&#38;gt;&#60;br /&#62;
     &#38;lt;script type=&#34;text/javascript&#34; src=&#34;http://www.google.com/cse/brand?form=cse-search-box&#38;amp;lang=en&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;/div&#38;gt;&#38;lt;!-- #access --&#38;gt;&#60;br /&#62;
&#38;lt;?php }&#60;br /&#62;
add_action('thematic_header','macosrumors_nav_menu');&#60;/p&#62;
&#60;p&#62;function thematic_postheader() {&#60;br /&#62;
    global $id, $post, $authordata;&#60;/p&#62;
&#60;p&#62;    if (is_single() &#124;&#124; is_page()) {&#60;br /&#62;
        $posttitle = '&#38;lt;h1 class=&#34;entry-title&#34;&#38;gt;' . get_the_title() . &#34;&#38;lt;/h1&#38;gt;\n&#34;;&#60;br /&#62;
    } elseif (is_404()) {&#60;br /&#62;
        $posttitle = '&#38;lt;h1 class=&#34;entry-title&#34;&#38;gt;' . __('Not Found', 'thematic') . &#34;&#38;lt;/h1&#38;gt;\n&#34;;&#60;br /&#62;
    } else {&#60;br /&#62;
        $posttitle = '&#38;lt;h2 class=&#34;entry-title&#34;&#38;gt;&#38;lt;a href=&#34;';&#60;br /&#62;
        $posttitle .= get_permalink();&#60;br /&#62;
        $posttitle .= '&#34; title=&#34;';&#60;br /&#62;
        $posttitle .= __('Permalink to ', 'thematic') . the_title_attribute('echo=0');&#60;br /&#62;
        $posttitle .= '&#34; rel=&#34;bookmark&#34;&#38;gt;';&#60;br /&#62;
        $posttitle .= get_the_title();&#60;br /&#62;
        $posttitle .= &#34;&#38;lt;/h2&#38;gt;\n&#34;;&#60;br /&#62;
    }&#60;br /&#62;
    $posttitle = apply_filters('thematic_postheader_posttitle',$posttitle); &#60;/p&#62;
&#60;p&#62;    $postmeta = '&#38;lt;div class=&#34;entry-meta&#34;&#38;gt;';&#60;br /&#62;
    $postmeta .= '&#38;lt;span class=&#34;meta-prep meta-prep-author&#34;&#38;gt;' . __('By ', 'thematic') . '&#38;lt;/span&#38;gt;';&#60;br /&#62;
    $postmeta .= '&#38;lt;span class=&#34;author vcard&#34;&#38;gt;'. '&#38;lt;a class=&#34;url fn n&#34; href=&#34;';&#60;br /&#62;
    $postmeta .= get_author_link(false, $authordata-&#38;gt;ID, $authordata-&#38;gt;user_nicename);&#60;br /&#62;
    $postmeta .= '&#34; title=&#34;' . __('View all posts by ', 'thematic') . get_the_author() . '&#34;&#38;gt;';&#60;br /&#62;
    $postmeta .= get_the_author();&#60;br /&#62;
    $postmeta .= '&#38;lt;/span&#38;gt;&#38;lt;span class=&#34;meta-sep meta-sep-entry-date&#34;&#38;gt; &#124; &#38;lt;/span&#38;gt;';&#60;br /&#62;
    $postmeta .= '&#38;lt;span class=&#34;meta-prep meta-prep-entry-date&#34;&#38;gt;' . __('Published: ', 'thematic') . '&#38;lt;/span&#38;gt;';&#60;br /&#62;
    $postmeta .= '&#38;lt;span class=&#34;entry-date&#34;&#38;gt;&#38;lt;abbr class=&#34;published&#34; title=&#34;';&#60;br /&#62;
    $postmeta .= get_the_time(thematic_time_title()) . '&#34;&#38;gt;';&#60;br /&#62;
    $postmeta .= get_the_time(thematic_time_display());&#60;br /&#62;
    $postmeta .= '&#38;lt;/abbr&#38;gt;&#38;lt;/span&#38;gt;';&#60;br /&#62;
    $postmeta .= &#34;&#38;lt;/div&#38;gt;&#38;lt;!-- .entry-meta --&#38;gt;\n&#34;;&#60;br /&#62;
    $postmeta = apply_filters('thematic_postheader_postmeta',$postmeta); &#60;/p&#62;
&#60;p&#62;    if ($post-&#38;gt;post_type == 'page' &#124;&#124; is_404()) {&#60;br /&#62;
        $postheader = $postmeta . $posttitle;&#60;br /&#62;
    } else {&#60;br /&#62;
        $postheader = $postmeta . $posttitle;&#60;br /&#62;
    }&#60;br /&#62;
    echo apply_filters( 'thematic_postheader', $postheader ); // Filter to override default post header&#60;br /&#62;
} // end thematic_postheader&#60;/p&#62;
&#60;p&#62;//creates the content&#60;br /&#62;
function thematic_content() {&#60;/p&#62;
&#60;p&#62;	if (is_home() &#124;&#124; is_front_page()) {&#60;br /&#62;
		$content = 'full';&#60;br /&#62;
	} elseif (is_single()) {&#60;br /&#62;
		$content = 'full';&#60;br /&#62;
	} elseif (is_tag()) {&#60;br /&#62;
		$content = 'full';&#60;br /&#62;
	} elseif (is_search()) {&#60;br /&#62;
		$content = 'full';&#60;br /&#62;
	} elseif (is_category()) {&#60;br /&#62;
		$content = 'full';&#60;br /&#62;
	} elseif (is_author()) {&#60;br /&#62;
		$content = 'full';&#60;br /&#62;
	} elseif (is_archive()) {&#60;br /&#62;
		$content = 'full';&#60;br /&#62;
	}&#60;br /&#62;
        $content = apply_filters('thematic_content', $content);&#60;br /&#62;
	if ( strtolower($content) == 'full' ) {&#60;br /&#62;
		$post = get_the_content(more_text());&#60;br /&#62;
		$post = apply_filters('the_content', $post);&#60;br /&#62;
		$post = str_replace(']]&#38;gt;', ']]&#38;gt;', $post);&#60;br /&#62;
	} elseif ( strtolower($content) == 'excerpt') {&#60;br /&#62;
		$post = get_the_excerpt();&#60;br /&#62;
	} elseif ( strtolower($content) == 'none') {&#60;br /&#62;
	} else {&#60;br /&#62;
		$post = get_the_content(more_text());&#60;br /&#62;
		$post = apply_filters('the_content', $post);&#60;br /&#62;
		$post = str_replace(']]&#38;gt;', ']]&#38;gt;', $post);&#60;br /&#62;
	}&#60;br /&#62;
        echo apply_filters('thematic_post', $post);&#60;br /&#62;
} // end thematic_content&#60;br /&#62;
?&#38;gt;
&#60;/p&#62;</description>
</item>

</channel>
</rss>
