File: /home/mediabou/public_html/aperturafilms.com/wp-content/themes/apertura/page-about.php
<?php get_header(); ?>
<?php include('top-menu.php');?>
<div class = "aboutCover" style="margin-top:0!important">
<img src="<?php the_field("main_cover",53)?>">
</div>
<div class = "aboutDesc">
<div class="aboutRow" style="margin-top: -1.3px">
<div class="aboutSection">
<img class = "aboutSectionImg" src="<?php the_field('the_company_image',53); ?>">
</div>
<div class="aboutSection">
<div class= "aboutSectionDesc">
<div class="aboutSectionDescDiv">
<div class="displayInline">
<div class="filmographyHeader">The Company</div>
<div class="filmographyHeaderLine"></div>
</div>
</div>
<div class="aboutSectionDescDiv">
<?php the_field('the_company'); ?>
</div>
</div>
</div>
<div id="firstOrangeLine" class="orangeLine"></div>
</div>
<div class="aboutRow">
<div class="aboutSection">
<div class= "aboutSectionDesc">
<div class="aboutSectionDescDiv">
<div class="displayInline">
<div class="filmographyHeader">ABNER BENAIM</div>
<div class="filmographyHeaderLine"></div>
</div>
</div>
<div class="aboutSectionDescDiv">
<?php the_field('abner_benaim'); ?>
<div class="bioLink">
<a href = "/filmography" id ="filmographyMenuLink choosenTab">Filmography</a>
</div>
</div>
</div>
</div>
<div class="aboutSection">
<img class = "aboutSectionImg" src="<?php the_field('abner_benaim_image',53); ?>">
</div>
</div>
<div class="orangeLine"></div>
<div class="aboutTeam">
<div class="aboutSectionDescDiv">
<div class="displayInline">
<div class="aboutHeader">Team</div>
<div class="filmographyHeaderLine"></div>
</div>
</div>
<div class="aboutTeamImgs">
<?php
$args = array(
'post_type' => 'team', //remember this is-case sensitive
'posts_per_page' => -1,
);
$counter = 1;
$releaseQuery = new WP_Query( $args );
if ( $releaseQuery->have_posts() ) :
while ( $releaseQuery->have_posts() ) :
$releaseQuery->the_post();
if ($counter % 3 == 0) {
echo '<div class="aboutTeamSection marginRightZero">';
} elseif ($counter % 2 == 0){
echo '<div class="aboutTeamSection marginRightZeroSecond">';
}
else{
echo '<div class="aboutTeamSection">';
}
echo '<div class="aboutTeamImgDiv">';
$c_id = get_the_ID();
echo '<img class="aboutTeamImg" src="'.get_field('image', $c_id).'" ></img>';
echo '</div>';
echo '<div class="aboutTeamName">';
echo get_post_meta($c_id, 'full_name', true);
echo '</div>';
echo '<div class="aboutTeamRoll">';
echo get_post_meta($c_id, 'roll', true);
echo '</div>';
echo '</div>';
$counter = $counter + 1;
endwhile;
endif;
?>
</div>
</div>
<div class="aboutPress">
<div class ="aboutPressOpacity">
<div class="aboutHeader"> Press</div>
<div class="aboutPressLinks">
<?php
$args = array(
'post_type' => 'press', //remember this is-case sensitive
'posts_per_page' => -1,
);
$releaseQuery = new WP_Query( $args );
if ( $releaseQuery->have_posts() ) :
while ( $releaseQuery->have_posts() ) :
$releaseQuery->the_post();
echo '<div class="aboutPressSection">';
echo '<div class="aboutPressSectionHeader">';
$c_id = get_the_ID();
echo get_post_meta($c_id, 'header', true);
echo '</div>';
echo '<div class="aboutPresDesc">';
echo get_post_meta($c_id, 'short_description', true);
echo '</div>';
echo '<div class="aboutPressLink">';
echo '<a target="_blank" href="'.get_post_meta($c_id, 'link', true).'">Read More ></a>';
echo '</div>';
echo '</div>';
endwhile;
endif;
?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>