WordPress.org

Forums

Content Holders
Image path not rendering (2 posts)

  1. itchybrain
    Member
    Posted 1 year 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 1 year 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Content Holders
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.