Thanks Jeremy! That actually helped me enable IS with my search queries (which was something else I was hoping to get).
I still can't seem to get it to work with my page template. To enable support for search queries, I just modified line 876 to include
is_search() which worked fine.
I thought the same would go for pages by adding support via is_page() to the same line, but that didn't work. I then decided to try a custom function, like you suggested in the other posts. So, I removed my alterations to the line 876 and added the function (to my functions.php), which included enabling support for search queries and pages via
is_**(). Once again, support for search queries was added but not for pages.
Since I am trying to get IS to function with a specific template I tried
is_page( 'template_name' ) but that did not work either.
I am really scratching my head over here; unfortunately the site is not live or I would link it and the theme is custom so I can't reference any theme either.
I do notice that the script is not initializing on my pages but is on everywhere else I added support. As you can see in this screenshot, the script is loaded on my home screen, but not on my page template (even with the added support via the function).
I am thinking maybe it has something to do with my query on the page template? Could that be causing it?
This is how I am getting posts on the page template:
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$args = array('paged' => $paged );
$wp_query = new WP_Query($args);
while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
Do I need to change the render property to get IS to accept this?