Last active
September 16, 2017 00:09
-
-
Save pablocattaneo/0127d162b3205097b794 to your computer and use it in GitHub Desktop.
Muestra el custom field que se indica en la variable Key
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
// $key="mykey" nombre de custom field tal como se escribe en el post | |
<?php $key="mykey"; echo get_post_meta($post->ID, $key, true); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment