WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
it, well, disappears... (18 posts)

  1. kapara
    Member
    Posted 1 year ago #

    hi

    i used widget logic in the past ansd i love it.

    now on a new site there's a weird problem:

    i write something simple like
    is_page(about)
    or
    is_page('about').

    the moment i click "save" the line disappears.
    the input area becomes empty.

    how do i solve it?

    thanks

    lenny

    http://wordpress.org/extend/plugins/widget-logic/

  2. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    Are you up to date with the plugin? There was a release that had this bug in some circumstances, but the current one seems to have sorted it.

  3. kapara
    Member
    Posted 1 year ago #

    yes, 0.56.
    seems to be latest.

    thanks

    lenny

  4. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    and is it WP3.5?

    Although I like to think it's 2.8+ compatible, they made a change in 3.5 that I hard coded a change for, and in retrospect I should detect the WP version and do what's right for pre/post 3.5

    The upshot for now is that widgets can lose code the first time you hit save (not the second) if you use current WL on pre 3.5WP and older WL on post 3.5WP

    if it's not that, then I don't have a lot to go on, and can't think of any troubleshooting steps to help you either. sorry

  5. kapara
    Member
    Posted 1 year ago #

    3.51
    and i try to save more than once.

    please find a solution. your plugin should have been part of wp. it's brilliant and it's a must.

    thanks

  6. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    i need to see the problem if I'm to find a solution! I tell you what, I've not updated to 3.51 yet…

  7. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    nope, still not seeing it. so there's something unusual/specific going on with your site. which if you were feeling able to give me access to, I could try poking around on. Obviously I wouldn't do this if I were you - but if you were able to set up a blank blog on the same set up that showed the same issue you could give me access to that, and I could do something.

  8. kato
    Member
    Posted 1 year ago #

    You might just need to remove the
    is_active_sidebar check from your theme.

    That recently began returning false in all cases for me. Not sure if it's related to the 3.5.1 update because I made several changes all at once and don't know the exact cause.

    It's working fine without is_active_sidebar.

  9. kapara
    Member
    Posted 1 year ago #

    hi

    sorry, could you tell me where is it? just delete the line? or is there another way.
    please explain.

    thank you very much

    lenny

  10. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    a general good test (which I'm sure I used to mention in the FAQ…) would be to try temporarily switching to another theme and see if the issue persists. if it doesn't the issue does lie somewhere in the theme. which gives me somewhere to start

  11. kapara
    Member
    Posted 1 year ago #

    YOU ARE RIGHT.
    it DOES work with another theme. (twenty twelve for example).

    the theme i use is a theme i created with artisteer/templateer.

    i never had problems in the past with those themes. i have other sites in which i use a templates i created with artisteer and with your plugin, they work fine.

    thanks

    lenny

  12. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    if you can make it available to me, I'm willing to look it over for you

  13. kapara
    Member
    Posted 1 year ago #

    hi
    do you need admin password or ftp?

    thanks

    lenny

  14. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    rather than give me full access is there anyway you can send me a copy of the theme?

  15. kapara
    Member
    Posted 1 year ago #

    sure. how can i send it to you?

  16. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    anyway you like. if it's private send me a 'yousendit' style link to me by email on [thanks for sending!]

  17. kapara
    Member
    Posted 1 year ago #

    Hi Alan

    I just sent it via email (it's 1M).

    The subject says "from lenny".

    the url is http://www.metafora.co.il. (it's in Hebrew)

    Thanks

    Lenny

  18. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    that's quite a bit of code!

    however I can see from library/widgets.php that the theme or theme creator puts in a lot of custom code for widgets, in a way that overlaps with how Widget Logic works. (A very immodest guess would be it builds on WL's code, though doing much more impressive things than I've ever been bothered with of course!).

    so it'll take me a while to work out just where the clash is - it's much larger than my modest plugin, sorry.

    i have another suggestion, as a possible workaround - try 'Enable accessibility mode' under screen options on the appearance/widgets admin page. It might be just the 'ajax' saving of code that breaks, and the old fashioned "submit form" still works

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.