Forums

[Plugin: PHP Code Widget] inclusion in hybrid tabs (1 post)

  1. Ovidiu
    Member
    Posted 2 years ago #

    hi there.
    I would like to include support for this widget in the hybrid tabs plugin. The author isn't interested in including your plugin output but I'd really love this features so I am trying myself.

    Here is the code I tried to do it with:

    /* Php code widget. @link @link http://wordpress.org/extend/plugins/php-code-widget */
    	if (function_exists('widget_execphp') )
    		register_hybrid_tab( 'widget_execphp', array( 'label' => __('PHP code widget', 'hybrid_tabs'), 'callback' => 'hybrid_tabs_widget_execphp' ) );

    The problem I am facing is that I'd like to "identify" your different widgets as I can use the php code widget multiple times, so the code I did above doesn't work as I am unsure how to addres the single widgets...

    Here is the link to the plugin, maybe yo ucan have a quick peak and help me out? http://wordpress.org/extend/plugins/hybrid-tabs/

Topic Closed

This topic has been closed to new replies.

About this Topic