Widget Logic Visual
Cannot take conditional code (4 posts)

  1. David Tierney
    Posted 3 years ago #

    I put this in as Conditional Tag Code:

    is_page_template( 'page-template.php' )

    and when it saves, it automatically changes it to this:

    is_page_template( \'page-template.php\' )

    Which does not work.


  2. cubecolour
    Posted 3 years ago #

    I've never used this plugin, but does Travis Smith's fix here help? http://wordpress.org/support/topic/plugin-widget-logic-visual-warning

  3. David Tierney
    Posted 3 years ago #

    Thanks. I tried that.

    Line 48 of that file does not match up to anything. I found what would likely be the line that would be swapped out with what he showed, and that did not work either.

    Thanks though for giving it a try.

  4. Mark Root-Wiley
    Posted 3 years ago #

    +1 It works after one save, but if you save again, everything gets escaped again and you get ...( \\\'whatever...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Widget Logic Visual
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.