Skip to content
  • home
  • portfolio
  • web design journal
  • blog
    • adventure
    • san diego
    • projects
    • website design
Blog Web Dev WordPress Caption Tag is Appearing in Text

WordPress Caption Tag is Appearing in Text

By Forrest Smith - Drempd.com

I hit an odd issue where the wordpress caption tag text (actually the shortcode text for the caption) was appearing around the image. I'm gathering the data from a wysiwyg field from ACF.   Apparently you need to apply shortcodes to this. Also, my text didn't have line breaks, so doing something like this solved those issues:

wpautop(do_shortcode($data['full_text']));

Posted on November 8, 2022August 27, 2025 in Web Dev
  • Adventure

    • adventure
    • gravelgrinding
    • hiking
    • running
  • The Built Environment

    • architecture
    • urbanity
  • Locations

    • san diego
    • portland
  • Freelance Life

    • freelancing
    • productivity
  • Web Dev

    • css
    • entrepreneurship
    • git
    • handlebars
    • html
    • inkscape
    • photoshop
    • php
    • sass
    • web design
    • web development
    • saphire

drempd | san diego, ca


home contact

adventures san diego urbanity and architecture projects stream website design

portfolio resume san diego web design freelance web designer

custom web design responsive web design website maintenance