Skip to main content

SUGGESTION: Header and Footers

Comments

3 comments

  • Alex

    Hi Sam,

    we really appreciate your involvement. I forwarded this to devs and they will analyze the implementation of your suggestion. Thank you!

    0
  • Sam Cohen

    Thanks Alex..

    So in order to really streamline, please consider using at the top of a Brizy Template file inside Plugin:

    <?php 
    /* Short and sweet */
    define('WP_USE_THEMES', false);
    require('./wp-blog-header.php');
    ?>

    OR

     

    <?php
    require('/the/path/to/your/wp-blog-header.php');
    get_header(); 
    ?>

    You can limited the load heavy things WordPress by defining this somewhere to template page:

    define( 'SHORTINIT', TRUE );
    0
  • Sam Cohen

    Any thoughts on the Global Header and Footer?

    0

Please sign in to leave a comment.