Skip to content

Commit

Permalink
Update taxonomy-portfolio.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ciorici committed Oct 9, 2024
1 parent 19fd3f4 commit 4bae786
Showing 1 changed file with 21 additions and 17 deletions.
38 changes: 21 additions & 17 deletions templates/taxonomy-portfolio.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,22 +72,26 @@

<?php if ( have_posts() ) : ?>

<header class="page-header alignwide">
<?php the_archive_title( '<h1 class="page-title">', '</h1>' ); ?>
<?php if ( $description ) : ?>
<div class="archive-description"><?php echo wp_kses_post( wpautop( $description ) ); ?></div>
<?php endif; ?>
</header><!-- .page-header -->

<?php
printf(
'<div class="wpzoom-block-portfolio-taxonomy">%1$s</div>',
$block_portfolio_render
);
?>

<?php else : ?>
<?php get_template_part( 'template-parts/content/content-none' ); ?>
<?php endif; ?>
<div class="wpz_portfolio_wrapper">

<header class="page-header alignwide">
<?php the_archive_title( '<h1 class="page-title">', '</h1>' ); ?>
<?php if ( $description ) : ?>
<div class="archive-description"><?php echo wp_kses_post( wpautop( $description ) ); ?></div>
<?php endif; ?>
</header><!-- .page-header -->

<?php
printf(
'<div class="wpzoom-block-portfolio-taxonomy">%1$s</div>',
$block_portfolio_render
);
?>

<?php else : ?>
<?php get_template_part( 'template-parts/content/content-none' ); ?>
<?php endif; ?>

</div>

<?php get_footer(); ?>

0 comments on commit 4bae786

Please sign in to comment.