Skip to content

Instantly share code, notes, and snippets.

@iledcom
Created March 9, 2017 14:27
Show Gist options
  • Save iledcom/52be7cfbdcda584fa890db5412449335 to your computer and use it in GitHub Desktop.
Save iledcom/52be7cfbdcda584fa890db5412449335 to your computer and use it in GitHub Desktop.
WP/Output of an custom field
// Необходимо вывести поле содержащее текст "Подробнее"
//Произвольные поля
//Имя: more
//Значение: Подробнее
$more = get_post_custom_values('more');
<?php echo $more[0];?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment