Last active
September 6, 2017 19:25
-
-
Save jrstaatsiii/fae1ca39d4a30eaeb02b384a7fe02d2f to your computer and use it in GitHub Desktop.
Portfolio Grid
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 | |
$args = array( | |
'post_type' => 'case-study', | |
'post_status' => 'publish', | |
'facetwp' => true, | |
'ssm' => true | |
); | |
$query = new WP_Query( $args ); | |
?> | |
<?php if ( $query->have_posts() ) { ?> | |
<?php $counter = 0; ?> | |
<?php $item = 1; ?> | |
<?php $row = 1; ?> | |
<?php $row_item = 1; ?> | |
<div class="row align-right medium-collapse"> | |
<div class="small-12 medium-6 column"> | |
<div class="row"> | |
<div class="small-12 medium-6 column"> | |
<?php echo facetwp_display( 'facet', 'industries' ); ?> | |
</div> | |
<div class="small-12 medium-6 column"> | |
<?php echo facetwp_display( 'facet', 'categories' ); ?> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="component portfolio facetwp-template"> | |
<?php while ( $query->have_posts() ) { ?> | |
<?php $query->the_post(); ?> | |
<?php | |
$even_odd = 0 == $row % 2 ? 'even' : 'odd'; | |
$classes = 'portfolio-item'; | |
$classes .= ' item-' . $row_item; | |
$sequence = 12 * $row + 4; | |
if ( $item == 4 || $item == $sequence ) { | |
$classes .= ' left'; | |
} | |
if ( $query->current_post + 1 == $query->post_count ) { | |
$classes .= ' last'; | |
} | |
?> | |
<?php if( $counter % 3 === 0 ) : echo '<div class="row collapse row-' . $row . ' row-' . $even_odd . '">'; endif; ?> | |
<div class="<?php echo $classes; ?>" data-href="<?php the_permalink(); ?>"> | |
<div class="takeover"> | |
<h3 class="brand"><?php the_title(); ?></h3> | |
<p class="services"><?php the_field('tagline'); ?></p> | |
<p class="services"><?php echo get_the_ID(); ?></p> | |
<p class="link">Read More <img class="arrow-right" src="<?php echo get_stylesheet_directory_uri(); ?>/dist/images/wht-arrow.svg" alt=""></p> | |
</div> | |
<img src="<?php echo ssm_get_featured_image( $post->ID, 'portfolio-item'); ?>" alt="<?php the_title(); ?>" /> | |
</div> | |
<?php | |
$counter++; if($counter % 3 === 0) : echo '</div>'; endif; | |
$item++; | |
$row_item++; | |
if ($counter % 3 === 0) { | |
$row++; | |
$row_item = 1; | |
} | |
} //endwhile ?> | |
</div> | |
<?php wp_reset_postdata(); ?> | |
<?php } ?> |
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 | |
function my_facetwp_is_main_query( $is_main_query, $query ) { | |
if ( isset( $query->query_vars['facetwp'] ) ) { | |
$is_main_query = true; | |
} | |
return $is_main_query; | |
} | |
/** | |
* FacetWP | |
* | |
*/ | |
add_filter( 'facetwp_is_main_query', 'my_facetwp_is_main_query', 10, 2 ); | |
add_filter('pre_get_posts', 'ssm_portfolio_query', 10, 2); | |
function ssm_portfolio_query( $query ) { | |
if ( isset( $query->query_vars['ssm'] ) ) { | |
$portfolio = get_sub_field('portfolio_template'); | |
$featured_case_study_ids = $portfolio['case_studies_to_show']; | |
$all_case_study_args = array( | |
'fields' => 'ids', | |
'post_type' => 'case-study', | |
'post_status' => 'publish', | |
'posts_per_page' => -1, | |
); | |
$all_case_study_ids = get_posts( $all_case_study_args ); | |
$combined_ids = array_merge( (array) $featured_case_study_ids, $all_case_study_ids ); | |
$case_studies = array_unique( $combined_ids ); | |
$count = count( $case_studies ); | |
$query->set( 'post__in', $case_studies ); | |
$query->set( 'orderby', 'post__in' ); | |
$query->set( 'posts_per_page', $count ); | |
} | |
return $query; | |
} |
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 | |
// when var_dump was placed at the top of ssm_portfolio_query in ssm_portfolio_query function | |
/app/public/wp-content/themes/monigle/lib/public.php:210: | |
object(WP_Query)[451] | |
public 'query' => | |
array (size=2) | |
'page' => string '' (length=0) | |
'pagename' => string 'portfolio' (length=9) | |
public 'query_vars' => | |
array (size=53) | |
'page' => string '' (length=0) | |
'pagename' => string 'portfolio' (length=9) | |
'error' => string '' (length=0) | |
'm' => string '' (length=0) | |
'p' => int 0 | |
'post_parent' => string '' (length=0) | |
'subpost' => string '' (length=0) | |
'subpost_id' => string '' (length=0) | |
'attachment' => string '' (length=0) | |
'attachment_id' => int 0 | |
'name' => string '' (length=0) | |
'static' => string '' (length=0) | |
'page_id' => int 0 | |
'second' => string '' (length=0) | |
'minute' => string '' (length=0) | |
'hour' => string '' (length=0) | |
'day' => int 0 | |
'monthnum' => int 0 | |
'year' => int 0 | |
'w' => int 0 | |
'category_name' => string '' (length=0) | |
'tag' => string '' (length=0) | |
'cat' => string '' (length=0) | |
'tag_id' => string '' (length=0) | |
'author' => string '' (length=0) | |
'author_name' => string '' (length=0) | |
'feed' => string '' (length=0) | |
'tb' => string '' (length=0) | |
'paged' => int 0 | |
'meta_key' => string '' (length=0) | |
'meta_value' => string '' (length=0) | |
'preview' => string '' (length=0) | |
's' => string '' (length=0) | |
'sentence' => string '' (length=0) | |
'title' => string '' (length=0) | |
'fields' => string '' (length=0) | |
'menu_order' => string '' (length=0) | |
'embed' => string '' (length=0) | |
'category__in' => | |
array (size=0) | |
empty | |
'category__not_in' => | |
array (size=0) | |
empty | |
'category__and' => | |
array (size=0) | |
empty | |
'post__in' => | |
array (size=0) | |
empty | |
'post__not_in' => | |
array (size=0) | |
empty | |
'post_name__in' => | |
array (size=0) | |
empty | |
'tag__in' => | |
array (size=0) | |
empty | |
'tag__not_in' => | |
array (size=0) | |
empty | |
'tag__and' => | |
array (size=0) | |
empty | |
'tag_slug__in' => | |
array (size=0) | |
empty | |
'tag_slug__and' => | |
array (size=0) | |
empty | |
'post_parent__in' => | |
array (size=0) | |
empty | |
'post_parent__not_in' => | |
array (size=0) | |
empty | |
'author__in' => | |
array (size=0) | |
empty | |
'author__not_in' => | |
array (size=0) | |
empty | |
public 'tax_query' => null | |
public 'meta_query' => boolean false | |
public 'date_query' => boolean false | |
public 'queried_object' => | |
object(WP_Post)[1423] | |
public 'ID' => int 4126 | |
public 'post_author' => string '52' (length=2) | |
public 'post_date' => string '2017-08-08 12:35:21' (length=19) | |
public 'post_date_gmt' => string '2017-08-08 18:35:21' (length=19) | |
public 'post_content' => string '' (length=0) | |
public 'post_title' => string 'Portfolio' (length=9) | |
public 'post_excerpt' => string '' (length=0) | |
public 'post_status' => string 'publish' (length=7) | |
public 'comment_status' => string 'closed' (length=6) | |
public 'ping_status' => string 'closed' (length=6) | |
public 'post_password' => string '' (length=0) | |
public 'post_name' => string 'portfolio' (length=9) | |
public 'to_ping' => string '' (length=0) | |
public 'pinged' => string '' (length=0) | |
public 'post_modified' => string '2017-08-26 11:38:15' (length=19) | |
public 'post_modified_gmt' => string '2017-08-26 17:38:15' (length=19) | |
public 'post_content_filtered' => string '' (length=0) | |
public 'post_parent' => int 0 | |
public 'guid' => string 'http://monigle.dev/?page_id=4126' (length=32) | |
public 'menu_order' => int 0 | |
public 'post_type' => string 'page' (length=4) | |
public 'post_mime_type' => string '' (length=0) | |
public 'comment_count' => string '0' (length=1) | |
public 'filter' => string 'raw' (length=3) | |
public 'queried_object_id' => int 4126 | |
public 'post_count' => int 0 | |
public 'current_post' => int -1 | |
public 'in_the_loop' => boolean false | |
public 'comment_count' => int 0 | |
public 'current_comment' => int -1 | |
public 'found_posts' => int 0 | |
public 'max_num_pages' => int 0 | |
public 'max_num_comment_pages' => int 0 | |
public 'is_single' => boolean false | |
public 'is_preview' => boolean false | |
public 'is_page' => boolean true | |
public 'is_archive' => boolean false | |
public 'is_date' => boolean false | |
public 'is_year' => boolean false | |
public 'is_month' => boolean false | |
public 'is_day' => boolean false | |
public 'is_time' => boolean false | |
public 'is_author' => boolean false | |
public 'is_category' => boolean false | |
public 'is_tag' => boolean false | |
public 'is_tax' => boolean false | |
public 'is_search' => boolean false | |
public 'is_feed' => boolean false | |
public 'is_comment_feed' => boolean false | |
public 'is_trackback' => boolean false | |
public 'is_home' => boolean false | |
public 'is_404' => boolean false | |
public 'is_embed' => boolean false | |
public 'is_paged' => boolean false | |
public 'is_admin' => boolean false | |
public 'is_attachment' => boolean false | |
public 'is_singular' => boolean true | |
public 'is_robots' => boolean false | |
public 'is_posts_page' => boolean false | |
public 'is_post_type_archive' => boolean false | |
private 'query_vars_hash' => string '4449718d10ebe629ea6d492afd8fb539' (length=32) | |
private 'query_vars_changed' => boolean false | |
public 'thumbnails_cached' => boolean false | |
private 'stopwords' => null | |
private 'compat_fields' => | |
array (size=2) | |
0 => string 'query_vars_hash' (length=15) | |
1 => string 'query_vars_changed' (length=18) | |
private 'compat_methods' => | |
array (size=2) | |
0 => string 'init_query_flags' (length=16) | |
1 => string 'parse_tax_query' (length=15) |
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 | |
// var_dump placed immediately after isset( $query->query_vars['ssm'] ) conditional in ssm_portfolio_query function | |
/app/public/wp-content/themes/monigle/lib/public.php:212: | |
object(WP_Query)[2029] | |
public 'query' => | |
array (size=4) | |
'post_type' => string 'case-study' (length=10) | |
'post_status' => string 'publish' (length=7) | |
'facetwp' => boolean true | |
'ssm' => boolean true | |
public 'query_vars' => | |
array (size=56) | |
'post_type' => string 'case-study' (length=10) | |
'post_status' => string 'publish' (length=7) | |
'facetwp' => boolean true | |
'ssm' => boolean true | |
'error' => string '' (length=0) | |
'm' => string '' (length=0) | |
'p' => int 0 | |
'post_parent' => string '' (length=0) | |
'subpost' => string '' (length=0) | |
'subpost_id' => string '' (length=0) | |
'attachment' => string '' (length=0) | |
'attachment_id' => int 0 | |
'name' => string '' (length=0) | |
'static' => string '' (length=0) | |
'pagename' => string '' (length=0) | |
'page_id' => int 0 | |
'second' => string '' (length=0) | |
'minute' => string '' (length=0) | |
'hour' => string '' (length=0) | |
'day' => int 0 | |
'monthnum' => int 0 | |
'year' => int 0 | |
'w' => int 0 | |
'category_name' => string '' (length=0) | |
'tag' => string '' (length=0) | |
'cat' => string '' (length=0) | |
'tag_id' => string '' (length=0) | |
'author' => string '' (length=0) | |
'author_name' => string '' (length=0) | |
'feed' => string '' (length=0) | |
'tb' => string '' (length=0) | |
'paged' => int 0 | |
'meta_key' => string '' (length=0) | |
'meta_value' => string '' (length=0) | |
'preview' => string '' (length=0) | |
's' => string '' (length=0) | |
'sentence' => string '' (length=0) | |
'title' => string '' (length=0) | |
'fields' => string '' (length=0) | |
'menu_order' => string '' (length=0) | |
'embed' => string '' (length=0) | |
'category__in' => | |
array (size=0) | |
empty | |
'category__not_in' => | |
array (size=0) | |
empty | |
'category__and' => | |
array (size=0) | |
empty | |
'post__in' => | |
array (size=0) | |
empty | |
'post__not_in' => | |
array (size=0) | |
empty | |
'post_name__in' => | |
array (size=0) | |
empty | |
'tag__in' => | |
array (size=0) | |
empty | |
'tag__not_in' => | |
array (size=0) | |
empty | |
'tag__and' => | |
array (size=0) | |
empty | |
'tag_slug__in' => | |
array (size=0) | |
empty | |
'tag_slug__and' => | |
array (size=0) | |
empty | |
'post_parent__in' => | |
array (size=0) | |
empty | |
'post_parent__not_in' => | |
array (size=0) | |
empty | |
'author__in' => | |
array (size=0) | |
empty | |
'author__not_in' => | |
array (size=0) | |
empty | |
public 'tax_query' => | |
object(WP_Tax_Query)[1991] | |
public 'queries' => | |
array (size=0) | |
empty | |
public 'relation' => string 'AND' (length=3) | |
protected 'table_aliases' => | |
array (size=0) | |
empty | |
public 'queried_terms' => | |
array (size=0) | |
empty | |
public 'primary_table' => null | |
public 'primary_id_column' => null | |
public 'meta_query' => boolean false | |
public 'date_query' => boolean false | |
public 'post_count' => int 0 | |
public 'current_post' => int -1 | |
public 'in_the_loop' => boolean false | |
public 'comment_count' => int 0 | |
public 'current_comment' => int -1 | |
public 'found_posts' => int 0 | |
public 'max_num_pages' => int 0 | |
public 'max_num_comment_pages' => int 0 | |
public 'is_single' => boolean false | |
public 'is_preview' => boolean false | |
public 'is_page' => boolean false | |
public 'is_archive' => boolean true | |
public 'is_date' => boolean false | |
public 'is_year' => boolean false | |
public 'is_month' => boolean false | |
public 'is_day' => boolean false | |
public 'is_time' => boolean false | |
public 'is_author' => boolean false | |
public 'is_category' => boolean false | |
public 'is_tag' => boolean false | |
public 'is_tax' => boolean false | |
public 'is_search' => boolean false | |
public 'is_feed' => boolean false | |
public 'is_comment_feed' => boolean false | |
public 'is_trackback' => boolean false | |
public 'is_home' => boolean false | |
public 'is_404' => boolean false | |
public 'is_embed' => boolean false | |
public 'is_paged' => boolean false | |
public 'is_admin' => boolean false | |
public 'is_attachment' => boolean false | |
public 'is_singular' => boolean false | |
public 'is_robots' => boolean false | |
public 'is_posts_page' => boolean false | |
public 'is_post_type_archive' => boolean true | |
private 'query_vars_hash' => string 'bbc5fa2a1f2abb70746e2c3f01101aa8' (length=32) | |
private 'query_vars_changed' => boolean false | |
public 'thumbnails_cached' => boolean false | |
private 'stopwords' => null | |
private 'compat_fields' => | |
array (size=2) | |
0 => string 'query_vars_hash' (length=15) | |
1 => string 'query_vars_changed' (length=18) | |
private 'compat_methods' => | |
array (size=2) | |
0 => string 'init_query_flags' (length=16) | |
1 => string 'parse_tax_query' (length=15) |
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 | |
// placed immediately after $query = new WP_Query( $args ); in portfolio-template.php | |
/app/public/wp-content/themes/monigle/lib/SSMPB/page-builder/templates/portfolio-template.php:12: | |
object(WP_Query)[2029] | |
public 'query' => | |
array (size=4) | |
'post_type' => string 'case-study' (length=10) | |
'post_status' => string 'publish' (length=7) | |
'facetwp' => boolean true | |
'ssm' => boolean true | |
public 'query_vars' => | |
array (size=68) | |
'post_type' => string 'case-study' (length=10) | |
'post_status' => string 'publish' (length=7) | |
'facetwp' => boolean true | |
'ssm' => boolean true | |
'error' => string '' (length=0) | |
'm' => string '' (length=0) | |
'p' => int 0 | |
'post_parent' => string '' (length=0) | |
'subpost' => string '' (length=0) | |
'subpost_id' => string '' (length=0) | |
'attachment' => string '' (length=0) | |
'attachment_id' => int 0 | |
'name' => string '' (length=0) | |
'static' => string '' (length=0) | |
'pagename' => string '' (length=0) | |
'page_id' => int 0 | |
'second' => string '' (length=0) | |
'minute' => string '' (length=0) | |
'hour' => string '' (length=0) | |
'day' => int 0 | |
'monthnum' => int 0 | |
'year' => int 0 | |
'w' => int 0 | |
'category_name' => string '' (length=0) | |
'tag' => string '' (length=0) | |
'cat' => string '' (length=0) | |
'tag_id' => string '' (length=0) | |
'author' => string '' (length=0) | |
'author_name' => string '' (length=0) | |
'feed' => string '' (length=0) | |
'tb' => string '' (length=0) | |
'paged' => int 0 | |
'meta_key' => string '' (length=0) | |
'meta_value' => string '' (length=0) | |
'preview' => string '' (length=0) | |
's' => string '' (length=0) | |
'sentence' => string '' (length=0) | |
'title' => string '' (length=0) | |
'fields' => string '' (length=0) | |
'menu_order' => string '' (length=0) | |
'embed' => string '' (length=0) | |
'category__in' => | |
array (size=0) | |
empty | |
'category__not_in' => | |
array (size=0) | |
empty | |
'category__and' => | |
array (size=0) | |
empty | |
'post__in' => | |
array (size=10) | |
0 => int 4222 | |
1 => int 4232 | |
2 => int 4229 | |
3 => int 4445 | |
4 => int 4444 | |
5 => int 4443 | |
6 => int 4439 | |
8 => int 4231 | |
9 => int 4230 | |
12 => int 4221 | |
'post__not_in' => | |
array (size=0) | |
empty | |
'post_name__in' => | |
array (size=0) | |
empty | |
'tag__in' => | |
array (size=0) | |
empty | |
'tag__not_in' => | |
array (size=0) | |
empty | |
'tag__and' => | |
array (size=0) | |
empty | |
'tag_slug__in' => | |
array (size=0) | |
empty | |
'tag_slug__and' => | |
array (size=0) | |
empty | |
'post_parent__in' => | |
array (size=0) | |
empty | |
'post_parent__not_in' => | |
array (size=0) | |
empty | |
'author__in' => | |
array (size=0) | |
empty | |
'author__not_in' => | |
array (size=0) | |
empty | |
'orderby' => string 'post__in' (length=8) | |
'posts_per_page' => int 10 | |
'ignore_sticky_posts' => boolean false | |
'suppress_filters' => boolean false | |
'cache_results' => boolean true | |
'update_post_term_cache' => boolean true | |
'lazy_load_term_meta' => boolean true | |
'update_post_meta_cache' => boolean true | |
'nopaging' => boolean false | |
'comments_per_page' => string '50' (length=2) | |
'no_found_rows' => boolean false | |
'order' => string 'DESC' (length=4) | |
public 'tax_query' => | |
object(WP_Tax_Query)[2026] | |
public 'queries' => | |
array (size=0) | |
empty | |
public 'relation' => string 'AND' (length=3) | |
protected 'table_aliases' => | |
array (size=0) | |
empty | |
public 'queried_terms' => | |
array (size=0) | |
empty | |
public 'primary_table' => string 'wp_posts' (length=8) | |
public 'primary_id_column' => string 'ID' (length=2) | |
public 'meta_query' => | |
object(WP_Meta_Query)[2028] | |
public 'queries' => | |
array (size=0) | |
empty | |
public 'relation' => null | |
public 'meta_table' => null | |
public 'meta_id_column' => null | |
public 'primary_table' => null | |
public 'primary_id_column' => null | |
protected 'table_aliases' => | |
array (size=0) | |
empty | |
protected 'clauses' => | |
array (size=0) | |
empty | |
protected 'has_or_relation' => boolean false | |
public 'date_query' => boolean false | |
public 'request' => string 'SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND wp_posts.ID IN (4222,4232,4229,4445,4444,4443,4439,4231,4230,4221) AND wp_posts.post_type = 'case-study' AND ((wp_posts.post_status = 'publish')) ORDER BY FIELD( wp_posts.ID, 4222,4232,4229,4445,4444,4443,4439,4231,4230,4221 ) LIMIT 0, 10' (length=309) | |
public 'posts' => | |
array (size=10) | |
0 => | |
object(WP_Post)[1770] | |
public 'ID' => int 4222 | |
public 'post_author' => string '52' (length=2) | |
public 'post_date' => string '2017-08-09 11:28:40' (length=19) | |
public 'post_date_gmt' => string '2017-08-09 17:28:40' (length=19) | |
public 'post_content' => string '' (length=0) | |
public 'post_title' => string 'Ally Financial' (length=14) | |
public 'post_excerpt' => string '' (length=0) | |
public 'post_status' => string 'publish' (length=7) | |
public 'comment_status' => string 'closed' (length=6) | |
public 'ping_status' => string 'closed' (length=6) | |
public 'post_password' => string '' (length=0) | |
public 'post_name' => string 'ally-financial' (length=14) | |
public 'to_ping' => string '' (length=0) | |
public 'pinged' => string '' (length=0) | |
public 'post_modified' => string '2017-08-14 14:49:19' (length=19) | |
public 'post_modified_gmt' => string '2017-08-14 20:49:19' (length=19) | |
public 'post_content_filtered' => string '' (length=0) | |
public 'post_parent' => int 0 | |
public 'guid' => string 'http://monigle.dev/?post_type=case-study&p=4222' (length=52) | |
public 'menu_order' => int 0 | |
public 'post_type' => string 'case-study' (length=10) | |
public 'post_mime_type' => string '' (length=0) | |
public 'comment_count' => string '0' (length=1) | |
public 'filter' => string 'raw' (length=3) | |
1 => | |
object(WP_Post)[1771] | |
public 'ID' => int 4232 | |
public 'post_author' => string '52' (length=2) | |
public 'post_date' => string '2017-08-09 16:31:49' (length=19) | |
public 'post_date_gmt' => string '2017-08-09 22:31:49' (length=19) | |
public 'post_content' => string '' (length=0) | |
public 'post_title' => string 'Avis Budget Group' (length=17) | |
public 'post_excerpt' => string 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.' (length=56) | |
public 'post_status' => string 'publish' (length=7) | |
public 'comment_status' => string 'closed' (length=6) | |
public 'ping_status' => string 'closed' (length=6) | |
public 'post_password' => string '' (length=0) | |
public 'post_name' => string 'avis-budget-group' (length=17) | |
public 'to_ping' => string '' (length=0) | |
public 'pinged' => string '' (length=0) | |
public 'post_modified' => string '2017-08-18 12:06:59' (length=19) | |
public 'post_modified_gmt' => string '2017-08-18 18:06:59' (length=19) | |
public 'post_content_filtered' => string '' (length=0) | |
public 'post_parent' => int 0 | |
public 'guid' => string 'http://monigle.dev/?post_type=case-study&p=4232' (length=52) | |
public 'menu_order' => int 0 | |
public 'post_type' => string 'case-study' (length=10) | |
public 'post_mime_type' => string '' (length=0) | |
public 'comment_count' => string '0' (length=1) | |
public 'filter' => string 'raw' (length=3) | |
2 => | |
object(WP_Post)[1772] | |
public 'ID' => int 4229 | |
public 'post_author' => string '52' (length=2) | |
public 'post_date' => string '2017-08-09 16:30:18' (length=19) | |
public 'post_date_gmt' => string '2017-08-09 22:30:18' (length=19) | |
public 'post_content' => string '' (length=0) | |
public 'post_title' => string 'HonorHealth' (length=11) | |
public 'post_excerpt' => string '' (length=0) | |
public 'post_status' => string 'publish' (length=7) | |
public 'comment_status' => string 'closed' (length=6) | |
public 'ping_status' => string 'closed' (length=6) | |
public 'post_password' => string '' (length=0) | |
public 'post_name' => string 'honorhealth' (length=11) | |
public 'to_ping' => string '' (length=0) | |
public 'pinged' => string '' (length=0) | |
public 'post_modified' => string '2017-08-21 12:16:59' (length=19) | |
public 'post_modified_gmt' => string '2017-08-21 18:16:59' (length=19) | |
public 'post_content_filtered' => string '' (length=0) | |
public 'post_parent' => int 0 | |
public 'guid' => string 'http://monigle.dev/?post_type=case-study&p=4229' (length=52) | |
public 'menu_order' => int 0 | |
public 'post_type' => string 'case-study' (length=10) | |
public 'post_mime_type' => string '' (length=0) | |
public 'comment_count' => string '0' (length=1) | |
public 'filter' => string 'raw' (length=3) | |
3 => | |
object(WP_Post)[1773] | |
public 'ID' => int 4445 | |
public 'post_author' => string '52' (length=2) | |
public 'post_date' => string '2017-08-14 11:39:07' (length=19) | |
public 'post_date_gmt' => string '2017-08-14 17:39:07' (length=19) | |
public 'post_content' => string '' (length=0) | |
public 'post_title' => string 'Test Case Study 4' (length=17) | |
public 'post_excerpt' => string '' (length=0) | |
public 'post_status' => string 'publish' (length=7) | |
public 'comment_status' => string 'closed' (length=6) | |
public 'ping_status' => string 'closed' (length=6) | |
public 'post_password' => string '' (length=0) | |
public 'post_name' => string 'test-case-study-4' (length=17) | |
public 'to_ping' => string '' (length=0) | |
public 'pinged' => string '' (length=0) | |
public 'post_modified' => string '2017-08-14 11:39:07' (length=19) | |
public 'post_modified_gmt' => string '2017-08-14 17:39:07' (length=19) | |
public 'post_content_filtered' => string '' (length=0) | |
public 'post_parent' => int 0 | |
public 'guid' => string 'http://monigle.dev/?post_type=case-study&p=4445' (length=52) | |
public 'menu_order' => int 0 | |
public 'post_type' => string 'case-study' (length=10) | |
public 'post_mime_type' => string '' (length=0) | |
public 'comment_count' => string '0' (length=1) | |
public 'filter' => string 'raw' (length=3) | |
4 => | |
object(WP_Post)[1774] | |
public 'ID' => int 4444 | |
public 'post_author' => string '52' (length=2) | |
public 'post_date' => string '2017-08-14 11:38:20' (length=19) | |
public 'post_date_gmt' => string '2017-08-14 17:38:20' (length=19) | |
public 'post_content' => string '' (length=0) | |
public 'post_title' => string 'Test Case Study 3' (length=17) | |
public 'post_excerpt' => string '' (length=0) | |
public 'post_status' => string 'publish' (length=7) | |
public 'comment_status' => string 'closed' (length=6) | |
public 'ping_status' => string 'closed' (length=6) | |
public 'post_password' => string '' (length=0) | |
public 'post_name' => string 'test-case-study-3' (length=17) | |
public 'to_ping' => string '' (length=0) | |
public 'pinged' => string '' (length=0) | |
public 'post_modified' => string '2017-08-24 12:40:19' (length=19) | |
public 'post_modified_gmt' => string '2017-08-24 18:40:19' (length=19) | |
public 'post_content_filtered' => string '' (length=0) | |
public 'post_parent' => int 0 | |
public 'guid' => string 'http://monigle.dev/?post_type=case-study&p=4444' (length=52) | |
public 'menu_order' => int 0 | |
public 'post_type' => string 'case-study' (length=10) | |
public 'post_mime_type' => string '' (length=0) | |
public 'comment_count' => string '0' (length=1) | |
public 'filter' => string 'raw' (length=3) | |
5 => | |
object(WP_Post)[1775] | |
public 'ID' => int 4443 | |
public 'post_author' => string '52' (length=2) | |
public 'post_date' => string '2017-08-14 11:37:48' (length=19) | |
public 'post_date_gmt' => string '2017-08-14 17:37:48' (length=19) | |
public 'post_content' => string '' (length=0) | |
public 'post_title' => string 'Test Case Study 2' (length=17) | |
public 'post_excerpt' => string '' (length=0) | |
public 'post_status' => string 'publish' (length=7) | |
public 'comment_status' => string 'closed' (length=6) | |
public 'ping_status' => string 'closed' (length=6) | |
public 'post_password' => string '' (length=0) | |
public 'post_name' => string 'test-case-study-2' (length=17) | |
public 'to_ping' => string '' (length=0) | |
public 'pinged' => string '' (length=0) | |
public 'post_modified' => string '2017-08-14 11:39:33' (length=19) | |
public 'post_modified_gmt' => string '2017-08-14 17:39:33' (length=19) | |
public 'post_content_filtered' => string '' (length=0) | |
public 'post_parent' => int 0 | |
public 'guid' => string 'http://monigle.dev/?post_type=case-study&p=4443' (length=52) | |
public 'menu_order' => int 0 | |
public 'post_type' => string 'case-study' (length=10) | |
public 'post_mime_type' => string '' (length=0) | |
public 'comment_count' => string '0' (length=1) | |
public 'filter' => string 'raw' (length=3) | |
6 => | |
object(WP_Post)[1776] | |
public 'ID' => int 4439 | |
public 'post_author' => string '52' (length=2) | |
public 'post_date' => string '2017-08-12 17:38:09' (length=19) | |
public 'post_date_gmt' => string '2017-08-12 23:38:09' (length=19) | |
public 'post_content' => string '' (length=0) | |
public 'post_title' => string 'Test Case Study' (length=15) | |
public 'post_excerpt' => string '' (length=0) | |
public 'post_status' => string 'publish' (length=7) | |
public 'comment_status' => string 'closed' (length=6) | |
public 'ping_status' => string 'closed' (length=6) | |
public 'post_password' => string '' (length=0) | |
public 'post_name' => string 'test-case-study' (length=15) | |
public 'to_ping' => string '' (length=0) | |
public 'pinged' => string '' (length=0) | |
public 'post_modified' => string '2017-08-24 12:40:44' (length=19) | |
public 'post_modified_gmt' => string '2017-08-24 18:40:44' (length=19) | |
public 'post_content_filtered' => string '' (length=0) | |
public 'post_parent' => int 0 | |
public 'guid' => string 'http://monigle.dev/?post_type=case-study&p=4439' (length=52) | |
public 'menu_order' => int 0 | |
public 'post_type' => string 'case-study' (length=10) | |
public 'post_mime_type' => string '' (length=0) | |
public 'comment_count' => string '0' (length=1) | |
public 'filter' => string 'raw' (length=3) | |
7 => | |
object(WP_Post)[1777] | |
public 'ID' => int 4231 | |
public 'post_author' => string '52' (length=2) | |
public 'post_date' => string '2017-08-09 16:31:22' (length=19) | |
public 'post_date_gmt' => string '2017-08-09 22:31:22' (length=19) | |
public 'post_content' => string '' (length=0) | |
public 'post_title' => string 'KeyBank' (length=7) | |
public 'post_excerpt' => string 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas laoreet tincidunt arcu. Nam lacinia mollis enim, a ornare purus egestas et. Mauris vitae aliquam ex, tempor dictum dui. Maecenas laoreet tincidunt arcu. Nam lacinia mollis enim, a ornare purus egestas et. Mauris vitae aliquam ex, tempor dictum dui.' (length=314) | |
public 'post_status' => string 'publish' (length=7) | |
public 'comment_status' => string 'closed' (length=6) | |
public 'ping_status' => string 'closed' (length=6) | |
public 'post_password' => string '' (length=0) | |
public 'post_name' => string 'keybank' (length=7) | |
public 'to_ping' => string '' (length=0) | |
public 'pinged' => string '' (length=0) | |
public 'post_modified' => string '2017-08-17 13:05:14' (length=19) | |
public 'post_modified_gmt' => string '2017-08-17 19:05:14' (length=19) | |
public 'post_content_filtered' => string '' (length=0) | |
public 'post_parent' => int 0 | |
public 'guid' => string 'http://monigle.dev/?post_type=case-study&p=4231' (length=52) | |
public 'menu_order' => int 0 | |
public 'post_type' => string 'case-study' (length=10) | |
public 'post_mime_type' => string '' (length=0) | |
public 'comment_count' => string '0' (length=1) | |
public 'filter' => string 'raw' (length=3) | |
8 => | |
object(WP_Post)[1778] | |
public 'ID' => int 4230 | |
public 'post_author' => string '52' (length=2) | |
public 'post_date' => string '2017-08-09 16:30:48' (length=19) | |
public 'post_date_gmt' => string '2017-08-09 22:30:48' (length=19) | |
public 'post_content' => string '' (length=0) | |
public 'post_title' => string 'Northwell Health' (length=16) | |
public 'post_excerpt' => string '' (length=0) | |
public 'post_status' => string 'publish' (length=7) | |
public 'comment_status' => string 'closed' (length=6) | |
public 'ping_status' => string 'closed' (length=6) | |
public 'post_password' => string '' (length=0) | |
public 'post_name' => string 'northwell-health' (length=16) | |
public 'to_ping' => string '' (length=0) | |
public 'pinged' => string '' (length=0) | |
public 'post_modified' => string '2017-08-14 14:52:23' (length=19) | |
public 'post_modified_gmt' => string '2017-08-14 20:52:23' (length=19) | |
public 'post_content_filtered' => string '' (length=0) | |
public 'post_parent' => int 0 | |
public 'guid' => string 'http://monigle.dev/?post_type=case-study&p=4230' (length=52) | |
public 'menu_order' => int 0 | |
public 'post_type' => string 'case-study' (length=10) | |
public 'post_mime_type' => string '' (length=0) | |
public 'comment_count' => string '0' (length=1) | |
public 'filter' => string 'raw' (length=3) | |
9 => | |
object(WP_Post)[2206] | |
public 'ID' => int 4221 | |
public 'post_author' => string '52' (length=2) | |
public 'post_date' => string '2017-08-09 11:28:19' (length=19) | |
public 'post_date_gmt' => string '2017-08-09 17:28:19' (length=19) | |
public 'post_content' => string '' (length=0) | |
public 'post_title' => string 'Tastepoint' (length=10) | |
public 'post_excerpt' => string '' (length=0) | |
public 'post_status' => string 'publish' (length=7) | |
public 'comment_status' => string 'closed' (length=6) | |
public 'ping_status' => string 'closed' (length=6) | |
public 'post_password' => string '' (length=0) | |
public 'post_name' => string 'tastepoint' (length=10) | |
public 'to_ping' => string '' (length=0) | |
public 'pinged' => string '' (length=0) | |
public 'post_modified' => string '2017-08-15 10:43:47' (length=19) | |
public 'post_modified_gmt' => string '2017-08-15 16:43:47' (length=19) | |
public 'post_content_filtered' => string '' (length=0) | |
public 'post_parent' => int 0 | |
public 'guid' => string 'http://monigle.dev/?post_type=case-study&p=4221' (length=52) | |
public 'menu_order' => int 0 | |
public 'post_type' => string 'case-study' (length=10) | |
public 'post_mime_type' => string '' (length=0) | |
public 'comment_count' => string '0' (length=1) | |
public 'filter' => string 'raw' (length=3) | |
public 'post_count' => int 10 | |
public 'current_post' => int -1 | |
public 'in_the_loop' => boolean false | |
public 'post' => | |
object(WP_Post)[1770] | |
public 'ID' => int 4222 | |
public 'post_author' => string '52' (length=2) | |
public 'post_date' => string '2017-08-09 11:28:40' (length=19) | |
public 'post_date_gmt' => string '2017-08-09 17:28:40' (length=19) | |
public 'post_content' => string '' (length=0) | |
public 'post_title' => string 'Ally Financial' (length=14) | |
public 'post_excerpt' => string '' (length=0) | |
public 'post_status' => string 'publish' (length=7) | |
public 'comment_status' => string 'closed' (length=6) | |
public 'ping_status' => string 'closed' (length=6) | |
public 'post_password' => string '' (length=0) | |
public 'post_name' => string 'ally-financial' (length=14) | |
public 'to_ping' => string '' (length=0) | |
public 'pinged' => string '' (length=0) | |
public 'post_modified' => string '2017-08-14 14:49:19' (length=19) | |
public 'post_modified_gmt' => string '2017-08-14 20:49:19' (length=19) | |
public 'post_content_filtered' => string '' (length=0) | |
public 'post_parent' => int 0 | |
public 'guid' => string 'http://monigle.dev/?post_type=case-study&p=4222' (length=52) | |
public 'menu_order' => int 0 | |
public 'post_type' => string 'case-study' (length=10) | |
public 'post_mime_type' => string '' (length=0) | |
public 'comment_count' => string '0' (length=1) | |
public 'filter' => string 'raw' (length=3) | |
public 'comment_count' => int 0 | |
public 'current_comment' => int -1 | |
public 'found_posts' => string '10' (length=2) | |
public 'max_num_pages' => float 1 | |
public 'max_num_comment_pages' => int 0 | |
public 'is_single' => boolean false | |
public 'is_preview' => boolean false | |
public 'is_page' => boolean false | |
public 'is_archive' => boolean true | |
public 'is_date' => boolean false | |
public 'is_year' => boolean false | |
public 'is_month' => boolean false | |
public 'is_day' => boolean false | |
public 'is_time' => boolean false | |
public 'is_author' => boolean false | |
public 'is_category' => boolean false | |
public 'is_tag' => boolean false | |
public 'is_tax' => boolean false | |
public 'is_search' => boolean false | |
public 'is_feed' => boolean false | |
public 'is_comment_feed' => boolean false | |
public 'is_trackback' => boolean false | |
public 'is_home' => boolean false | |
public 'is_404' => boolean false | |
public 'is_embed' => boolean false | |
public 'is_paged' => boolean false | |
public 'is_admin' => boolean false | |
public 'is_attachment' => boolean false | |
public 'is_singular' => boolean false | |
public 'is_robots' => boolean false | |
public 'is_posts_page' => boolean false | |
public 'is_post_type_archive' => boolean true | |
private 'query_vars_hash' => string 'da5149927b9905f6246aa0cda296b075' (length=32) | |
private 'query_vars_changed' => boolean true | |
public 'thumbnails_cached' => boolean false | |
private 'stopwords' => null | |
private 'compat_fields' => | |
array (size=2) | |
0 => string 'query_vars_hash' (length=15) | |
1 => string 'query_vars_changed' (length=18) | |
private 'compat_methods' => | |
array (size=2) | |
0 => string 'init_query_flags' (length=16) | |
1 => string 'parse_tax_query' (length=15) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment