brooklyndesignstudio

Code for single.php to inject banner/menu on posts

Aug 31st, 2019
140
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. get_header();
  4.  
  5. echo do_shortcode('[et_pb_section global_module="3120"][/et_pb_section]');
  6. echo do_shortcode('[et_pb_section global_module="3123"][/et_pb_section]');
  7.  
  8. $show_default_title = get_post_meta( get_the_ID(), '_et_pb_show_title', true );
  9.  
  10. $is_page_builder_used = et_pb_is_pagebuilder_used( get_the_ID() );
  11.  
  12. ?>
RAW Paste Data