<?php
$queried_object = get_queried_object();
$thumbnail = get_field('icon', $queried_object);
?>
<?php if( !empty($thumbnail) ): ?>
<img src="<?php echo $thumbnail; ?>" />
<?php endif; ?>
Read the full article
Tag: WordPress |
The description is not prominent by default; however, some themes may show it.
|
Post #2 |
<?php
$queried_object = get_queried_object();
$thumbnail = get_field('icon', $queried_object);
?>
<?php if( !empty($thumbnail) ): ?>
<img src="<?php echo $thumbnail; ?>" />
<?php endif; ?>
|
Post #1 |
Get rid of WordPress’s YouTube oEmbed URLs howinfo or title using “functions.php”.