Advertisement
oscarviedma

Agrupar los metadatos en un div mediante jQuery OV Masonry

Apr 15th, 2021
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. <script>
  2. // Código para agrupar el título, meta y contenido en un div
  3. jQuery(document).ready(function($){
  4. $(".ov-masonry .et_pb_post").each(function() {
  5. $(this).find(".entry-title, .post-meta, .post-content ").wrapAll('<div class="ov-meta-content"></div>');
  6. });
  7. });
  8. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement