Perfect! Thanks Rocco Aliberti (@d4z_c0nf)!
This place is awesome 🙂
That worked perfectly, thankyou Denzel Chia
This is the code I’ve been trying
add_filter('tc_fp_link_url' , 'my_custom_fp_links', 10 ,2);
//If you are using the featured pages Unlimited Plugin or the Customizr Pro theme, uncomment this line :
//add_filter('fpc_link_url' , 'my_custom_fp_links', 10 ,2);
function my_custom_fp_links( $original_link , $fp_id ) {
//assigns a custom link by page id
$custom_link = array(
//page id => 'Custom link'
257 => 'http://www.holdthesugar.com.au/wp/recipe',
);
foreach ($custom_link as $page_id => $link) {
if ( get_permalink($page_id) == $original_link )
return $link;
}
//if no custom title is defined for the current page id, return original
return $original_link;
}