Created
July 10, 2022 11:03
-
-
Save frontend-coder/18670e2b7c554a7fe20d1a09c1d270d0 to your computer and use it in GitHub Desktop.
34. Як оформлювати пост-контент для сторінок index та archive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<article <?php post_class(); ?> id="post-<?php the_ID; ?>" data-post-id='<?php the_ID(); ?>' > | |
<div><?php the_title(); ?> </div> | |
<div><?php the_exerpt(); ?> </div> | |
<a href="<?php the_permalink(); ?>"> esc_html_e('Read more','domein'); </a> | |
</article> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment