WordPress 4.2.3 update broke my fully working Custom Content Shortcode
-
Despite several updates from Eliot since the last WordPress 4.2.3 update I am still not getting my previously wonderfully working CCS shortcodes back to do what I would like them to do ?? And this is pretty frustrating because I am using Eliot’s wonderful Custom Content Shortcode plugin to output almost everything, so it’s not just a small part of the website…
Please don’t get me wrong, I LOVE Eliot’s Custom Content Shortcode plugin, but at the moment the plugin and I don’t seem to go along so well… ?? It seems to do everything perfectly – apart when used within either the
<a>
or<img>
element.I understand that the syntax slightly changed for shortcodes since the WordPress 4.2.3 update, so I tried several different options in regards of using the ‘ and ” but when I use a CCS within the
<a>
element it’s wrong (e.g. in this case it just displays the current URL of the page I am in) and then it is perfectly correct between/outside the<a>
and</a>
elements.This is my test shortcode:
`[raw]
[loop type=post category=sample]
<br />[field url]
<br /><a href=”[field url]”>[field url]</a>
<br />
<br /><a href=”[field url escape=’true’]”>[field url escape=’true’]</a>
<br /><a href=”[field url escape=true]”>[field url escape=true]</a>
<br />
<br /><a href='[field url escape=true]’>[field url escape=true]</a>
<br /><a href='[field url escape=”true”]’>[field url escape=”true”]</a>
<br />
<br /><a href=[field url escape=”true”]>[field url escape=”true”]</a>
<br /><a href=[field url escape=true]>[field url escape=true]</a>
[/loop]
[/raw]`And this is what the page source looks like:
`<br>https://www.test.com/correctFolder/anotherCorrectFolder/
<br><a href=”https://www.test.com/theFolderIamIn/”>https://www.test.com/correctFolder/anotherCorrectFolder/</a>
<br>
<br><a href=”https://www.test.com/theFolderIamIn/”>https://www.test.com/correctFolder/anotherCorrectFolder/</a>
<br><a href=”https://www.test.com/theFolderIamIn/”>https://www.test.com/correctFolder/anotherCorrectFolder/</a>
<br>
<br><a href=”https://www.test.com/theFolderIamIn/”>https://www.test.com/correctFolder/anotherCorrectFolder/</a>
<br><a href=”https://www.test.com/theFolderIamIn/”>https://www.test.com/correctFolder/anotherCorrectFolder/</a>
<br>
<br><a href=”https://www.test.com/theFolderIamIn/”>https://www.test.com/correctFolder/anotherCorrectFolder/</a>
<br><a href=”https://www.test.com/theFolderIamIn/”>https://www.test.com/correctFolder/anotherCorrectFolder/</a>`Any help would be very much appreciated – thank you,
Marc
- The topic ‘WordPress 4.2.3 update broke my fully working Custom Content Shortcode’ is closed to new replies.