Recent Topics

1 Aug 21, 2012 23:19    

i need to display the URL of the page/article in Google Analytics to pick it up.

i'd like to reference it similar to other formats

<?php echo $Blog->ID; ?>

but i don't know the $Blog class properties. where's the API definition?

2 Aug 22, 2012 16:23

The easiest way to display current URL is thi

echo $GLOBALS['ReqURL'];


For canonical post URL try

echo $Item->get_permanent_url();


Form is loading...