Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2018-06-13 08:04:09
- colak
- Admin
- From: Cyprus
- Registered: 2004-11-20
- Posts: 8,463
- Website
links in shortcodes
I am studying the image with caption shortcode in combination with the escape attribute and I can not see of any way that I can include html links in the caption. Can someone point to me what I am missing?
This is what I am trying to achieve
<txp::figure id="130" class="photo" caption="The throne of <a rel="external" href="https://en.wikipedia.org/wiki/Zeus">Zeus</a> at Mount Olympus." />
Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.
Offline
#2 2018-06-13 09:05:46
- etc
- Developer
- Registered: 2010-11-11
- Posts: 4,072
- Website
Re: links in shortcodes
Quotes, sir! Try
<txp::figure id="130" class="photo" caption='The throne of <a rel="external" href="https://en.wikipedia.org/wiki/Zeus">Zeus</a> at Mount Olympus.' />
Offline
#3 2018-06-13 11:32:37
- colak
- Admin
- From: Cyprus
- Registered: 2004-11-20
- Posts: 8,463
- Website
Re: links in shortcodes
That was it! How could I have missed that one:)
Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.
Offline
Pages: 1