コード例 #1
1
    function ecs_newpatient_module_content_filter($content)
    {
        $page = get_field('option_newpatient_page', 'option');
        if (is_page($page->ID)) {
            ob_start();
            if (get_field('option_vacation_notice', 'option')) {
                ?>
					
				<div class="info">
					
					<?php 
                the_field('option_vacation_notice_text', 'option');
                ?>

				</div>

				<?php 
            }
            gravity_form_enqueue_scripts(3, true);
            gravity_form(3, false, false, false, '', true, 1);
            return ob_get_clean();
        } else {
            return $content;
        }
    }
コード例 #2
0
function most_viewed()
{
    ob_start();
    $posts = wmp_get_popular(array('limit' => 4, 'post_type' => 'paper', 'range' => 'all_time'));
    global $post;
    if (count($posts) > 0) {
        foreach ($posts as $post) {
            setup_postdata($post);
            ?>
		<li><a href="<?php 
            the_permalink();
            ?>
">
			<?php 
            if (get_field('short_title')) {
                the_field('short_title');
            } else {
                the_title();
            }
            ?>
		</a></li>
		<?php 
        }
    }
    wp_reset_query();
    $contents = ob_get_contents();
    ob_end_clean();
    return $contents;
}
コード例 #3
0
ファイル: functions.php プロジェクト: jrock89/FirstTheme
function featureText()
{
    if (is_front_page()) {
        the_field('feature_text');
    } elseif (is_home() || is_single()) {
        _e('Rock Theme Official Blog');
    } elseif (is_archive()) {
        _e('Rock Theme Official Blog');
        _e('<br>');
        single_term_title('Browsing: ');
        if (is_month()) {
            $monthNum = get_query_var('monthnum');
            $month = date('F', mktime(0, 0, 0, $monthNum));
            $year = get_query_var('year');
            echo 'Posts from ' . $month . ' ' . $year;
        }
    } elseif (is_page_template('page-news.php') || is_page_template('page-about.php') || is_page_template('page-contact.php')) {
        bloginfo('name');
        _e('<br>');
        the_title();
    } elseif (is_404()) {
        _e('Whoops, were a little lost.');
    } elseif (is_search()) {
        _e('Rock Theme Official Blog');
        _e('<br>');
        printf('Search results for: %s', get_search_query());
    }
}
コード例 #4
0
ファイル: gek-template.php プロジェクト: sebastiaandekker/sd
function sd_gek()
{
    ?>

	<!-- Reviews header section -->
	<div id="reviews__intro">
			
		<section id="reviews__intro__section">

			<!-- reviews header subtitle -->
			<h2 class="page__subtitle"><?php 
    the_field('gek');
    ?>
</h2>

			<!-- reviews header title -->

			<div class="reviews__intro__section__mascotte">
				
			</div>
			
		</section>

	</div>


<?php 
}
コード例 #5
0
ファイル: ajax-functions.php プロジェクト: jayontraps/boc
function get_wp_species_sum()
{
    $id = $_POST['res'];
    $args = array('post_type' => 'species', 'name' => $id);
    $loop = new WP_Query($args);
    while ($loop->have_posts()) {
        $loop->the_post();
        ?>



	<?php 
        if (get_field('summary') != "") {
            ?>


	 	 <div class="species_summary">							
			<?php 
            the_field('summary');
            ?>
	 														
		</div>


	<?php 
        }
        ?>
		

<?php 
    }
    wp_reset_query();
    // Restore global post data stomped by the_post().
    die;
}
コード例 #6
0
ファイル: excerpt.php プロジェクト: jchck/jchck_
function page_excerpt()
{
    if (class_exists('acf')) {
        if (get_field('page_excerpt')) {
            the_field('page_excerpt');
        }
    }
}
コード例 #7
0
ファイル: video.php プロジェクト: jchck/jchck_
/**
 *
 * Responsive iFrame's
 * Credit to Bootstrap
 * @link http://getbootstrap.com/components/#responsive-embed
 *
 */
function video()
{
    if (get_field('video')) {
        echo '<div class="r-iframe pt0 px0 relative block overflow-hidden">';
        the_field('video');
        echo '</div>';
    }
}
コード例 #8
0
    function widget($args, $instance)
    {
        $widget_id = "widget_" . $args["widget_id"];
        // echo $widget_id;
        /**
         *
         * Widget Variables
         *
         */
        ?>
	
<section  class="widget">		
	<?php 
        //the_field("example_field", $widget_id );
        ?>
	<?php 
        //the_field("widget_button_text", $widget_id );
        ?>
		
	<div class="exampleWidget">
	 
		<h2 class="widget-title"></h2>
		<h3><?php 
        the_field('widget_title', $widget_id);
        ?>
</h3>
		<h4><em>Location: <?php 
        the_field('widget_location', $widget_id);
        ?>
</em></h4>
		<img class="img-responsive img-circle" src="<?php 
        the_field('widget_image', $widget_id);
        ?>
" alt="">
	 
		<p>
			<?php 
        the_field('widget_text', $widget_id);
        ?>
		</p>
		<p class="text-center">
			<a class="btn btn-success" href="<?php 
        the_field('widget_button_url', $widget_id);
        ?>
" title=""><?php 
        the_field("widget_button_text", $widget_id);
        ?>
</a>
		</p>
	 
	 
	</div>

</section>

<?php 
    }
コード例 #9
0
ファイル: acf-social.php プロジェクト: MortenAndersen/wpbase
        /**
         * Outputs the content of the widget
         *
         * @param array $args
         * @param array $instance
         */
        public function widget($args, $instance)
        {
            // outputs the content of the widget
            echo $args['before_widget'];
            if (!empty($instance['title'])) {
                echo $args['before_title'] . apply_filters('widget_title', $instance['title']) . $args['after_title'];
            }
            ?>

<ul class="acf__social">
<?php 
            if (get_field('facebook_url', 'option')) {
                ?>
<li><a class="facebook__link" href="<?php 
                the_field('facebook_url', 'options');
                ?>
" target="_blank">Facebook</a></li>
<?php 
            }
            if (get_field('twitter_url', 'option')) {
                ?>
<li><a class="twitter__link" href="<?php 
                the_field('twitter_url', 'options');
                ?>
" target="_blank">Twitter</a></li>
<?php 
            }
            if (get_field('instagram_url', 'option')) {
                ?>
<li><a class="instagram__link" href="<?php 
                the_field('instagram_url', 'options');
                ?>
" target="_blank">Instagram</a></li>
<?php 
            }
            if (get_field('google_plus_url', 'option')) {
                ?>
<li><a class="google-plus__link" href="<?php 
                the_field('google_plus_url', 'options');
                ?>
" target="_blank">Google +</a></li>
<?php 
            }
            if (get_field('linkedin_url', 'option')) {
                ?>
<li><a class="linkedin__link" href="<?php 
                the_field('linkedin_url', 'options');
                ?>
" target="_blank">Linkedin</a></li>
<?php 
            }
            ?>
</ul>

<?php 
            echo $args['after_widget'];
        }
コード例 #10
0
function komatsu_menu_template($type = '')
{
    $term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy'));
    $args = array('post_type' => 'menu', 'posts_per_page' => -1, 'order' => 'ASC', 'orderby' => 'menu_order', 'tax_query' => array(array('taxonomy' => 'courses', 'field' => 'slug', 'terms' => $type)));
    $the_query = new WP_Query($args);
    if ($the_query->have_posts()) {
        ?>
    <div class="row">
        <ul class="menu">
            <?php 
        while ($the_query->have_posts()) {
            $the_query->the_post();
            ?>
            <li id="post-<?php 
            the_ID();
            ?>
" class="col-xs-10 col-xs-offset-1 col-sm-4 col-sm-offset-0 col-md-3">
	        	<?php 
            if (has_post_thumbnail()) {
                ?>
			     	 <?php 
                the_post_thumbnail('thumbnail', array('class' => 'img-responsive col-sm-12 hidden-xs'));
                ?>
				 <?php 
            } else {
                ?>
					<img class="img-responsive col-sm-12 hidden-xs" src="http://placehold.it/200x200/eeeeee/888888">
				 <?php 
            }
            ?>
	            <div class="col-sm-12">
	                <h4><?php 
            the_title();
            ?>
</h4>

	                <span><?php 
            echo implode(', ', get_field('ingredients'));
            ?>
</span>
					<p class="price"><?php 
            the_field('price');
            ?>
</p>
				</div>
				<div class="clearfix"></div>
            </li>
            <?php 
        }
        wp_reset_postdata();
        ?>
        </ul>
    </div>
    <?php 
    }
}
function harv_sale_head()
{
    if (get_field('top_banner') == 'custom') {
        the_field('dept_header_message');
    } elseif (get_field('top_banner') == 'generic') {
        // add code here to show the banner only if banner post is published
    } elseif (get_field('top_banner') == 'no') {
        // nothing
    }
}
コード例 #12
0
ファイル: locations.php プロジェクト: KEGroup/budtoboss
function location_custom_loop()
{
    global $paged;
    // The Query
    query_posts('post_type=locations&order=ASC');
    echo '<h3 style="margin-bottom:50px;">Click a city to see venue information</h3>';
    if (have_posts()) {
        while (have_posts()) {
            the_post();
            echo '<div id="maintextmrg">';
            echo '<table border="0" width="500" cellspacing="0" cellpadding="0"><tbody>';
            echo '<tr valign="top"><td width="350">';
            echo '<div style="margin-bottom: 10px; font-weight: bold;"><a style="color: #000; text-decoration: underline;" href="javascript:InsertContent(';
            echo "'";
            the_field('identifier');
            echo "');";
            echo '">';
            the_field('location');
            echo '</a></div></td>';
            echo '<td style="font-weight: bold;" width="250">';
            the_field('dates');
            echo '</td></tr>';
            echo '<tr><td colspan="2">';
            echo '<div id="';
            the_field('identifier');
            echo '" style="display:none; margin-left:30px;">';
            if (get_field('venue_set')) {
                echo '<a href="';
                the_field('venue_link');
                echo '" target="_blank">';
                the_field('venue_name');
                echo '</a><br>';
                the_field('venue_street_address');
                echo '<br>';
                the_field('venue_city_state');
                echo '&nbsp';
                the_field('venue_zip_code');
                echo '<br>';
                echo '<strong>Reservations: </strong>';
                the_field('venue_phone_number');
            } else {
                echo '<span style="font-weight: bold;">';
                echo 'Venue information coming soon.';
                echo '</span>';
            }
            echo '<br><br>';
            echo '<a href="';
            the_field('ifs_link');
            echo '" target="_blank"><img src="http://www.budtoboss.com/wp-content/uploads/2013/03/rsz_register-button-red.png" alt="Register for a Bud to Boss Workshop Now!" style="margin-bottom:15px;"></a>';
            echo '</div>';
            echo '</td></tr></tbody></table>';
            echo '</div>';
        }
    }
}
コード例 #13
0
function link_to_the_field($field, $url_field)
{
    $url = get_field($url_field);
    if ($url) {
        echo "<a href=\"{$url}\">";
    }
    the_field($field);
    if ($url) {
        echo "</a>";
    }
}
コード例 #14
0
function plankton_event_excerpt()
{
    global $post;
    global $image;
    global $the_link;
    $postid = get_the_ID();
    $buy_now = get_field('buy_tickets_url', $postid);
    ?>
			
	<h3 class="title--keyline"><a href="<?php 
    echo $the_link;
    ?>
"><?php 
    the_title();
    ?>
</a></h3>	
	
	<p class="excerpt"><?php 
    the_field('tagline', $postid);
    ?>
<br />

	<?php 
    // grab the date amd time
    if (get_field('end_date', $postid)) {
        $end_date = DateTime::createFromFormat('Ymd', get_field('end_date', $postid));
        $date = DateTime::createFromFormat('Ymd', get_field('date', $postid));
        echo $date->format('j M') . ' - ' . $end_date->format('j M') . ', ' . get_field('time', $postid) . ', ' . get_field('price', $postid);
    } else {
        if (get_field('date', $postid)) {
            $date = DateTime::createFromFormat('Ymd', get_field('date', $postid));
            echo $date->format('D j M') . ', ' . get_field('time', $postid) . ', ' . get_field('price', $postid);
        }
    }
    ?>
		
		

	</p>
	
	<!--<a href="<?php 
    echo $the_link;
    ?>
" class="button--free-left ml mb-">Read More v</a>-->
	<a class="button button--free" href="<?php 
    echo $the_link;
    ?>
">Read More</a>
	
	</section></li>
<?php 
}
コード例 #15
0
ファイル: admin-functions.php プロジェクト: jdozierezell/afsp
function support_group_columns_body($column)
{
    global $post;
    if ($column == 'city') {
        echo the_field('city');
    } elseif ($column == 'state') {
        echo the_field('state');
    } elseif ($column == 'province') {
        echo the_field('province');
    } elseif ($column == 'country') {
        echo the_field('country');
    }
}
コード例 #16
0
function custom_fonts()
{
    $default_font_kit = '<link href="http://fonts.googleapis.com/css?family=Lato:400,700,900,400italic" rel="stylesheet" type="text/css">
		<link href="http://fonts.googleapis.com/css?family=Playfair+Display:400,400italic" rel="stylesheet" type="text/css">';
    if (is_single()) {
        if (get_field('custom_fonts')) {
            echo the_field('custom_fonts');
        } else {
            echo $default_font_kit;
        }
    } else {
        echo $default_font_kit;
    }
}
コード例 #17
0
ファイル: produto_cpt.php プロジェクト: anderfilth/EstoqueWP
function address_custom_columns($column)
{
    global $post;
    switch ($column) {
        case "nome":
            the_field('nome', $post->ID);
            break;
        case "descricao":
            the_field('descricao', $post->ID);
            break;
        case "preco":
            the_field('preco', $post->ID);
            break;
    }
}
コード例 #18
0
ファイル: cliente_cpt.php プロジェクト: anderfilth/EstoqueWP
function cliente_custom_columns($column)
{
    global $post;
    switch ($column) {
        case "nome":
            the_field('nome', $post->ID);
            break;
        case "email":
            the_field('email', $post->ID);
            break;
        case "telefone":
            the_field('telefone', $post->ID);
            break;
    }
}
コード例 #19
0
ファイル: slide.php プロジェクト: jaws-ug/jawsdays2016
    function supporter_slide()
    {
        $args = array('post_type' => 'supporter', 'posts_per_page' => -1, 'order' => 'ASC', 'orderby' => 'date');
        $the_query = new WP_Query($args);
        ?>
	<?php 
        if ($the_query->have_posts()) {
            ?>
	<section id="jawsdays-supporter" class="footer-section jawsdays-supporter">
		<ul class="bxslider jawsdays-supporter-slider">
		<?php 
            while ($the_query->have_posts()) {
                $the_query->the_post();
                ?>
			<li><a href="<?php 
                the_field('_supporter_url');
                ?>
" target="_blank">
				<?php 
                if (has_post_thumbnail()) {
                    ?>
					<?php 
                    the_post_thumbnail('slide-thumb');
                    ?>
				<?php 
                } else {
                    ?>
					<img src="<?php 
                    echo get_template_directory_uri();
                    ?>
/images/no-image.png" alt="no-image" width="148" height="148" />
				<?php 
                }
                ?>
			</a></li>
		<?php 
            }
            ?>
		</ul>
	</section>
	<?php 
        }
        ?>
	<?php 
        wp_reset_postdata();
    }
