Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Genesis custom homepage content via genesis_before_content_sidebar_wrap Hook
<?php if(is_front_page() && !is_paged()) : ?>
<div id="pagewrap-tcw">
<?php
$id = 5670;
$p = get_page($id);
echo apply_filters('the_content', $p->post_content);
?>
</div>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.