Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author lilaeamedia

    (@lilaeamedia)

    Hi kaizerking,

    There are two ways you can do it. Neither is very elegant.

    The ‘correct’ way is to remove the ‘intelliwidget_action_tax_menu’ action and add a new action pointing to a custom function you create.

    This means you would have to find the IntelliWidget instance and replace the action with a custom action:

    remove_action('intelliwidget_action_tax_menu',     array($my_registered_widget, 'action_taxonomy_menu'), 10);
    add_action('intelliwidget_action_tax_menu',     'my_function_action_taxonomy_menu'), 10);

    Clearly this will require a boatload of tweaking to do correctly.

    An ‘easier’ hack would be to use jQuery to rewrite the output into a combobox:

    jQuery('document').ready(function($){
        $('.intelliwidget-taxonomy-menu').each(function(ndx,el){
        var copy = $(el).clone();
        // etc.
        }
    });

    We will put this on the list of enhancements for the next release, but as a general rule ‘jump menu’ navigation is frowned upon.

    Thread Starter kaizerking

    (@kaizerking)

    Thanks will wait for the next release.
    as I cant do the tweaking part

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘combobox for taxonomy menu in the front end’ is closed to new replies.