-
AuthorPosts
-
September 3, 2013 at 11:43 pm #28933
Gday Kriesi forum
Some of my shortcodes are not rendering, instead are leaving the shortcode visible in the browser.
I thought it may be due to running WordPress 3.5.2 so I upgraded to 3.6 but still persists.
I am running WordPress 3.6 and Enfold 2. I reverted to an earlier version of Enfold but the problem still persisted.
I disabled all plugins but still the same.
Any ideas what may be causing this?
Captions: http://www.birdsnest.com.au/blog/take-me-to-the-water/
Video: http://www.birdsnest.com.au/blog/that-bird-label-video-sing-your-song/
Thanks for any help you can provide me.
cheers
Darryl
September 4, 2013 at 9:15 pm #139196Hi Darryl,
Where are these shortcodes supposed to be getting rendered from? Eg, were they copied from somewhere else into the post or did you use the themes magic wand icon and modal window to add them in.
Regards,
Devin
September 4, 2013 at 11:21 pm #139197Gday Devin
thanks for your help with this.
They were made using the advanced layout editor. In the editor view they are intact, eg. the image has the caption surround and text in place, but not when in the frontend view.
The video was also added using the video media item in the advanced layout builder.
cheers
Darryl
September 5, 2013 at 5:05 am #139198Hi,
Did you use the Visual mode on the Editor when adding a shortcode?
Regards,
Ismael
September 12, 2013 at 8:00 am #139199Thanks for your help with this. Yes, Ismael, it was done in Visual mode, and again in HTML mode.
The code works fine in pages, but not posts.
I’m using v2.1 and WP 3.6.1
Here is a test page with each element working: http://www.birdsnest.com.au/blog/page-test/
Turning off all plugins does not make a difference.
Do you guys have any idea why it would work in one and not the other?
If you want admin access, I can contact directly outside of the forum.
Thanks again, much appreciated.
Darryl
September 15, 2013 at 10:28 pm #160121Hi Darryl,
Posts don’t have support for the advanced layout editor so are you using the shortcode button (magic wand) to bring up and then insert the content?
And if you want to create a temporary admin account for me I can log in and take a look like.
You can send the information to my email at DevinVinson (at) gmail.com. Make sure to include a link to this topic so that my spam filter doesn’t grab it :)
Regards,
Devin
September 16, 2013 at 12:23 am #161497Thanks so much Devin, I have added you and sent an email off as well. BTW, nice new support forum design ;)
September 16, 2013 at 3:27 pm #161709It looks like the customization to your loop-index file has caused the default WordPress filters to stop getting added in. The default code for it does run through it and apply them here:
* ... last apply the default wordpress filters to the content */ $current_post['content'] = str_replace(']]>', ']]>', apply_filters('the_content', $current_post['content'] ));
`
but something has caused this not to work on the child theme version from what I can tell.
September 16, 2013 at 11:57 pm #161953Perfect, thanks Devin, in my child file that line of code was incorrectly altered when aiming to adjust the excerpts (which I have since done in the correct file loop-archive).
Thanks so much for your troubleshooting, you’ve made my day, and I’m certain my client’s as well :) Very much appreciated.
cheers
Darryl
September 17, 2013 at 5:38 am #162080Glad we could help. Let us know if you have any other questions or issues.
-
AuthorPosts
- The topic ‘Shortcodes not rendering’ is closed to new replies.