コード例 #20
0
function an_do_portfolio()
{
    $args = array('post_type' => 'portfolio');
    $portfolioItems = new WP_Query($args);
    ?>
   <section class="section-portfolio" id="portfolio">
	   <h2 class="section-headline">Portfolio</h2>
	   <div class="portfolio-items">
   <?php 
    if ($portfolioItems->have_posts()) {
        while ($portfolioItems->have_posts()) {
            $portfolioItems->the_post();
            ?>
	    <a class="portfolio-item" href="<?php 
            the_permalink();
            ?>
" style="">
			<div class="image" style="background-image:url(<?php 
            the_field('teaser_image');
            ?>
);"></div>
			<div class="overlay">
			   <h5><?php 
            the_title();
            ?>
</h5>
			   <p><?php 
            the_field('teaser_description');
            ?>
</p>
			</div>
	    </a>
	   <?php 
        }
    } else {
        echo 'No portfolio items found :(';
    }
    ?>
		</div>
	</section>
	<?php 
}
コード例 #21
0
function fastYoutube()
{
    $url = get_post_meta(get_the_ID(), 'embed', true);
    // get embed url from database
    $soundEmbed = get_field('embed');
    if (preg_match("[www.youtube.com|youtu.be]", $url) == true) {
        // output the video ID if its a youtube url
        $videoID = str_replace('https://www.youtube.com/watch?v=', '', $url);
        echo '<div class="youtube-player" data-id="' . $videoID . '"></div>';
    } elseif (preg_match("[soundcloud]", $url) == true) {
        // output the video ID if its a soundcloud url
        $replaceTerms = array('<iframe width="640" height="400" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?visual=true&url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%', '&show_artwork=true&maxwidth=640&maxheight=480"></iframe>');
        $soundID = str_replace($replaceTerms, '', $soundEmbed);
        echo '<div class="soundcloud-player" data-id="' . $soundID . '"></div>';
    } else {
        // if its neither youtube or soundcloud embed it regularly
        echo '<div class="embed">';
        the_field('embed');
        echo '</div>';
    }
}
コード例 #22
0
function custom_entry_footer()
{
    $posts = get_field('include_posts');
    if ($posts) {
        echo '<div id="featured-posts">';
        global $post;
        $i = 0;
        foreach ($posts as $post) {
            setup_postdata($post);
            echo '<a href="' . get_permalink() . '">';
            echo '<div class="excerpt-section">';
            $image = get_field('front_thumbnail');
            //echo "<pre>";	var_dump($image); echo '</pre>';
            echo '<div class="thumb">';
            if ($image) {
                echo wp_get_attachment_image($image, 'home-thumbnail', false, array('alt' => get_the_title(), 'class' => 'front_thumbnail'));
            }
            echo '</div>';
            echo '<h5 class="title">';
            if (get_field('short_title')) {
                the_field('short_title');
            } else {
                the_title();
            }
            echo '</h5>';
            echo '<div class="excerpt">';
            if (get_field('custom_excerpt')) {
                the_field('custom_excerpt');
            } else {
                the_excerpt();
            }
            echo '</div>';
            echo '<a class="read-more" href="' . get_permalink() . '">Read More</a>';
            echo '</div></a>';
        }
        wp_reset_postdata();
        do_action('genesis_after_endwhile');
    }
}
コード例 #23
0
ファイル: post.php プロジェクト: sebastiaandekker/sd
function sd_add_post_image()
{
    if (is_single()) {
        if (get_field('top_post_image')) {
            ?>
            <div class="top-post-image">
                <figure style="background-image: url('<?php 
            the_field('top_post_image');
            ?>
');">
                </figure>
                <h2 class="top-image-caption"><?php 
            the_field('top_image_caption');
            ?>
</h2>
            </div>
            
    
        <?php 
        }
    }
}
コード例 #24
0
ファイル: functions.php プロジェクト: erickolivares/ericko
function my_login_logo()
{
    ?>
   <style type="text/css">
       .login h1 a {
           background-image: url('<?php 
    the_field('wp_login_logo', 'options');
    ?>
') !important;
           width: auto !important;
           background-size: 50% !important;
       }
       .login form {
           background-color: rgba(0,0,0,.5);
       }
       #particles-js{
           width: 100%;
           height: 100%;
           position: absolute;
           left: 0;
           top: 0;
           background-image:url('<?php 
    the_field('wp_login_bg', 'options');
    ?>
');
           background-color: #3E4651;
           background-position: center;
           background-size: cover;
           background-repeat: no-repeat;
           z-index: 0;
       }
       h1,form,p {
           position: relative;
           z-index: 1;
       }
   </style>
<?php 
}
コード例 #25
0
function related_papers()
{
    ob_start();
    $connected = new WP_Query(array('connected_type' => 'issue_to_paper', 'connected_items' => get_queried_object(), 'nopaging' => yes, 'post_type' => 'paper'));
    //get related objects
    $current = new WP_Query(array('post_type' => 'paper', 'p' => get_the_ID(), 'posts_per_page' => 1));
    //echo '<pre>'; var_dump($current); echo '</pre>';
    $papers = p2p_type('issue_to_paper')->get_related(get_queried_object());
    $result = new WP_Query();
    // start putting the contents in the new object
    $result->posts = array_merge($papers->posts, $current->posts);
    $result->post_count = count($result->posts);
    if ($result->have_posts()) {
        ?>
		<?php 
        while ($result->have_posts()) {
            $result->the_post();
            ?>
				<li><a href="<?php 
            the_permalink();
            ?>
">
					<?php 
            if (get_field('short_title')) {
                the_field('short_title');
            } else {
                the_title();
            }
            ?>
				</a></li><?php 
        }
    }
    wp_reset_postdata();
    $contents = ob_get_contents();
    ob_end_clean();
    return $contents;
}
コード例 #26
0
ファイル: hooks.php プロジェクト: bbertucc/Nimbly
function nimbly_side_info_content()
{
    $info_section_title = get_field('info_section_title');
    if ($info_section_title) {
        echo '<h3>' . $info_section_title . '</h3>';
    }
    echo '<div id="side_info" class="row">';
    $info_section_media_type = get_field('info_section_media_type');
    if ($info_section_media_type == 'image') {
        $info_section_image = get_field('info_section_image');
        echo '<img alt="' . $info_section_image[alt] . '" src="' . $info_section_image['sizes'][medium] . '">';
    }
    if ($info_section_media_type == 'map') {
        include 'parts/acf_map.php';
        $location = get_field('info_section_map_location');
        if (!empty($location)) {
            echo '<div class="acf-map"><div class="marker" data-lat="' . $location['lat'] . '" data-lng="' . $location['lng'] . '"></div></div>';
        }
    }
    if ($info_section_media_type == 'video_embed') {
        the_field('info_section_video_embed_code');
    }
    $info_section_text = get_field('info_section_text');
    if ($info_section_text) {
        echo '<p>' . $info_section_text . '</p>';
    }
    if (have_rows('info_section_links')) {
        echo '<ul>';
        while (have_rows('info_section_links')) {
            the_row();
            echo '<li><a target="' . get_sub_field('link_target') . '" href="' . get_sub_field('link_url') . '">' . get_sub_field('link_name') . '</a></li>';
        }
        echo '</ul>';
    }
    echo '</div>';
}
コード例 #27
0
ファイル: functions.php プロジェクト: pixelstorm/page_meta
function seo_meta()
{
    //meta description and keywords per page
    if (get_field('meta_description')) {
        ?>
	    
	    <meta name="description" content="<?php 
        the_field('meta_description');
        ?>
" />

    <?php 
    }
    if (get_field('keywords')) {
        ?>

	    <meta name="keywords" content="<?php 
        the_field('keywords');
        ?>
" />

    <?php 
    }
}
コード例 #28
0
ファイル: content-race.php プロジェクト: gpirie/motoscene
    }
    ?>

						<?php 
    $caption = get_post_meta($post->ID, '_image_credit', true);
    if ($caption) {
        ?>
									<figcaption class="absolute">Image: <?php 
        echo $caption;
        ?>
</figcaption>
								<?php 
    } elseif (get_field('image_credit', get_post_thumbnail_id($post_id))) {
        ?>
									<figcaption class="absolute">Image: <?php 
        the_field('image_credit', get_post_thumbnail_id($post_id));
        ?>
</figcaption>
								<?php 
    }
    ?>

						

					</figure>
				<?php 
}
?>

		<?php 
