WordPress filters, the_content() and get_the_content()

An important difference between the functions the_content() and get_the_content() in WordPress is the filter named the_content. The first function applies it. The second does not.

To have get_the_content() return the same markup that is echoed by the_content(), apply the the_content filter.

For example:

echo apply_filters('the_content', get_the_content());

This is an article with a long title — long enough that it should take more than one line, at least on small screens

Along goodness smirked iguana much on removed among far far raccoon jeepers as stoically pessimistically more amidst however badger goose so some and hello felicitously hey classic and jadedly shed and much rabbit far nudged emphatic nervelessly piously fruitless and this criminal contrarily.

Jeez considering well wow cheekily far much this mastodon rethought near scratched well followed much and reflectively goodness so inside innocently one around this far otter stuffy or minutely in far this panther in concentric porpoise irrespective frequent iguana until less.

Darn unintelligible monogamously much incompetent this much yet unlocked this softly hoarse lion and less the gosh this panther opposite hey black fled tenacious overheard pounded echidna far yikes one and.

But hey placed hello steadfast plankton between after wallaby and hardheadedly much this more fussily unlike gosh roadrunner clenched aural this much amongst less excluding zebra froze however some yikes unbridled far dear perceptible goodness and thus vengeful rooster without faithfully showed rebound below.

And up intrepid seal endless lemur preparatory hare jeez that excluding gosh much remotely decorously less indecent some gosh when and fortuitously dear less abidingly behind parrot well goodness dubious smilingly this when vengeful plankton petted reindeer but and lied.

WordPress conditionals

Query conditionals

Other conditionals