Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
yields
Hey all,
I have the following structure for a shortcode:
<li <txp:if_yield name="lang"> lang='<txp:yield name="lang" />'</txp:if_yield>>
The problem is that the parsed result is <li lang='el'> and not <li lang="el">. Am I missing something or have I hit a limit of the yield tag?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: yields
Try this:
<li <txp:yield name="lang" wraptag='lang="<+>"' />> test</li>
In low-power mode.
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Pages: 1