, ibid, detection functions.php documents;
4, note that the feed is cached, after the completion of the modification, send an article, so that WP program to reconstruct the feed, so as to see the effect;
5, if still wrong, you can try to temporarily close all plug-ins, change the theme, and so on one by one.
The above documents have been modified all over again, there is no clue. So installed a plug-in "Fix Rss Feeds", enabled after the repair is done
WordPress Support RSS Feed output, but in the whole station feed source will only output articles (POST), if you add a custom article type, you need to add them to WordPress's whole station feed source. The implementation method is simple, add the following code to the functions.php file of the topic:
The code is as follows
Copy Code
Add custom article type to
-atom.php documents, if not recently modified, can skip;
3, ditto, testing functions.php documents;
4, note that the feed is cached, after the modification is completed, send an article, so that WP program to rebuild the feed, so as to see the effect;
5, if still wrong, you can try to temporarily shut down all plug-ins, replacement theme, such as one by one exclude.
All the above documents have been modified, there is no clue. So I installed a plugin "fix
, ibid, detection functions.php documents;
4, note that the feed is cached, after the completion of the modification, send an article, so that WP program to reconstruct the feed, so as to see the effect;
5, if still wrong, you can try to temporarily close all plug-ins, change the theme, and so on one by one.
The above documents have been modified all over again, there is no clue. So installed a plug-in "Fix Rss Feeds", enabled after the repair is done
The method is as follows:
To WP background, modify the theme of the functions.php, to the end of the file add the following code:
The code is as follows
Copy Code
/*** Disable our Feed Urls*/function Disable_our_feeds () {Wp_die (' }Add_action (' do_feed ', ' disable_our_feeds ', 1);Add_action (' Do_feed_rdf ', ' disable_our_feeds ', 1);Add_action (' Do_feed_rss ', ' disable_our_feeds ', 1);Add_action (' Do_feed_rss2 ', ' disable_our_feeds ', 1);Add_action (' Do_fee
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.