// Check value exists. if( have_rows(‘body’) ): // Loop through rows. while ( have_rows(‘body’) ) : the_row(); // Case: Post layout. if( get_row_layout() == ‘post’ ): $title = get_sub_field(‘title-1’); $string = str_replace(” “,””,$title); $stringId = substr($string,0,12); echo ‘ ‘.$title.’ ‘;…Continue reading
if(the_excerpt() != ”){ echo the_excerpt(); }Continue reading
$image = get_field(‘main_image’); $size = ‘full’; // (thumbnail, medium, large, full or custom size) if( $image ) { echo wp_get_attachment_image( $image, $size ); }Continue reading
if(the_field(‘title’) != ”){ echo (the_field(‘title’)); }Continue reading
the_breadcrumb();Continue reading
function the_breadcrumb() { $sep = ‘ / ‘; if (!is_front_page()) { // Start the breadcrumb with a link to your homepage echo ‘ ‘; echo ‘‘; bloginfo(‘name’); echo ‘‘ . $sep; // Check if the current page is a category,…Continue reading
function the_breadcrumb() { $sep = ‘ / ‘; if (!is_front_page()) { // Start the breadcrumb with a link to your homepage echo ‘ ‘; echo ‘‘; bloginfo(‘name’); echo ‘‘ . $sep; // Check if the current page is a category,…Continue reading
echo ‘ ‘; echo ‘‘ . get_the_title() . ‘‘; echo ‘ ‘;Continue reading
error_log(‘[CORRUGATED STUDIO] LOAD’); $corrugated_studio = null; function corrugatedStudioContactForm($attrs = [], $content = null, $tag = ”) { error_log(‘[corrugatedStudioContactForm] START’); global $corrugated_studio; if(!$corrugated_studio) return; $attrs = array_change_key_case((array) $attrs, CASE_LOWER); $paperform_id = null; if(!isset($attrs[‘paperform_id’])) return; $paperform_id = $attrs[‘paperform_id’]; error_log(‘[corrugatedStudioContactForm] paperform_id: ‘ .…Continue reading