Changeset 159

Show
Ignore:
Timestamp:
04/24/08 14:38:52 (2 months ago)
Author:
zamoose
Message:

Making the header more SEO-friendly, adding blockquote styling to blacknwhite, adding Google Reader feed support and a few others I forget.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/footer.php

    r156 r159  
    5555                <?php } ?> 
    5656 
     57                <?php 
     58                        if(function_exists(wp_rss)){ 
     59                ?> 
     60                        <li><h2><a href="http://feeds.feedburner.com/zamooses-gr-shared-items" class="rssfeed">Google Reader</a></h2> 
     61                                <ul> 
     62                        <?php 
     63                                $url = "http://feeds.feedburner.com/zamooses-gr-shared-items"; 
     64                                 
     65                                wp_rss($url,10); 
     66                                /*      $gr_rss = fetch_rss($url); 
     67                                        $rss_c = 0; 
     68                                         
     69                                        foreach($gr_rss->items as $item){ 
     70                                                if($rss_c <= 4){ 
     71                                                        $title = $item['title']; 
     72                                                        $link = $item['link']; 
     73                                                         
     74                                                        echo "<li><a herf=\"$link\">$title</a></li>\n"; 
     75                                                } 
     76                                                $rss_c++; 
     77                                        }*/ 
     78                        ?> 
     79                                </ul> 
     80                        </li> 
     81                <?php 
     82                        } 
     83                ?> 
     84 
    5785                <?php  
    5886                        $tmp_del_username = get_option('lblg_delicious_username'); 
     
    6088                                $url = 'http://del.icio.us/rss/'.$tmp_del_username; 
    6189                        ?> 
    62                         <li><h2><a href="<?php echo $url; ?>" class="rssfeed">del.icio.us Links</a></h2> 
     90                        <li><h2><a href="<?php echo $url; ?>" class="rssfeed">del.icio.us</a></h2> 
    6391                                <ul> 
    6492                        <?php    
  • trunk/functions.php

    r158 r159  
    302302         jQuery(document).ready(function() {   
    303303             jQuery.get('http://literalbarrage.org/lblgversion.txt', function(newversion){   
    304                  if (<?php echo $theme_current_version; ?> < newversion) { 
    305                      jQuery('#wpbody > .wrap > h2.updatehook').after('<div id="message" class="updated fade"><p><strong>Theme Update available. Click <a href="<?php echo $theme_url;?>">here</a> for details.</strong></p></div>'); 
    306            
    307                  }   
     304                       if (<?php echo $theme_current_version; ?> < newversion) { 
     305                       jQuery('#wpbody > .wrap > h2.updatehook').after('<div id="message" class="updated fade"><p><strong>Theme Update available. Click <a href="<?php echo $theme_url;?>">here</a> for details.</strong></p></div>'); 
     306                               jQuery('#rightnow .youare').after('<p class="themehas"><?php echo $themename; ?> has an <a href="<?php echo $theme_url; ?>">available update</a>.</p>'); 
     307                       }   
    308308             });   
    309309         });   
  • trunk/header.php

    r152 r159  
    1616} 
    1717?> 
    18         <title><?php wp_title(''); ?> <?php if( !(is_404()) && (is_single()) or (is_page()) or (is_archive()) ) { ?> at <?php } ?> <?php bloginfo('name');?></title> 
     18        <title><?php wp_title(''); ?> <?php if( !(is_404()) && (is_single()) or (is_page()) or (is_archive()) ) { ?> &raquo; <?php } ?> <?php bloginfo('name');?></title> 
    1919 
    2020        <?php  
  • trunk/styles/blacknwhite.css

    r156 r159  
    193193        padding-left: 10px; 
    194194} 
     195 
     196.wppost blockquote{ 
     197        background-color: #f5f5f5; 
     198        border-left: 2px solid #0971B3; 
     199        padding: 5px; 
     200        padding-left: 10px; 
     201} 
    195202/* @end */ 
    196203