Jump to content
Sign in to follow this  
djb21au

Using remove_action

Recommended Posts

djb21au    0
djb21au

I am having trouble making what should be a simple adjustment. Haven't had any joy on the PlatformPro forum so trying this one. Basically, I want to remove the metabar from above my posts to underneath them. (I'm using PlatformPro.) 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. 'remove_action' should work shouldn't it? (Site in question is 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  

×