This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Wordfence WAF | |
auto_prepend_file = '/srv/www/example.com/current/config/wordfence-waf.php' | |
; END Wordfence WAF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$image = get_field('top_image'); | |
$link = get_field('link', $image['ID']); | |
?> | |
<figure class="featured-image"> | |
<img src="<?php echo esc_url( $image['url'] ); ?>" alt="<?php esc_attr_e( $image['alt'] ); ?>" /> | |
</figure> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* | |
* | |
* @link https://codex.wordpress.org/Template_Hierarchy | |
* | |
* @package AAFP | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
global $post; | |
$my_query_args = array( | |
'posts_per_page' => -1, // change this to any number or '0' for all | |
'post_type' => 'page', | |
'tax_query' => array( | |
array( | |
'taxonomy' => 'category', | |
'field' => 'slug', | |
'terms' => 'behavior', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
padding:100px; | |
} | |
.top { | |
position:absolute; | |
top:0; | |
left:0; | |
} |