If you’re using Blog Posts macro for Confluence, you’re probably annoyed by the Blog posts h4 title and No blog posts found line if no blog posts exist.
To remove them, add the following user macro in Confluence admin panel:
## @noparams <script> AJS.toInit(function() { $('div.wiki-content').html($('div.wiki-content').html().replace(/>Blog Posts</g,' ')); $('div.wiki-content').html($('div.wiki-content').html().replace(/No blog posts found./g,' ')); }); </script>
and then insert it as macro from the macro menu to the end of the page where you need to remove the Blog post title and No blog posts found entry.
Please note, that this macro may distort the output of Page tree macro, which endlessly shows Loading without actually loading any page tree. Please check this for a more elegant solution, which works for certain applications.