EduardET

put bloom form after post content

Dec 7th, 2017
573
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. ( function( $ ) {
  3.     $( document ).ready( function() {
  4.         if ( $( "body.et_pb_pagebuilder_layout" ).length ) {
  5.             var bloomForm = $( ".single-post .et_bloom_below_post" ).parent().parent();
  6.             if ( bloomForm.length ) {
  7.                 bloomForm.detach();
  8.                 var insertAfter = $( '.et_pb_row.et_pb_row_0' );
  9.                 insertAfter.after(bloomForm);
  10.             }
  11.         }
  12.     } );
  13. } )( jQuery );
  14. </script>
Advertisement
Add Comment
Please, Sign In to add comment