Example #1
0
<?php

$force_address = fcwp_get_field('force_address', true);
$force_suite_apt = fcwp_get_field('force_suite_apt', true);
$force_city = fcwp_get_field('force_city', true);
$force_state = fcwp_get_field('force_state', true);
$force_zip_code = fcwp_get_field('force_zip_code', true);
$force_phone_number = fcwp_get_field('force_phone_number', true);
$force_footer_text = fcwp_get_field('force_footer_text', true);
$force_facebook_link = fcwp_get_field('force_facebook_link', true);
$force_instagram_link = fcwp_get_field('force_instagram_link', true);
$force_twitter_link = fcwp_get_field('force_twitter_link', true);
$force_b_corp_link = fcwp_get_field('force_b_corp_link', true);
?>
</main>
<footer class="footer" role="contentinfo">
  <div class="inner">
  	<div class="col__1-3 company__info">
      <p>
        <span class="uppercase text__white"><?php 
_e('An Initiative of', 'fcwp');
?>
</span><br />
        <span class="uppercase text__fc-yellow ">
          <a href="http://fulcrumcreatives.com"><?php 
_e('Fulcrum Creatives', 'fcwp');
?>
</a>
        </span>
      </p>
      <div class="footer__social text__fc-yellow ">
get_header();
$force_home_header_main = fcwp_get_field('force_home_header_main');
$force_home_sub_header_main = fcwp_get_field('force_home_sub_header_main');
$force_home_into = fcwp_get_field('force_home_into');
$force_home_intern_app_link_text = fcwp_get_field('force_home_intern_app_link_text');
$force_home_intern_app_link = fcwp_get_field('force_home_intern_app_link');
$force_home_client_app_link_text = fcwp_get_field('force_home_client_app_link_text');
$force_home_client_app_link = fcwp_get_field('force_home_client_app_link');
$force_home_header_intern = fcwp_get_field('force_home_header_intern');
$force_home_sub_header_intern = fcwp_get_field('force_home_sub_header_intern');
$force_home_internship_copy = fcwp_get_field('force_home_internship_copy');
$froce_home_intern_breaker_text = fcwp_get_field('froce_home_intern_breaker_text');
$force_home_header_client = fcwp_get_field('force_home_header_client');
$force_home_sub_header_client = fcwp_get_field('force_home_sub_header_client');
$force_home_client_copy = fcwp_get_field('force_home_client_copy');
$froce_home_client_breaker_text = fcwp_get_field('froce_home_client_breaker_text');
?>
  <article id="post-<?php 
the_ID();
?>
" <?php 
post_class('entry');
?>
 aria-labelledby="section-heading-<?php 
the_ID();
?>
" role="article">
    
    <div class="content__wrapper">
      <div class="heading__bg-main">
        <h1 class="entry__title header__bg" id="section-heading-<?php 
Example #3
0
get_template_part('template-parts/head');
?>
<header class="header" role="banner">
	<div class="content__wrapper">
    <div class="header__logo">
      <a href="<?php 
echo home_url();
?>
">
        <?php 
$force_white_logo = fcwp_get_field('force_white_logo', true);
$force_white_logo_svg = fcwp_get_field('force_white_logo_svg', true);
$force_green_logo = fcwp_get_field('force_green_logo', true);
$force_green_logo_svg = fcwp_get_field('force_green_logo_svg', true);
$force_yellow_logo = fcwp_get_field('force_yellow_logo', true);
$force_yellow_logo_svg = fcwp_get_field('force_yellow_logo_svg', true);
if (is_page('client')) {
    $logo_paths = array('image' => $force_green_logo['sizes']['logo'], 'retina' => $force_green_logo['sizes']['logo@2'], 'svg' => $force_green_logo_svg['url']);
    fcwp_svg($logo_paths, $force_green_logo['alt'], 'logo', 'svg logo__svg logo__green');
} elseif (is_page('internship')) {
    $logo_paths = array('image' => $force_yellow_logo['sizes']['logo'], 'retina' => $force_yellow_logo['sizes']['logo@2'], 'svg' => $force_yellow_logo_svg['url']);
    fcwp_svg($logo_paths, $force_yellow_logo['alt'], 'logo', 'svg logo__svg logo__yellow');
} else {
    $logo_paths = array('image' => $force_white_logo['sizes']['logo'], 'retina' => $force_white_logo['sizes']['logo@2'], 'svg' => $force_white_logo_svg['url']);
    fcwp_svg($logo_paths, $force_white_logo['alt'], 'logo', 'svg logo__svg logo__white');
}
?>
      </a>
    </div>
	</div>
</header>
<?php

/*
Template Name: Contact
*/
get_header();
if (have_posts()) {
    while (have_posts()) {
        the_post();
        $force_forms_heading = fcwp_get_field('force_forms_heading');
        $force_forms_sub_heading = fcwp_get_field('force_forms_sub_heading');
        ?>
  <div class="content__wrapper">
    <div class="heading__bg-main">
      <h1 class="entry__title header__bg" id="section-heading-<?php 
        the_ID();
        ?>
">
        <img src="<?php 
        echo $force_forms_heading['url'];
        ?>
" alt="<?php 
        echo $force_forms_heading['alt'];
        ?>
" />
      </h1>
    </div>
    <h2 class="entry__title-sub uppercase avenir-demi-italic">
      <?php 
        echo $force_forms_sub_heading;
        ?>