Id

Add a select field of a post.

Return the id of the resource.

<?php
/*
---------------------------------------------------------------------
{"type": "id", "name": "Id", "slug": "id"}
---------------------------------------------------------------------
*/
?>

Extraction

<header>
  	<p>ID : <?php the_wpcomponent( 'id' ) ?></p>
</header>

Variable

<header>
  	<p>ID : <?php echo get_wpcomponent( 'id' ) ?></p>
</header>