Full-width Page Template doesn't seem to show full content
By
UUA Web Team
November 16, 2015, 6:28 pm EST
I have a page that is intended to show a full Google Calendar, using Google's <iframe> embedding mechanism.
When I specify the default page template, the Calendar displays, but it overlaps the neighboring sidebar because it's too big. So, I tried setting it to use the Full-width page template. That seems to strip away all HTML, including the <iframe>. It also displays a date, which suggests to me that it thinks that what I'm displaying is a post (IMHO, pages shouldn't normally have a date associated with them; they are static, unlike posts).
I looked in the template for the full width page, and it contains a line:
<?php get_template_part( 'partials/content', 'page-full' ); ?>
So, I look in the partials/content directory, and I see no page-full.php template, so I assume that it will, as documented in the get_template_part, default to the content.php, which in turn contains a line:
<?php get_template_part('partials/entry-meta'); ?>
and when I look in entry-meta.php, I see:
<time class="updated" datetime="<?php echo get_the_time('c'); ?>"><?php echo get_the_date(); ?></time>
which would explain the time/date reporting.
It looks to me that there is no partials/content-page-full.php file to support the full page width page template.
Either that, or I am completely confused...