the_title('<h1 itemprop="name">', '</h1>');
コード例 #29
0
 )">
		<div class='header-wrapper trunk gutters'>
			<header class="entry-header">

				<div class='date'>
					<?php 
the_field('start_date');
?>
					<?php 
the_field('end_date');
?>
					<?php 
the_field('start_time');
?>
					<?php 
the_field('end_time');
?>
				</div>

				<?php 
if (is_single()) {
    the_title('<h1 class="entry-title">', '</h1>');
} else {
    the_title(sprintf('<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url(get_permalink())), '</a></h2>');
}
?>
				<div class='category'>
					<?php 
$categories = get_the_category($post->ID);
foreach ($categories as $category) {
    $children = get_categories(array('parent' => $category->term_id));
コード例 #30
0
ファイル: footer-block.php プロジェクト: bonniekim108/DAR_16
			<a href="<?php 
the_field('donate_link', 'option');
?>
" class="btn-red"><?php 
the_field('donate_button_text', 'option');
?>
</a>
			</div>
			<div class="column col-3">
				<h4><?php 
the_field('text_above_join', 'option');
?>
</h4>
				<a href="<?php 
the_field('join_wfn', 'option');
?>
" class="btn-red"><?php 
the_field('join_button_text', 'option');
?>
</a>
			</div>
		</div>
	<div class="footer-bottom">
		<div class="center-wrap cf">
			<a href="http://elefintdesigns.com" target="_blank" class="link-designed"><img src="<?php 
echo TDU;
?>
/images/elefint-logo.png" alt="elefintdesigns"></a>
		</div>
	</div>
</footer>