طريقة التطبيق
نفتح المسار التالي
رمز Code:
wp-includes/feed-rss2.php
نبحث عن العبارة
رمز PHP:
<code style="white-space:nowrap"> <code> <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> </code> </code>
ستظهر لنا عبارتين نفس الشيء يفصلهم <?php else : ?>
رمز PHP:
<code style="white-space:nowrap"> <code> <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
<?php else : ?>
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description> </code> </code>
استبدل العباره الأولى بهذه
رمز PHP:
<code style="white-space:nowrap"> <code> <description><![CDATA[<?php the_content() ?>]]></description> </code> </code>
ليصبح الكود code النهائي
رمز PHP:
<code style="white-space:nowrap"> <code> <description><![CDATA[<?php the_content() ?>]]></description>
<?php else : ?>
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description> </code> </code>
مثال لموقع ينقل rss من مجتمع الجوال
و مبروك عليكم الطريقة