WordPress.org

Ready to get started?Download WordPress

Forums

WPtouch Mobile Plugin
[resolved] is_tree() function quirk (2 posts)

  1. rlinn
    Member
    Posted 7 months ago #

    Good afternoon, my question is quite straight-forward.

    I am using Widget Logic to control my widgets. As part of the conditions, I'm using an is_tree() function that is defined in functions.php of my main theme (using a child theme for Hybrid).

    When WPTouch takes over and uses the Bauhaus theme, Widget Logic gets upset because it can no longer find is_tree().

    I've been resolving this manually by adding is_tree() to the WPTouch theme's functions.php file every time that I upgrade. But this is getting tedious.

    Is there a way that I can register the function is_tree() for use across my themes that doesn't involve writing a plugin?

    Thank you.

    http://wordpress.org/plugins/wptouch/

  2. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 7 months ago #

    Your best bet is definitely to write a small plugin to achieve that.

Reply

You must log in to post.

About this Plugin

About this Topic