Removing Items From the WordPress Admin Bar

…generated by plugin. Full ID is #wp-admin-bar-si_menu $wp_admin_bar->remove_node(‘si_menu’); // WordPress Core Items (uncomment to remove) $wp_admin_bar->remove_node(‘updates’); $wp_admin_bar->remove_node(‘comments’); $wp_admin_bar->remove_node(‘new-content’); //$wp_admin_bar->remove_node(‘wp-logo’); //$wp_admin_bar->remove_node(‘site-name’); //$wp_admin_bar->remove_node(‘my-account’); //$wp_admin_bar->remove_node(‘search‘); //$wp_admin_bar->remove_node(‘customize’); } /* * Items placed outside the…

How to Use a Page for a Custom Post Type Archive with URL Rewrites

…while( $the_query->have_posts() ) : $the_query->the_post(); ?> <!– Post Content goes here –> <div class=”library-book”> <figure><?php the_post_thumbnail(); ?></figure> <h2><?php the_title(); ?></h2> </div> <?php endwhile; wp_reset_postdata(); ?> </main><!– #main –> </div><!– #primary…

Pin It on Pinterest