How to get the original post_id of a static home page?

the id of the posts page is:

$posts_page_id = get_option( 'page_for_posts' );

the conditional tag for the posts page would be: is_home()

edit:
the id of the static front page is:

$front_page_id = get_option( 'page_on_front' );

Leave a Comment

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