예제 #1
0
    function danielcowen_column($column_value, $post = NULL)
    {
        if (!$post) {
            $content = danielcowen_display_meta($column_value);
        }
        ?>
                    <div id="column-<?php 
        _e($column_value);
        ?>
" class="column">
    					<div class="column-title">
    							<?php 
        $title = $content->post_title;
        echo $title;
        ?>
    					</div><!-- .column-title -->
    					<div id="column_<?php 
        _e($column_value);
        ?>
_content" class="column-content">
    						<div id="column_<?php 
        _e($column_value);
        ?>
_container" class="container">
    							<?php 
        if (!$post) {
            danielcowen_display_content($content);
        } else {
            include TEMPLATEPATH . '/' . $post;
        }
        ?>
    						</div><!-- #column_<?php 
        _e($column_value);
        ?>
_container -->
    					</div> <!-- #column_<?php 
        _e($column_value);
        ?>
_content -->
    					<div id="scrollLinks_<?php 
        _e($column_value);
        ?>
" class="scrolls">
    						<a id="up_aro_<?php 
        _e($column_value);
        ?>
" class="mouseover_up" href="#">
                                <img src="<?php 
        bloginfo('stylesheet_directory');
        ?>
/images/arrows/<?php 
        _e($column_value);
        ?>
_arrow_up.png" alt="" border="0" />
                            </a>
    						<a id="down_aro_<?php 
        _e($column_value);
        ?>
" class="mouseover_down" href="#">
                                <img src="<?php 
        bloginfo('stylesheet_directory');
        ?>
/images/arrows/<?php 
        _e($column_value);
        ?>
_arrow_down.png" alt="" border="0" />
                            </a>
    					</div><!-- #scrollLinks_<?php 
        _e($column_value);
        ?>
 -->
    				</div><!-- #column-<?php 
        _e($column_value);
        ?>
 -->
                            
                <?php 
    }
예제 #2
0
?>
<div id="section-3" class="section">
    <div id="section-3-heading" class="section-heading">
		<?php 
echo danielcowen_display_meta(3, 'Section')->post_title;
?>
	</div><!-- .section-heading -->	
<div id="section-3-content"class="section-content">
    <div class="2-columns">
			<?php 
danielcowen_column('I');
danielcowen_column('J');
?>
    	</div><!-- .2-columns -->
    </div><!-- #section-3-content -->
</div><!-- #section-3-->	

<div id="section-4" class="section">
	<div id="section-4-heading" class="section-heading">
		<?php 
echo danielcowen_display_meta(4, 'Section')->post_title;
?>
	</div><!-- .section-heading -->	
	<div id="section-4-content"class="section-content">
        <div class="1-column">
            <?php 
danielcowen_column('K', 'page-news.php');
?>
        </div><!-- .1-column -->
    </div><!-- #section-4-content -->
</div><!-- #section-4 -->
예제 #3
0
" title="<?php 
echo esc_attr(get_bloginfo('name', 'display'));
?>
" rel="home">
                <img src="<?php 
/* This is where you specify the name of the logo.*/
bloginfo('stylesheet_directory');
?>
/images/headers/logo.png" 
				/></a>
				</div>
				<div id="site-description">
					<?php 
bloginfo('description');
?>
					<div id="site-note">
						<?php 
/* Page title is statically set to "Note". Changing the content
 * of that post will change that content which is under the 
 * 'description' on the site header.
 */
echo danielcowen_display_meta($note_value, $note_meta)->post_content;
?>
					</div><!-- #site-note -->
				</div><!-- #site-description -->
			</div><!-- #branding -->
		</div><!-- #masthead -->
	</div><!-- #header -->

	<div id="main">