Prefix story page article ID and add data-id
This commit is contained in:
parent
d1b4d8492d
commit
9bab2f4568
@ -54,7 +54,7 @@ get_header( null, $header_args );
|
||||
);
|
||||
?>
|
||||
|
||||
<article id="<?php the_ID(); ?>" class="story__article <?php if ( ! $can_checkmarks ) echo '_no-checkmarks'; ?>" data-age-rating="<?php echo strtolower( $story['rating'] ); ?>">
|
||||
<article id="post-<?php the_ID(); ?>" class="story__article <?php if ( ! $can_checkmarks ) echo '_no-checkmarks'; ?>" data-id="<?php the_ID(); ?>" data-age-rating="<?php echo strtolower( $story['rating'] ); ?>">
|
||||
|
||||
<?php
|
||||
// Render article header
|
||||
|
Loading…
x
Reference in New Issue
Block a user