Вывод картинки из URL.
<?php //get article_image (custom field) ?>
<?php $image = get_post_meta($post->ID, ‘article_image’, true); ?>
<a href=”<?php the_permalink() ?>”><img src=”<?php echo $image; ?>” alt=”<?php the_title(); ?>” /></a>
Смотреть также в: custom field
Нет комментариев
No comments yet.