Skip to content

Commit

Permalink
Chain reaction indenting...
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Nov 2, 2023
1 parent d061eaf commit 55af766
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/wp-conference-schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -609,23 +609,29 @@ public function shortcode_sponsors( $attr, $content ) {

<li id="wpcsp-sponsor-<?php the_ID(); ?>" class="wpcsp-sponsor">
<?php if ( 'visible' === $attr['title'] ) : ?>
<?php if ( 'website' === $attr['link'] && $website ) : ?>
<?php
if ( 'website' === $attr['link'] && $website ) :
?>
<<?php echo $secondary_heading; ?>>
<a href="<?php echo esc_url( $website ); ?>" rel="sponsored">
<?php the_title(); ?>
</a>
</<?php echo $secondary_heading; ?>>
<?php elseif ( 'post' === $attr['link'] ) : ?>
<?php
elseif ( 'post' === $attr['link'] ) :
?>
<<?php echo $secondary_heading; ?>>
<a href="<?php echo esc_url( get_permalink() ); ?>">
<?php the_title(); ?>
</a>
</<?php echo $secondary_heading; ?>>
<?php else : ?>
<?php
else :
?>
<<?php echo $secondary_heading; ?>>
<?php the_title(); ?>
</<?php echo $secondary_heading; ?>>
<?php
<?php
endif;
endif;
if ( 'list' !== $attr['type'] ) {
Expand Down

0 comments on commit 55af766

Please sign in to comment.