Remove Images from the_content()
-
I substituted “the_excerpt()” for “the_content()” in my posts_loop_template.php file – which is located in my child theme’s main folder.
Essentially, I need to pull the full post, but without any images to avoid causing printer explosions.
I tried using “the_excerpt()” with a custom excerpt length in my functions.php file, but the “the_excerpt()” doesn’t keep any <p> spacing.
Help, pretty please.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Remove Images from the_content()’ is closed to new replies.