I need to extract the value of \"page\" i.e 5 from this url - http://snypher.local/photos/page/5 What should I do to extract it in Wordpress? I am not able to get it from th
use get_query_var example $page = get_query_var('paged'); in your case it's 5
get_query_var
$page = get_query_var('paged');
5