Skip to content

Instantly share code, notes, and snippets.

@Rahe Rahe/gist:e898dc2f2f587cde38e3 Secret
Created Nov 16, 2014

Embed
What would you like to do?
<div>
<h5><?php echo get_the_title( $album ); ?></h5>
<?php if( true === (bool)$atts['display_details'] ) : ?>
<dl>
<dt>
Artiste
</dt>
<dd>
<?php echo esc_html( $album->arstist ); ?>
</dd>
<dt>
Année
</dt>
<dd>
<?php echo esc_html( $album->year ); ?>
</dd>
</dl>
<?php endif; ?>
<?php if( true === (bool)$atts['add_link'] ) : ?>
<a href="<?php echo get_permalink( $album ); ?>" >Aller sur la fiche de l'album</a>
<?php endif; ?>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.