Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Dachzeile, Unterzeile, Subheading in WordPress mit Hilfe eines benutzerdefinierten Feldes.
<?php $unterzeile = get_post_meta($post->ID, 'unterzeile', true);
if ($unterzeile) { ?>
<div class="unterzeile">
<?php echo $unterzeile; ?>
</div>
<?php } ?>
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.