Jump to content
Sign in to follow this  

remove_action command doesn't work

Recommended Posts


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">
And my additions to functions.php in the base are:

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this