Skip to content

Commit

Permalink
05-04-2023
Browse files Browse the repository at this point in the history
  • Loading branch information
midkiffaries committed May 5, 2023
1 parent 7b908e8 commit 250ebe0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions attachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@

<?php while ( have_posts() ) : the_post(); // Display selected media ?>

<article <?php post_class(); ?> id="<?=$post->post_name; ?>" itemscope itemtype="https://schema.org/NewsArticle">
<article <?php post_class(); ?> id="<?=$post->post_name; ?>" itemscope itemtype="https://schema.org/CreativeWork">
<div class="post-container">
<h1 class="page-title" itemprop="name headline"><?=the_title(); ?></h1>
<div class="wp-block-image" role="figure" itemprop="image">
<div class="image-attachment"><a href="<?=wp_get_attachment_url(get_the_ID()); ?>" title="View this image or document" aria-title="View this image or document" itemprop="url">
<?=attachment_page_image(get_the_ID()); ?>
</a></div>
<div class="image-caption" role="caption"><?=wp_kses_post( wp_get_attachment_caption() ); ?></div>
<div class="image-caption" role="caption" itemprop="description"><?=wp_kses_post( wp_get_attachment_caption() ); ?></div>
</div>
<div class="image-description" itemprop="description">
<div class="image-description" itemprop="text">
<?=the_content("<p>Continue Reading &raquo;</p>"); ?>
</div>
<p class="image-info">
Expand Down
2 changes: 1 addition & 1 deletion single-portfolio.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<article <?php post_class(); ?> id="<?=$post->post_name; ?>" name="<?=$post->post_name; ?>" itemscope itemtype="https://schema.org/CreativeWork">
<div class="post-container">
<h1 class="page-title" itemprop="name headline"><?php the_title(); ?></h1>
<div class="the-content" itemprop="text articleBody">
<div class="the-content" itemprop="text description">
<?php the_content("<p>Continue Reading &raquo;</p>"); ?>

</div>
Expand Down

0 comments on commit 250ebe0

Please sign in to comment.