Closed lukefretwell closed 10 years ago
I updated this to use the page template part so all the proper markup is now used: <?php get_template_part( 'content', 'page' ); ?>
This also means that the title now comes through- which I think is good.
If users want to hide the title for that template they could use:
.page-template-templateshome-page-php .entry-title {
display:none;
}
Or, if the template is being used on the home page:
.home .entry-title {
display:none;
}
Does this work for you @lukefretwell?
Yep.
On Monday, February 24, 2014, Devin Price wrote:
I updated this to use the page template part so all the proper markup is now used: <?php get_template_part( 'content', 'page' ); ?>
This also means that the title now comes through- which I think is good.
If users want to hide the title on the home page they could use:
.page-template-templateshome-page-php .entry-title { display:none;}
Or, if the template is being used on the home page:
.home .entry-title { display:none;}
Does this work for you @lukefretwell https://github.com/lukefretwell?
Reply to this email directly or view it on GitHubhttps://github.com/govfresh/govpress/issues/32#issuecomment-35970459 .
Luke Fretwell 415.722.8678 luke@lukefretwell.com http://lukefretwell.com
the_content section on homepage doesn't retain HTML styling.
See: http://govpress.co
Examples:
What they say