djb21au 0 Report post Posted March 8, 2011 I apologise if some see me as a broken record on this, but I'm still waiting on an answer to this question: why doesn't the 'remove_action' command work? It is, as far as I'm aware, part of the core Wordpress code so it should work. The full story: I want to remove the metabar from above my posts to underneath them. The part of the template I am trying to change is this: <?php pagelines_register_hook( 'pagelines_loop_post_header_start', 'theloop' ); //hook ?> <div class="post-title-section fix"> <div class="post-title fix"> <?php pagelines_get_post_title(); pagelines_get_post_metabar(); ?> </div> </div> And my additions to functions.php in the base are: remove_action('pagelines_loop_post_header_start','pagelines_get_post_metabar'); add_action('pagelines_inside_bottom_theloop','pagelines_get_post_metabar'); The 'add_action' part works, but the 'remove_action' doesn't do anything. I've either targetted the wrong hook (which doesn't seem to be the case) or something else is wrong. Please don't answer by suggesting display:none in the css ??“ that doesn't work because it hides the added metabar as well as the original. This post is specifically about the remove_action command. (Site in question is http://www.streetsofmytown.net) Share this post Link to post Share on other sites