このクライアントのサイトhttp://www.redvaultproductions.com/Latest.phpでワードプレス フィードを表示していますが、投稿内に動画が表示されません。
2 番目 (私がこれを書いたとき)の投稿「マウント バチェラー、オレゴン」に注目してください。WordPress にビデオがあります。しかし、私のクライアントのサイトにはありません。
これがドキュメントの上部にあるものです
<?php
require_once('autoloader.php');
$feed = new SimplePie();
$feed->set_feed_url('http://redvaultproduction.wordpress.com/feed/');
$feed->enable_cache(true);
$feed->set_cache_location('cache');
$feed->set_cache_duration(120);
$feed->init();
$feed->handle_content_type();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
そして、これがすべての投稿のドキュメントの内容です。
<?php
$item = $feed->get_item() ?>
<div class="postTitleTop"><br />
<?php print $item->get_title(); ?></div>
<?php print $item->get_content(); ?>
誰でも説明できますか?これに関する情報が見つかりません。