Is there a wordpress function that I can use to retrieve the current page that is loaded?

Hi @racl101:

I think what you are after is to use get_page_link($post->ID). The value $post will have been set by the default query to be equal to the post for the current page and should be in scope when your page template is run.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)