WordPress.org

Make WordPress Themes


Ignore:
Location:
thematic/1.0.3.2
Files:
36 edited

Legend:

Unmodified
Added
Removed
  • thematic/1.0.3.2/links.php

    r78281 r78281  
    3131                thematic_abovepost(); 
    3232            ?> 
    33                  
    34                 <?php 
    35                      
    36                     <div id="post-<?php the_ID(); ?>" <?php post_class(); ?> >  
     33                                     
     34                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?> >  
    3735 
    38                 <?php 
     36                    <?php 
    3937                         
    40                     // creating the post header 
    41                     thematic_postheader(); 
    42                 ?> 
     38                        // creating the post header 
     39                        thematic_postheader(); 
     40                    ?> 
    4341                     
    4442                    <div class="entry-content"> 
  • thematic/1.0.3.2/readme.txt

    r78281 r78281  
    44Requires at least: 3.2 
    55Tested up to: 3.4.2 
    6 Stable tag: 1.0.3.1 
     6Stable tag: 1.0.3.2 
    77 
    88The ultimate in SEO-ready themes, Thematic is a highly extensible, WordPress Theme Framework featuring 13 widget-ready areas, &amp; a whole lot more. 
     
    2929 
    3030== Changelog == 
     31= 1.0.3.2 = 
     32* Changed: Samplechildtheme custom header styling 
     33* Fixed: Syntax error in links.php 
    3134= 1.0.3.1 = 
    3235* Updated: Spanish and Catalan localization files 
  • thematic/1.0.3.2/style.css

    r78281 r78281  
    33THEME URI: http://thematictheme.com 
    44DESCRIPTION: The ultimate in SEO-ready themes, Thematic is a highly extensible, WordPress Theme Framework featuring 13 widget-ready areas, drop-down menus, grid-based layout samples, plugin integration, shortcodes for your footer, &amp; a whole lot more. Perfect for any blog and <strong><em>the</em></strong> starting point for theme development. 
    5 VERSION: 1.0.3.1 
     5VERSION: 1.0.3.2 
    66AUTHOR: <a href="http://themeshaper.com/">Ian Stewart</a> &amp; <a href="http://thematic4you.com/">Chris Go&szlig;mann</a> 
    77AUTHOR URI: http://themeshaper.com/ 
  • thematic/1.0.3.2/thematicsamplechildtheme/functions.php

    r78281 r78281  
    2222 */ 
    2323function childtheme_setup() { 
    24     // For backwards compatibility with some older child themes 
    25     // add_theme_support( 'thematic_legacy_feedlinks' ); // replaces define( 'THEMATIC_COMPATIBLE_FEEDLINKS', true ); 
    26     // add_theme_support( 'thematic_legacy_body_class' ); // replaces define( 'THEMATIC_COMPATIBLE_BODY_CLASS', true ); 
    27     // add_theme_support( 'thematic_legacy_post_class' ); // replaces define( 'THEMATIC_COMPATIBLE_POST_CLASS', true ); 
    28     // add_theme_support( 'thematic_legacy_comment_form' ); // replaces define( 'THEMATIC_COMPATIBLE_COMMENT_FORM', true ); 
    29     // add_theme_support( 'thematic_legacy_comment_handling' ); // replaces define( 'THEMATIC_COMPATIBLE_COMMENT_HANDLING', true ); 
     24     
     25    /* The Following add_theme_support functions  
     26     * will enable legacy Thematic Features 
     27     * if uncommented. 
     28     */ 
     29      
     30    // add_theme_support( 'thematic_legacy_feedlinks' ); 
     31    // add_theme_support( 'thematic_legacy_body_class' ); 
     32    // add_theme_support( 'thematic_legacy_post_class' ); 
     33    // add_theme_support( 'thematic_legacy_comment_form' ); 
     34    // add_theme_support( 'thematic_legacy_comment_handling' ); 
    3035     
    3136     
     
    5156    add_theme_support( 'custom-header', array( 
    5257        // Header image default 
    53         'default-image' => '', 
     58        'default-image' => '', 
    5459        // Header text display default 
    55         'header-text'   => true, 
     60        'header-text' => true, 
    5661        // Header text color default 
    57         'default-text-color'    => '', 
     62        'default-text-color' => '000', 
    5863        // Header image width (in pixels) 
    5964        'width' => '940', 
    6065        // Header image height (in pixels) 
    61         'height'    => '235', 
     66        'height' => '235', 
    6267        // Header image random rotation default 
    63         'random-default'    => false, 
     68        'random-default' => false, 
    6469        // Template header style callback 
    65         'wp-head-callback'  => 'childtheme_header_style', 
     70        'wp-head-callback' => 'childtheme_header_style', 
    6671        // Admin header style callback 
    67         'admin-head-callback'   => 'childtheme_admin_header_style' 
    68             )  
     72        'admin-head-callback' => 'childtheme_admin_header_style' 
     73        )  
    6974    ); 
    7075     
    7176} 
    72 add_action('after_setup_theme', 'childtheme_setup', 20); 
     77add_action('thematic_child_init', 'childtheme_setup'); 
    7378 
    7479 
     
    7883 * Defines the front-end style definitions for  
    7984 * the custom image header. 
     85 * This style declaration will be output in the <head> of the 
     86 * document just before the closing </head> tag. 
     87 * Inline Syles and !important declarations  
     88 * can be used to override these styles. 
    8089 * 
    8190 * @link http://codex.wordpress.org/Function_Reference/get_header_image get_header_image() 
     
    8594    ?>   
    8695    <style type="text/css"> 
    87     /* Sets header image as background for div#branding */ 
    88     <?php 
     96    <?php 
     97    /* Declares the header image from the settings 
     98     * saved in WP-Admin > Appearance > Header 
     99     * as the background-image for div#branding. 
     100     */ 
    89101    if ( get_header_image() && HEADER_IMAGE != get_header_image() ) { 
    90102        ?> 
    91103        #branding { 
    92             background:url('<?php header_image(); ?>') no-repeat center top; 
    93             overflow: hidden; 
     104            background:url('<?php header_image(); ?>') no-repeat 0 100%; 
     105            margin-bottom:28px; 
     106            padding:44px 0 <?php echo HEADER_IMAGE_HEIGHT; ?>px 0; /* Bottom padding is the same height as the image */ 
     107            overflow: visible; 
     108} 
    94109        } 
    95110        <?php if ( 'blank' != get_header_textcolor() ) { ?> 
     
    97112            color:#000; 
    98113        } 
     114        #blog-description {  
     115            padding-bottom: 22px; 
     116        } 
    99117        <?php 
    100         }    
     118        } 
     119         
    101120    } 
    102121    ?> 
    103     /* Sets text color for #blog-title and #blog-description */ 
    104     <?php 
     122    <?php 
     123    /* This delcares text color for the Blog title and Description 
     124     * from the settings saved in WP-Admin > Appearance > Header\ 
     125     * If not set the deafault color is set to #000  
     126     */ 
    105127    if ( get_header_textcolor() ) { 
    106128        ?> 
     
    110132        <?php 
    111133    } 
     134    /* Removes header text if the 
     135     * "Do not diplay header text
" setting is saved 
     136     * in WP-Admin > Appearance > Header 
     137     */ 
     138    if ( ! display_header_text() ) { 
     139        ?> 
     140        #branding { 
     141            background-position: center bottom; 
     142            background-repeat: no-repeat; 
     143            margin-top: 32px; 
     144        } 
     145        #blog-title, #blog-title a, #blog-description { 
     146            display:none; 
     147        } 
     148        #branding {  
     149            height:<?php echo HEADER_IMAGE_HEIGHT; ?>px;  
     150            width:940px; 
     151            padding:0;  
     152        } 
     153        <?php 
     154    } 
    112155    ?> 
    113156    </style> 
     
    119162 * Custom Image Header Admin Callback 
    120163 * 
    121  * Callback to define the admin (back-end) style 
    122  * definitions for the custom image header. Customize 
    123  * css to match your theme defaults. 
     164 * Callback to defines the admin (back-end) style 
     165 * definitions for the custom image header. 
     166 * Customize the css to match your theme defaults. 
     167 * The !important declarations override inline admin styles 
     168 * to better represent a WYSIWYG of the front-end styling 
     169 * that this child theme is currently designed to display. 
    124170 */ 
    125171function childtheme_admin_header_style() { 
     
    127173    <style type="text/css"> 
    128174    #headimg { 
    129         width: <?php echo HEADER_IMAGE_WIDTH; ?>px; 
    130         height: <?php echo HEADER_IMAGE_HEIGHT; ?>px; 
    131     } 
    132     #headimg h1, 
    133     #headimg div { 
    134     border:0; 
    135     } 
     175        background-position: left bottom;  
     176        background-repeat:no-repeat; 
     177        border:0 !important;    
     178        height:auto !important; 
     179        padding:0 0 <?php echo HEADER_IMAGE_HEIGHT + 22; /* change the added integer (22) to match your desired top padding */?>px 0; 
     180        margin:0 0 28px 0; 
     181    } 
     182     
    136183    #headimg h1 { 
    137184        font-family:Arial,sans-serif; 
     
    139186        font-weight:bold; 
    140187        line-height:40px; 
    141         padding-top:88px; 
    142188        margin:0; 
    143189    } 
    144     #headimg h1 a { 
     190    #headimg a { 
     191        color: #000; 
    145192        text-decoration: none; 
    146193    } 
    147     #headimg div { 
    148         font-size:13px; 
    149         font-style:italic; 
    150     } 
     194    #desc{ 
     195        font-family: Georgia; 
     196        font-size: 13px; 
     197        font-style: italic; 
     198    } 
    151199    </style> 
    152200    <?php 
    153201} 
    154  
  • thematic/1.0.3.2/thematicsamplechildtheme/style.css

    r78281 r78281  
    3737@import url('../thematic/library/styles/plugins.css'); 
    3838 
    39  
     39/* Overriding Thematic's styles for congruity with WP-Admin > Appearance > Header default header text color settings */ 
     40#blog-description { color: #000 } 
Note: See TracChangeset for help on using the changeset viewer.