# Figcaption as plain text issue

**URL:** https://meta.discourse.org/t/figcaption-as-plain-text-issue/70054
**Category:** WordPress
**Created:** [September 14, 2017, 3:30pm UTC](https://meta.discourse.org/t/figcaption-as-plain-text-issue/70054 "2017-09-14T15:30:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![technicallyrite](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/technicallyrite/32/120612_2.png) [@technicallyrite](https://meta.discourse.org/u/technicallyrite)
#### Post date: [September 14, 2017, 3:30pm UTC](https://meta.discourse.org/t/figcaption-as-plain-text-issue/70054/1 "2017-09-14T15:30:21Z")

</div>

Is there any way to control how the oneboxing feature works with figcaptions (if I control both domains)?

Example:  
[http://cabana.cheapcaribbean.com/t/5-reasons-punta-cana-is-where-you-want-to-beach/487/](http://cabana.cheapcaribbean.com/t/5-reasons-punta-cana-is-where-you-want-to-beach/487/)

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [September 14, 2017, 6:16pm UTC](https://meta.discourse.org/t/figcaption-as-plain-text-issue/70054/2 "2017-09-14T18:16:46Z")

</div>

Can you be more specific? What are you trying to accomplish?

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [September 14, 2017, 9:01pm UTC](https://meta.discourse.org/t/figcaption-as-plain-text-issue/70054/3 "2017-09-14T21:01:02Z")

</div>

I don’t think you can get access to the figcaption with a onebox - it’s not passed as an `og` meta property.

Since you’re publishing the post through the wp-discourse plugin, you could probably customize the wp-discourse publish template to create what you’re looking for. It looks like what you’re doing now is setting the post’s permalink in the publish template, and that is creating the onebox.

---

<div class="post-metadata">

### Author: ![technicallyrite](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/technicallyrite/32/120612_2.png) [@technicallyrite](https://meta.discourse.org/u/technicallyrite)
#### Post date: [September 14, 2017, 9:21pm UTC](https://meta.discourse.org/t/figcaption-as-plain-text-issue/70054/4 "2017-09-14T21:21:49Z")

</div>

Cool, thanks that is helpful.
