the_ID()

E shfaq ID-në e postimit aktual brenda ciklit.

Shembull:

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    ...
</article>

Referenca

All Rights Reserved Theme by 404 THEME.