How can i wrap wordpress post content in custom div

admin

Administrator
Staff member
How can i wrap the post content in custom div in my wordpress website?

This is from the
Code:
single.php
file :

Code:
<div class="entry">
    <?php the_content(''); // content ?>
    <?php wp_link_pages(); // content pagination ?>
    <div class="clear"></div>
</div><!-- end entry -->

I can't just put div around
Code:
the_content()
function because i have some plugins (Related posts and social sharing plugins) that append content to the
Code:
the_content()
function so if i put DIV around the function it will not work like i want because it will wrap also the plugins content. How can i achieve this?

Any help/ideas appreciated.