first commit

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-08 12:19:53 -04:00
commit 7c8c8b1c76
4586 changed files with 2050693 additions and 0 deletions
@@ -0,0 +1,35 @@
<?php
/**
* Blog entry audio format media
*
* @package OceanWP WordPress theme
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Return if Ocean Extra is not active.
if ( ! OCEAN_EXTRA_ACTIVE ) {
return;
}
?>
<?php $audio = oceanwp_get_post_audio_html(); ?>
<?php if ( $audio ) : ?>
<div class="thumbnail"><?php echo $audio; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></div>
<?php
else :
// Else display post thumbnail.
?>
<?php get_template_part( 'partials/entry/media/blog-entry' ); ?>
<?php endif; ?>