Exemplo n.º 1
0
<div class="clear"></div>

<!-- Page Content Area -->
<div class="pagecontent" <?php 
        echo $ag_portfolio['portfolio_content_color'] ? 'style="background:' . $ag_portfolio['portfolio_content_color'] . ';"' : '';
        ?>
>
    <div class ="container  portfolio">
           <div class="eleven columns">
				<?php 
        // Get Featured Slideshow or Section Video
        if (!$ag_portfolio['video'] || $ag_portfolio['video'] == '') {
            echo ag_post_slideshow($ag_portfolio['thumbsize'], get_the_ID(), $ag_portfolio['slide_number'], false, false);
        } else {
            echo ag_post_video($ag_portfolio['video']);
        }
        ?>
            </div>
            <div class="five columns">
            	<div class="portfoliocontent">
                	<?php 
        echo $ag_portfolio['content_title'] && $ag_portfolio['content_title'] != '' ? '<h4>' . $ag_portfolio['content_title'] . '</h4>' : '';
        ?>
					<?php 
        the_content($pageID);
        ?>
                </div>
            </div>
        <div class="clear"></div>
    </div>
Exemplo n.º 2
0
?>
>
    <div <?php 
post_class();
?>
> <!-- WP Post Class -->
        <div class="container">
        
        	<!-- Featured Area -->
            <div class="sixteen columns">
				<?php 
// Get Featured Slideshow or Section Video
if (!$ag_post['video'] || $ag_post['video'] == '') {
    echo ag_post_slideshow($ag_post['thumbsize'], get_the_ID(), $ag_post['slide_number'], false, false);
} else {
    echo ag_post_video($ag_post['video']);
}
?>
            </div>
            <!-- END Featured Area -->
            <div class="clear"></div>
            
            <!-- Content Area -->
            <div class="eleven columns">
            
                 <?php 
if (isset($ag_post['author']) && $ag_post['author'] == 'avatar') {
    ?>
                 
                 	<!-- Avatar Info -->
                 	<div class="avatar-info">
Exemplo n.º 3
0
                    echo $ag_section['backgroundstyle'] ? $ag_section['backgroundstyle'] : '';
                    ?>
>
                    <div class ="container verticalcenter">
                    
                    	<div class="container_row">
                        
                    	<!-- Section Media -->
                        <div class="cell verticalcenter image">
                            <div class="nine columns">
                                <?php 
                    // Get Featured Slideshow or Section Video
                    if (!$ag_section['sectionvideo'] || $ag_section['sectionvideo'] == '') {
                        echo ag_post_slideshow('sectionsmall', $section, $ag_post['slide_number'], true);
                    } else {
                        echo ag_post_video($ag_section['sectionvideo']);
                    }
                    ?>
                            </div>
                        </div>
                        <!-- END Section Media -->
                        
                        <!-- Section Content -->
                        <div class="cell verticalcenter">
                            <div class="six columns offset-by-one content">
                                <?php 
                    echo $section_post->post_title ? '<h2>' . apply_filters('the_title', $section_post->post_title) . '</h2><div class="clear"></div>' : '';
                    ?>
                                <?php 
                    if ($section_post->post_content || $ag_section['section_button_show'] == 'Yes') {
                        ?>