facetwp template css for GeneratePress

djrmom

{{gist file=”functions.php” lang=”php”}}
<?php

/**
** add facetwp-template div around main content area in GeneratePress
**/

add_action( ‘generate_before_main_content’, function() { ?>
<div class=”facetwp-template”>
<?php });

add_action( ‘generate_after_main_content’, function() { ?>
</div>
<?php });
{{/gist}}