WordPress.org

Ready to get started?Download WordPress

Forums

Content Holders
Image path not rendering (2 posts)

  1. itchybrain
    Member
    Posted 11 months ago #

    Gday Content Holder support

    Thank you for creating the plugin, I think this functionality is essential.

    When I include an image in the content holder it does not render, but instead outputs code with backslashes in it.

    See this short screencast: http://screencast.com/t/Btk0wteSXh

    Thanks for any help you can provide me with this.

    cheers

    Darryl

    http://wordpress.org/plugins/content-holders/

  2. eberger3
    Member
    Posted 11 months ago #

    Hey - I was having the same exact issue so I modified the plugin.

    In content-holders.php towards the bottom there is the line:

    $instance->content = $currentCode['content'];

    change it to:

    $instance->content = stripslashes($currentCode['content']);

    the PHP function stripslashes() seems to do the trick here.

    Hope that helps!

    Erik

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.