Is there a way of doing this with WordPress aside from using $_SERVER['HTTP_REFERER']
?
Maybe something like a blend of $_SERVER['HTTP_REFERER']
and is_category()
. Something like,
came_from_category( 'uncategorized' )
or
came_from_home()
Is there a way of doing this with WordPress aside from using $_SERVER['HTTP_REFERER']
?
Maybe something like a blend of $_SERVER['HTTP_REFERER']
and is_category()
. Something like,
came_from_category( 'uncategorized' )
or
came_from_home()