the_content into variable?
I want to put contents of the_content() into a variable, as I’m then using it for other stuff, but if I do something like this in my loop:
<?php $foo = the_content(); ?>
It just prints the_content() out like normal… is there any way of getting it inside $foo and not printed out?
- The topic ‘the_content into variable?’ is closed to new replies.