<?php include locate_template('sections/params/sponsors.php'); ?> <section <?php section_attr($id, $slug, 'sponsors'); ?> data-page="<?php echo $paged; ?> "> <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="head"> Sponsors </h2> <div class="top"> <div class="filter"> <div class="bar"> <div class="select link dropdown country" data-filter="country" data-slug="<?php echo $slug; ?> "> <?php if ($country_param) {
<?php global $post; $id = get_the_ID(); $slug = get_post($post)->post_name; $title = get_the_title(); global $current_user; get_currentuserinfo(); $name = $current_user->user_firstname . ' ' . $current_user->user_lastname; ?> <section <?php section_attr($id, $slug, null); ?> > <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="head"><?php echo $title; ?> </h2> <div class="user-info"> <a href="<?php echo wp_logout_url(home_url()); ?> ">Logout</a>
<?php global $post; $id = $post->ID; $title = get_post($post)->post_title; $slug = get_post($post)->post_name; $faq_id = get_page_by_path('apply/faq')->ID; $faq_link = get_permalink($faq_id); $programs_link = get_permalink(get_page_by_path('residency-programs')->ID); $residency_programs_query = array('post_type' => 'page', 'post__not_in' => array($faq_id), 'child_of' => get_page_by_path('apply')->ID, 'post_status' => 'publish', 'orderby' => 'menu_order', 'sort_order' => 'desc'); $residency_programs = get_pages($residency_programs_query); ?> <section <?php section_attr($id, $slug, 'apply'); ?> > <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="title"><?php echo $title; ?> </h2> <?php foreach ($residency_programs as $program) { setup_postdata($program); $title = get_post($program)->post_title;
<?php global $post; $id = $post->ID; $slug = $post->post_name; $title = $post->post_title; $paged = 1; ?> <section <?php section_attr($id, $slug, 'critics'); ?> data-page="<?php echo $paged; ?> "> <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="head"><?php echo $title; ?> </h2> <div class="shelves filter-this list items <?php echo $slug; ?> "> <?php
<?php $title = get_the_title(); $slug = $post->post_name; $id = $post->ID; $paged = 1; if ($query_vars) { $slug = $query_vars['pagename']; $paged = $query_vars['paged']; $post = get_page_by_path($slug, OBJECT, 'page'); } ?> <section <?php section_attr($id, $slug, 'earth'); ?> data-page="<?php echo $paged; ?> "> <a href="<?php echo site_url(); ?> " class="logo swap"> <div class="icon default"></div> <div class="icon hover"></div> </a> <div class="buttons"> <div class="swap zoom out"> <div class="icon default"></div> <div class="icon hover"></div> </div>
<?php $home_id = get_page_by_path('home')->ID; ?> <section <?php section_attr(null, 'home', null, 'International Studio & Curatorial Program'); ?> data-title="Home"> <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="head"> International Studio & Curatorial Program </h2> <?php $sorted_events = array_slice(sort_upcoming_events(), 0, 3); $count = sizeof($sorted_events); $count_class = 'cols_' . $count; if ($count) { echo '<h3 class="title">'; $events_id = get_page_by_path('events')->ID; $events_permalink = get_the_permalink($events_id); echo '<a href="' . $events_permalink . '">Events & Exhibitions</a>'; echo '</h3>'; echo '<div class="events module shelves grid upcoming ' . $count_class . '">'; echo '<div class="eventsWrap">'; foreach ($sorted_events as $event) {
<?php global $post; $id = $post->ID; $title = $post->post_title; $slug = $post->post_name; $description = get_field('description', $id); if (!$description) { $description = get_post($id)->post_content; // $content = $content_post; $description = apply_filters('the_content', $description); // $description = str_replace(']]>', ']]>', $content); } ?> <section <?php section_attr($id, $slug, $slug); ?> > <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="head"><?php echo $title; ?> </h2> <div class="module"> <?php
<?php global $post; $id = $post->ID; $title = $post->post_title; $slug = $post->post_name; ?> <section <?php section_attr($id, $slug, 'about'); ?> > <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="head"><?php echo $title; ?> </h2> <?php $description = get_field('description', $id); ?> <div class="main"> <div class="module description"> <?php echo $description;
<?php include locate_template('sections/params/contributors.php'); ?> <section <?php section_attr($id, $slug, 'contributors'); ?> data-page="<?php echo $paged; ?> "> <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="head"> Contributors </h2> <div class="top"> <div class="filter"> <div class="bar"> <div class="select link dropdown country" data-filter="country" data-slug="<?php echo $slug; ?> "> <?php if ($country_param) {
<?php include locate_template('sections/params/journals.php'); ?> <section <?php section_attr($id, $slug, 'journal'); ?> data-page="<?php echo $paged; ?> "> <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="head"><?php the_title(); ?> </h2> <div class="top"> <div class="filter"> <?php if ($tag_param) { $tag_name = get_term_by('slug', $tag_param, 'post_tag')->name; echo '<div class="bar">'; } else { echo '<div class="bar hide">'; }
<?php global $visit; $title = $post->post_title; $slug = $post->post_name; $id = $post->ID; $about = get_page_by_path('about'); ?> <section <?php section_attr($id, $slug, 'visit'); ?> > <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="head"><?php echo $title; ?> </h2> <?php $office_hours = get_field('office_hours', $visit); $exhibition_hours = get_field('exhibition_hours', $visit); $address = strip_tags(get_field('address', $about)); $directions_base = 'https://www.google.com/maps/dir//'; $directions_link = $directions_base . $address;
get_header(); if ($query_vars) { $paged = $query_vars['paged']; } else { $paged = 1; } $search_value = get_search_query(); if (!$search_value) { $search_value = 'Search'; } // global $wp_query; $search_count = $wp_query->found_posts; ?> <section <?php section_attr(null, 'search', null, $search_value); ?> data-page="<?php echo $paged; ?> "> <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <?php if ($search_value) { echo '<h3 class="title head">';
<?php global $current_user; get_currentuserinfo(); $name = $current_user->user_firstname . ' ' . $current_user->user_lastname; global $post; $id = get_the_ID(); $slug = get_post($post)->post_name; $title = get_the_title(); $section_classes = 'greenroom'; ?> <section <?php section_attr($id, $slug, $section_classes, $title); ?> > <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="head"><?php echo $title; ?> </h2> <div class="user-info"> <div>Hello, <?php echo $name; ?>
$date = get_the_date('F d, Y'); $featured_image = get_thumb($joural_post_id, null); $featured_image_id = get_post_thumbnail_id(); $id = get_the_ID(); $event_classes = 'journal-post single'; $author_f = get_the_author_meta('first_name'); $author_l = get_the_author_meta('last_name'); $author = $author_f . ' ' . $author_l; $images = get_attached_media('image', $id); $show_featured_image = get_field('show_featured_image'); if (get_field('author')) { $author = get_field('author'); } ?> <section <?php section_attr($id, $slug, $event_classes); ?> > <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <div class="inner"> <div class="header"> <h3 class="title date"><?php echo $date; ?>
<?php include locate_template('sections/params/residents.php'); // $filter = $_GET['filter']; ?> <section <?php section_attr($id, $slug, 'residents'); ?> data-page="<?php echo $paged; ?> "> <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="head"> <?php if ($slug == 'residents') { if ($program_param) { if ($program_param == 'ground_floor') { echo 'Ground Floor '; } else { echo 'International '; } } if ($type_param) { echo ucwords($type_param) . 's';
$website = http(get_field('website', $resident_id)); $studio_number = get_field('studio_number', $resident_id); $resident_type = get_field('resident_type', $resident_id); $residencies = array(); $resident_classes = 'resident single'; $residents_id = get_page_by_path('residents')->ID; $residents_url = preg_replace('{/$}', '', get_permalink($residents_id)); if (is_past($resident_id)) { $resident_classes .= ' past'; } if (have_rows('gallery') == false) { $resident_classes .= ' one_col'; } ?> <section <?php section_attr($resident_id, $resident_slug, $resident_classes); ?> > <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <header class="sub"> <div class="left"> <?php if ($countries_array) { echo $countries; }
$today = new DateTime(); $today = $today->format('Ymd'); $country_param = get_query_var('from'); $country_param_obj = get_page_by_path($country_param, OBJECT, 'country'); $country_param_title = $country_param_obj->post_title; $country_param_id = $country_param_obj->ID; $year_param = get_query_var('date'); $program_param = get_query_var('residency_program'); $program_param_name = get_program_title($program_param); $page_url = get_the_permalink(); $sponsor_query = array('key' => 'residency_dates_0_sponsors', 'value' => '"' . $sponsor_id . '"', 'compare' => 'LIKE'); $paged = 1; ?> <section <?php section_attr($sponsor_id, $sponsor_slug, 'sponsor residents'); ?> data-page="<?php echo $paged; ?> "> <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="head"> Sponsor</br> <?php
<section <?php section_attr('error', 'error', 'error', 'Error'); ?> > <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h1 class="title"> Sorry, this page can't be found </h1> <?php if (!isset($search_value)) { $search_value = search_broken_link(); $query_vars['s'] = $search_value; $search_query = new WP_Query(array('s' => $search_value, 'posts_per_page' => 24, 'paged' => 1, 'post_status' => 'publish')); $GLOBALS['wp_query'] = $search_query; } if ($search_value) { echo '<h3 class="title head">'; echo '<span class="counter">' . $search_count . '</span>'; echo ' results for '; echo '“<span class="value">' . $search_value . '</span>”'; echo '</h3>'; $placeholder_opacity = ' style="opacity: 0"'; } echo '<form role="search" method="get" class="searchform" class="searchform" autocomplete="off" action="' . esc_url(home_url('/')) . '">'; echo '<div class="placeholder"' . $placeholder_opacity . '><span>Search</span></div>';
<?php global $post; $id = $post->ID; $title = $post->post_title; $slug = $post->post_name; $content = $post->post_content; $description = get_field('description', $id); ?> <section <?php section_attr($id, $slug, 'internships'); ?> > <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="head"><?php echo $title; ?> </h2> <div class="module"> <?php echo $description; ?> </div> </div> <?php
$slug = $post->post_name; $title = $post->post_title; $parent = $post->post_parent; if ($parent != 0) { $parent_title = get_post($parent)->post_title; $parent_slug = get_post($parent)->post_name; $parent_id = get_post($parent)->ID; $programs_id = $parent_id; } else { $programs_id = $post->ID; } $programs_query = array('post_type' => 'page', 'orderby' => 'menu_order', 'order' => 'DESC', 'child_of' => $programs_id, 'post_status' => 'publish'); $programs = array_reverse(get_pages($programs_query)); ?> <section <?php section_attr($id, $slug, 'programs'); ?> > <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="head"><?php echo $title; ?> </h2> <?php if (have_rows('images', $programs_id)) {
<?php global $post; $id = $post->ID; $title = $post->post_title; $slug = $post->post_name; // $content = $post->post_content; $content = get_field('description', $id); $paypal = get_field('paypal', $id); $footnote = get_field('footnote', $id); ?> <section <?php section_attr($id, $slug, 'support donate'); ?> > <?php get_template_part('partials/nav'); ?> <?php get_template_part('partials/side'); ?> <div class="content"> <h2 class="head"><?php echo $title; ?> </h2> <div class="module"> <?php echo $content; ?>