Created
May 30, 2017 14:27
-
-
Save Perun/ce6caadc2846ae876f309f6a74d876a9 to your computer and use it in GitHub Desktop.
Dachzeile, Unterzeile, Subheading in WordPress mit Hilfe eines benutzerdefinierten Feldes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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