Jump to content
Sign in to follow this  
annabelr

Edit pagelines_cred hook

Recommended Posts

annabelr

Hi there, I'm using platform pro and wish to customize the pagelines_cred hook. Which platform pro (1.5.3) file do i have to look for? Thx

Share this post


Link to post
Share on other sites
Simon

What do you want to change? And where did you download 1.5.3?

Share this post


Link to post
Share on other sites
annabelr

HI there, No need to get all worked up! My mistake : of course 1.5.2 I want to insert copyright and credits with links (since i'm not using the 5 columns footer the site terms statement don't get displayed or so i guessed) if that's okay with you. Thx

Share this post


Link to post
Share on other sites
Simon

Its fine ;) Just making sure there isnt a dodgy version from somewhere! Ok there is a filter you can use for this: pagelines_after_footer

Share this post


Link to post
Share on other sites
annabelr
:) Well at least not that i know of. I'm afraid i don't get it : where and how should i use the filter? I can't seem to find the answer in the docs... Thx

Share this post


Link to post
Share on other sites
Simon

Example: in platformbase/functions.php

	add_filter( 'pagelines_after_footer', 'anna_footer' );
	function anna_footer() {
	
	?>
	html goes here
	
	
	

edit: fixed typo ;)

Share this post


Link to post
Share on other sites
annabelr

Cheers! Only got to style it now...

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  

×