Admin Bar below footer as unstyled list of links
Have you perhaps copied in the admin bar links into the footer.php file by accident? At the bottom of footer.php you should see a function call “wp_footer();”.
Have you perhaps copied in the admin bar links into the footer.php file by accident? At the bottom of footer.php you should see a function call “wp_footer();”.
/* Front end */ show_admin_bar( false ); /* back end */ function disableAdminBar(){ remove_action( ‘admin_footer’, ‘wp_admin_bar_render’, 1000 ); function remove_admin_bar_style_backend() { echo ‘<style>body.admin-bar #wpcontent, body.admin-bar #adminmenu { padding-top: 0px !important; }</style>’; } add_filter(‘admin_head’,’remove_admin_bar_style_backend’); } add_action(‘init’, ‘disableAdminBar’); Modified version of http://wp.tutsplus.com/tutorials/how-to-disable-the-admin-bar-in-wordpress-3-3/
Have you tried possible displaying Magento in WordPress? I found an extension that allows Magento blocks within WordPress: website Here is the actual plugin site – MWI
This is just a CSS edit. You don’t need to alter how or where the admin menu loads. Add … #wpadminbar { position: absolute; } to your theme’s stylesheet.
need help styling dashicon in admin bar
Using an SVG icon for an Admin menu bar item
Perhaps you could use $wp_admin_bar->get_nodes(); to get all toolbar nodes, then loop them through and modify the right nodes as needed. Something along these lines, add_action( ‘admin_bar_menu’, ‘customize_my_wp_admin_bar’, 80 ); function customize_my_wp_admin_bar( $wp_admin_bar ) { $all_toolbar_nodes = $wp_admin_bar->get_nodes(); if ( ! $all_toolbar_nodes ) { return; } foreach ( $all_toolbar_nodes as $node ) { // Skip … Read more
You need to hook into ‘wp_before_admin_bar_render’, not ‘admin_bar_menu’. According to the documentation an action attached to this hook fires before the admin bar is rendered.
To answer your information from the comments (which actually should be edits to the question): So far, it has been very easy to use WP to replace my self-made code used to manage users’ login, write and output posts and static pages in 3 of my existing websites, without altering anything else the websites. You … Read more
Yes it is possible, there is a code: // inside functions file add_filter(‘show_admin_bar’, ‘__return_false’);