Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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

    #139196

    Hi 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

    #139197

    Gday 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

    #139198

    Hi,

    Did you use the Visual mode on the Editor when adding a shortcode?

    Regards,

    Ismael

    #139199

    Thanks 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

    #160121

    Hi 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

    #161497

    Thanks so much Devin, I have added you and sent an email off as well. BTW, nice new support forum design ;)

    #161709

    It 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.

    #161953

    Perfect, 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

    #162080

    Glad we could help. Let us know if you have any other questions or issues.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Shortcodes not rendering’ is closed to new replies.