Get the object ID by URL

Try this function:

url_to_postid( $url );

The WordPress codex is your friend. A quick Google search could have provided the answer.

Leave a Comment

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