hyperV
Forum Replies Created
-
Forum: Plugins
In reply to: [Theme My Login] Confliction with WoocommeceHi romoyuki,
I had similar issue. I found some workarounds.
Can you please explain me what you like to do? If so I can try to help you.
Josef
Forum: Plugins
In reply to: [If Menu - Visibility control for Menus] Conflit with other pluginssame issue and need a solution for it. I use main menu pro plugin. this plugin not offers any conditional functionality. Would be good if someone knows how to disable the disable function in if menu.
Any updates? I wait for any feedback from you.
When can I expect your feedback?Josef
Forum: Plugins
In reply to: [Menu Cart for WooCommerce] Use in admin bar?In addition:
I try to integrate somthing like thi:
add_filter( 'wp_nav_menu_items', 'add_myaccount_item', 10, 2 ); function add_myaccount_item( $wp_admin_bar ) { $user_id = get_current_user_id(); $current_user = wp_get_current_user(); $profile_url = get_edit_profile_url( $user_id ); if ( ! $user_id ) return; $avatar = get_avatar( $user_id, 26 ); $howdy = sprintf( __('Howdy, %1$s'), $current_user->display_name ); $class = empty( $avatar ) ? '' : 'with-avatar'; $wp_admin_bar->add_menu( array( 'id' => 'my-account', 'parent' => 'top-secondary', 'title' => $howdy . $avatar, 'href' => $profile_url, 'meta' => array( 'class' => $class, 'title' => __('My Account'), ), ) ); }How can I show this in the Top-Menu of my mystile wootemplate.
Thanks in advanced
Josef
Forum: Plugins
In reply to: [Menu Cart for WooCommerce] Use in admin bar?Hi all,
nice stuff!!
I#m looking the opposit wa to schow the my-account menue from the adminbar in the etop-menu beside the chat menu.Have someone a solution?
Would be great!!!
Regards
Josef