This repository has been archived on 2024-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
kspace-wordpress-theme/components/article/description.php

10 lines
254 B
PHP
Raw Normal View History

2021-01-04 12:00:40 +01:00
<?php
$custom_fields = get_post_custom();
$my_custom_field = $custom_fields['description'];
if ($my_custom_field != null) {
foreach ( $my_custom_field as $key => $value ) {
echo " <div class='mb-half'> " . $value . "</div>";
2021-01-04 12:00:40 +01:00
}
}
?>