the_content into variable?
-
Here there,
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?
Many thanks,
Oliver
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘the_content into variable?’ is closed to new replies.