Article: Bottom Ad Image

$image = get_field(‘bottom_image’); $size = ‘full’; // (thumbnail, medium, large, full or custom size) if( $image ) { echo wp_get_attachment_image( $image, $size ); }Continue reading

Article: Related Articles

global $post; $the_query = new WP_Query( array( ‘post_type’ => $post->post_type, ‘post_status’ => ‘publish’, ‘orderby’ => ‘desc’, ‘category__in’ => wp_get_post_categories( $post->ID ), ‘post__not_in’ => array($post->ID), ‘posts_per_page’ => ‘4’ ) ); // Check value exists. if( $the_query->have_posts() ): echo ‘ Related Articles…Continue reading