Dear Tom,
Its probably a silly question, but I cant seem to make it work π
I used the Generate_Before_Footer_Content Hook in my Child Theme to add a rich footer which I can style in a post like this:
<?php
do_action( 'generate_before_footer_content' );
// Starting Rich Footer
$my_id = 128;
$post_id_128 = get_post($my_id);
$content = $post_id_128->post_content;
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
echo '<div class="m-page-content"><div class="f-content">'.$content.'</div></div>';
do_action( 'generate_footer' );
do_action( 'generate_after_footer_content' );
?>
</div><!-- .site-footer -->
the one thing missing for is: How can I make sure the rich footer is corrctly marked up as WPFooter?
<footer class="site-info" itemtype="http://schema.org/WPFooter" itemscope="itemscope">
-> Would have to include the Before_footer_Content elements π
Everything else is perfect as it is, just the opening footer must move up to include the new rich footer π
I would so happy if you could point me to the right direction :)!