title: How to get child theme module templates to override main module template
body: <p>For some reason my child theme templates are not being recognized.</p>
  <p>I believe I have followed the correct procedure (and checked for caching etc)</p>
  <pre><code>/wp-content/themes/divi-child/includes/builder/module/Blog.php
  </code></pre>
  <p>should replace</p>
  <pre><code>/wp-content/themes/Divi/includes/builder/module/Blog.php
  </code></pre>
  <p>(same path and same file with a slight update)</p>
  <p>The child theme module template is not recognized (changes to the child theme template have no effect)</p>
  <blockquote>
  <p>I have tested editing the main file and this works immediately every
  time.</p>
  </blockquote>
  <p>Any advice greatly appreciated.</p>
  <p>Cheers</p>
  <hr />
  <p>EDIT</p>
  <p>The below should work according to Divi however it breaks the site when I try.</p>
  <p>Apparently it is not enough to just copy the module into the child theme. The file needs to be duplicated. Then copied file to child-theme/custom-modules/Blog.php. After adding following code to the bottom of the functions.php file:</p>
  <pre><code>function divi_custom_blog_module() {
  get_template_part( '/custom-modules/Blog' );
  $myblog = new custom_ET_Builder_Module_Blog();
  remove_shortcode( 'et_pb_blog' );
  add_shortcode( 'et_pb_blog', array( $myblog, '_render' ) );
  }
  add_action( 'et_builder_ready', 'divi_custom_blog_module' );
  </code></pre>