Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Mej de Castro

    (@mej)

    Hi @mariettej,

    Thanks for reaching out to our support threads. We have now relayed this issue on our developer for further troubleshooting.

    We’ll keep you posted for updates!

    Kind Regards,
    Mej, from the Widget Options Team

    Plugin Author Mej de Castro

    (@mej)

    Hi @mariettej,

    I hope you are doing well. Could we kindly ask what code you have added or are attempting to run in your PHP files? This information will help us review your PHP error log and identify any potential issues.

    Thanks and we are hoping for your response.

    Regards,
    Mej, from the Widget Options Team

    Thread Starter Mariette

    (@mariettej)

    Apologies Mej, I missed the email that said you had replied. Here are examples of the kinds of conditional codes I have been using in the Logic tab:

    ‘151’ == $post->post_parent
    (for children of page ID)

    and

    is_page( ‘153’ ) || ‘153’ == $post->post_parent
    (for page and children of page ID)

    NB. for these to work I also had to set to Show on Pages custom post types.

    Now I see that these settings are no longer working – sidebars for these pages are empty.

    best wishes, Mariette

    Plugin Author Mej de Castro

    (@mej)

    Hi @mariettej,

    Thanks for sharing the conditional codes! We’ve found a patch for the issue, which will be rolled out soon in the next version.

    Please let as know if you have any other questions.

    Kind Regards,
    Mej, Widget Options Team

    Thread Starter Mariette

    (@mariettej)

    That’s great news, thank you Mej. Do you know when the next version will be rolled out? And will the patch work for all conditional codes like these, or just those two provided? I don’t mean other IDs – I think I probably have other coniditional constructions but would need to check through all sites’ widgets to find these…

    best wishes, Mariette

    Plugin Author Mej de Castro

    (@mej)

    Hi @mariettej,

    We recently released a new version of Widget Options. Have you updated the plugin yet?

    We strongly recommend updating to the latest version, as it includes a patch for the repeated PHP errors issue on the previous verison.

    Thank you, and we’d appreciate your feedback on this update!

    Kind Regards,
    Mej, Widget Options Team

    Thread Starter Mariette

    (@mariettej)

    Hi Mej

    I’ve seen the update now and installed it. That has stopped the warning messages so that’s great, thankyou very much.

    One thing: the conditional logic that I had set up for ‘page and children of page’ doesn’t seem to be working any more. Can you see what is wrong with this:

    is_page( ‘153’ ) || ‘153’ == $post->post_parent

    It is still working for these:

    is_page(’12’)
    is_page( array( 18,20,583 ) )

    best wishes
    Mariette

    Plugin Author Mej de Castro

    (@mej)

    Hi @mariettej,

    We have reached out to our developer and could you please try this logic to check the parent ID?

    is_page(153) || 153 == wp_get_post_parent_id(get_the_ID())

    Let us know if this works!

    Kind Regards,
    Mej, Widget Options Team

    Thread Starter Mariette

    (@mariettej)

    Hi Mej

    I’ve checked the developers code now and it works!

    If anyone else wants to use this, you do also need to make sure that Show on checked pages > Custom Post Types > Pages is checked.

    Thank you so much for your help

    Mariette

    Plugin Author Mej de Castro

    (@mej)

    Hi @mariettej,

    You’re very welcome! We’re glad to hear that the issue is resolved on your end.

    If you face any problems with the plugin in the future, please don’t hesitate to reach out.

    Kind Regards,
    Mej, Widget Options Team

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.