Questions tagged [feed]

A feed is a function of special software that allows feedreaders to access a site, automatically looking for new content and then posting the information about new content and updates to another site. This provides a way for users to keep up with the latest and hottest information posted on different blogging sites.

Filter by
Sorted by
Tagged with
0 votes
1 answer
16 views

Custom RSS causing timeout for website

I have a WordPress news site, which requires a custom RSS feed to be sent to a certain distributor. The issue is, that while the custom feed replaces the original one, it causes a timeout about every ...
0 votes
0 answers
5 views

"feed" added at the end of my URLs

In "crawled - currently not indexed" there are a few URLs that end with "/feed" resulting in a 404 error or a coded page preview for example "https://everyfootball.com/al-...
  • 1
1 vote
1 answer
71 views

Cache a number of responses from external json feeds?

I have a project which displays information from about 60 stock tickers. The issue is, that the project is making requests every time the page loads for these 60 stocks. This is kind of how it looks ...
0 votes
2 answers
20 views

How to have all RSS feed entries linking to the same specific page

I have a list of events. I built a CPT “Evenements” for these Events. I included these CPT in my rss feed using the following function add_filter( 'request', 'wpm_myfeed_request' ); function ...
  • 3
0 votes
0 answers
24 views

display posts, pages and custom post types from another wordpress site

I have 2 sites one acting as a parent and the second acting as a branch of the organization. The sites are on different domains and databases. I want to display on the branch site some posts and ...
  • 103
0 votes
0 answers
39 views

PHP warning: Undefined array key 2 in feed.php

I'm trying to resolve "PHP warning: Undefined array key 2 in ... feed.php". I was looking online, and it seems that when there is an undefined array, I can resolve the issue with an if(isset(...
0 votes
1 answer
22 views

Does it makes sense to have {post}/feed?

Looking to the apache log of my host I found tons of requests that look like https://www.mywebsite.com/post-name/7239/feed/ Why having /feed in a post? It sounds weird and the content seems not so ...
  • 303
0 votes
1 answer
46 views

Remove or truncate site rss in <content:encoded>

By default, all post's content is included into rss (content:encoded element). I would like to convert reader to visit website. Currently, description element is truncated, but content:encoded ...
0 votes
0 answers
69 views

I need to change the attribute of the isPermaLink guid in the Wordpress RSS feed - from false to true

I need to change the attribute of the isPermaLink guid in the Wordpress RSS feed - from false to true. <guid isPermaLink="false"></guid> What's the best way to do this without ...
0 votes
0 answers
32 views

RSS feed for a custom page template

I would like to know if it is possible to have a custom feed based on a page template and how? This is my custom query: $my_custom_query = new WP_Query( array('cat' => array (4335, 12488), '...
  • 299
2 votes
0 answers
25 views

Custom RSS does not work for categories and tags

We have a custom RSS in our web. It works normally on Main page and post - https://www.kryptonovinky.cz/feed/spotify But in categories and tags it does not work https://www.kryptonovinky.cz/category/...
0 votes
0 answers
9 views

Disable permalinks, but allow RSS feeds

Have a custom post type event that needs an RSS feed (/feed/?post_type=event) but should not generate permalinks (/events/title-of-post). Problem is that the publicly_queryable argument for ...
0 votes
1 answer
92 views

Use a filter for wp_robots to block CPT/feed/

We have a CPT (with base slug templates) that somehow included in every single post's head a link to /templates/post/feed/. I've removed this link to the feed from the head, but want to block robots ...
  • 1,666
1 vote
3 answers
351 views

disable /feed/ for custom post type

Our custom post type posts have an extra feed in their source code: www.example/post-type/post/feed/ I want to remove the extra /feed/ from our CPTs, as they generate 404s. From the register_post_type ...
  • 1,666
0 votes
1 answer
65 views

How to preserve HTML from posts in RSS feed

I have set up a sample post with a few different HTML tags. This is the markup, copied from the block editor: <!-- wp:columns --> <div class="wp-block-columns"><!-- wp:column -...
0 votes
0 answers
131 views

WordPress create custom XML RSS feed template

I am trying to create a custom XML RSS feed. However, my code is not quite working as expected. Here is what I have done: In functions.php I have created the feed called "top": add_action('...
0 votes
1 answer
57 views

RSS feed URL for post comment shows HTML source code of page

I am facing a weird issue on my site. When I type RSS feed links, global feed and comments work correctly. But, when I go on a specific post, and enter (mysiteurl.com/postname/feed), It just gives me ...
0 votes
1 answer
73 views

Reply via email (mailto link) in RSS feed at the end of each post

I came across this post https://ethanmarcotte.com/wrote/replyin/ where author says he added Reply via email link at the end of each post in RSS feed so people have this option to respond via email In ...
  • 41
0 votes
1 answer
131 views

Performance of WordPress Rest API vs WordPress Feeds

I am building and android app using react native for my WordPress blog. I just want to display the post title, small description, category and featured image on recent 10 posts. All things are in RSS ...
  • 13
1 vote
0 answers
68 views

.htaccess rewriting old RSS feed URL to WordPress feed URL

I migrated my old site to WordPress, and I tought rewriting old RSS URL will be easy. Nope. My old RSS feed was served on /rss.php URL. So I added to .htaccess: RewriteBase / RewriteRule ^rss\.php$ /...
  • 887
0 votes
0 answers
23 views

How to get a list of articles related to a particular category from my other WordPress website?

How to get a list of articles related to a particular category from my other WordPress website. And how do I list that list on another WordPress site?
0 votes
1 answer
15 views

Properly setting up a feed

I have tried to setup a feed following the instructions here: https://wordpress.org/support/article/wordpress-feeds/ According to the instructions, https://sport-1a.de/category/Blog-Artikel/feed ...
0 votes
1 answer
26 views

Access category within rss2_head hook?

Can I access the current category of a category feed with the rss2_head hook to add for example itunes tags? Lets say I have wordpress.com/catx/feed I want to get acf field elements associated with ...
0 votes
1 answer
109 views

Custom WordPress feed on Apache server returning 304 response for if-modified-since

My WordPress website runs on a shared Apache webserver. I use a commercial plugin to record client bookings. This plugin registers a custom WordPress feed with add_feed() in plugin init. When ...
1 vote
1 answer
178 views

Display custom fields from custom posts in RSS feed

I've been struggling with this for a few days and still can't figure it how. What I am trying to do is to add a custom table field into the RSS feed, so I am using Code Snippets for this matter. Below ...
0 votes
1 answer
14 views

Every time I try accessing a post it redirects me to the feed

I'm having some issues with my posts. Every time I try to acces one it leads me to the post feed. Even if I try manually writing the URL it leads me to the feed.
  • 1
1 vote
0 answers
84 views

What is the difference between these GUID's in wordpress feed?

My RSS feed currently contains generated post GUIDs URLs that use the post slug: <guid isPermaLink="false">https://sitename.com/postname/</guid> However I want to use the ?p=...
0 votes
1 answer
158 views

Fetch_Feed cURL error 28

So whenever I try to use fetch_feed with urls like the one below, I get back "WP HTTP Error: cURL error 28: Operation timed out after 30070 milliseconds with 0 bytes received" However when I ...
  • 921
0 votes
0 answers
93 views

How to regenerate RSS feed URL like FeedBurner?

I own several podcasts and faced the problem of changing rss feed on different podcast directories several times when I changed hosting. I have been looking for a solution to this problem for a long ...
  • 1
0 votes
0 answers
75 views

wordpress feed link change

This is my default feed link <link rel="alternate" type="application/rss+xml" title="&quot; WordPress Local Development Environment&quot; &raquo; Feed" ...
  • 1
0 votes
2 answers
1k views

Change pubDate in rss feed in another format

In the default wordpress rss feed the element <pubDate> is <pubDate><?php echo mysql2date( 'D, d M Y H:i:s +0000', get_post_time( 'Y-m-d H:i:s', true ), false ); ?></pubDate> ...
0 votes
2 answers
21 views

Why I don't see all my post in feed in Wordpress

I have a question. I want to get all my post but when I visit http://example.com/feed/atom/ I have only three post. In my website there are much more than three. How to update this file? Kind regards
0 votes
1 answer
610 views

Remove all feeds and return custom 404 page

Hello I found the below code on a old post. I have opened up using ftp and created a new plugin folder called my first plugin and created it in the plugins folder - I have opened up my first plugin ...
  • 3
0 votes
1 answer
49 views

On my Wordpress 5.4 website, how to remove all feeds? Including Category and Tags

Hi so I noticed on Google search console, that Google has indexed my new Wordpress v5.4 website's feeds as well. Not only article feed, but also category and tags! I'm a wp newbie so can anyone ...
  • 11
1 vote
0 answers
1k views

Wordpress Rest API custom endpoint for RSS feed

I know how to register custom endpoints for Wordpress REST API and actually use it to output podcasts from my website like this: register_rest_route( 'myradio/v1', '/podcasts/(?P<id>\d+)', ...
  • 145
2 votes
0 answers
216 views

Change the RSS feed image

I want to customize this part of Wordpress feeds: <image> <url>https://[example.com]/wp-content/uploads/cropped-logo-32x32.png</url> <title>My Site</title> <link>...
  • 21
1 vote
1 answer
66 views

Displaying multiple loops based off of category

How do I get this loop to detect a specific category, and change the html if it's a different category. In other words, if a the category is detected, I want to style the blogs with the specific ...
  • 247
0 votes
3 answers
636 views

How to remove private posts from RSS feeds?

Private posts are visible only to administrators and editors, but I have found that they are displayed publicly in RSS feeds. How can I remove them from there? I have this code but it doesn't work: ...
  • 163
0 votes
1 answer
258 views

add_feed rewrite overwriting standard permalinks

By doing a simple: add_feed( 'schedule', 'my_schedule_feed' ); I have created a feed at /feed/schedule/... easy. But when I go to /schedule/ (which is a page) it is now showing the feed! Looking ...
  • 4,925
4 votes
2 answers
961 views

How to check if feed URL was requested?

I'm writing a plugin to block some pages to anonymous users on my site. I already blocked some pages but I can't get to identify the feed page my-wordpress-site.com/feed. I've tried: $GLOBALS['...
0 votes
1 answer
61 views

Can I add the post featured image to a specific RSS feed?

I'm currently using the following code: function featuredtoRSS($content) { global $post; if ( has_post_thumbnail( $post->ID ) ){ $content = '<div>' . get_the_post_thumbnail( $...
0 votes
1 answer
625 views

How replace individual <category> elements in the RSS feed with a single <category> string

We're sending RSS emails out to our list and would like to include the categories and tags. But when we add them, due to the way WordPress delivers them, they just end up in one big long string/...
0 votes
1 answer
140 views

Custom rewrite to fetch feed data

I am trying to fetch and display data from a feed when the user goes to a specific url like /items/32 where the 32 is the actual id of the feed item that should be fetched and displayed. Notice that I ...
  • 1,051
3 votes
0 answers
9k views

How to display LinkedIn feed/company updates into WordPress site? [closed]

I've been using LinkedIn Company Updates plugin for over 2 years to display linkedin feeds into wordpress site. But it's not working anymore. I've been trying over a week now to find a way to solve ...
0 votes
1 answer
763 views

Remove <figure> tag on my RSS Feed

I need to remove the tag that appears on my feed content ($content variable). http://mkt-d.hospedagemdesites.ws/wp/feed/ Is there an existing function to this task? Some tags appear with width ...
  • 13
1 vote
1 answer
711 views

Include only recents custom posts in WP rss feed

How to disable lastBuildDate for rss feed and include only the posts created recently (ex. 3 days before now)? If there is no post, let the feed be empty. I wants to show only recent posts in rss ...
4 votes
1 answer
128 views

RSS for Pages Instead of Posts?

I'm trying to set up RSS. However, all the pages on my site are pages, not posts because the SEO is better (all my content is relevant regardless of publish date). My RSS feed isn't working right ...
  • 41
0 votes
1 answer
128 views

WordPress Plugins Feed Error, but I'm not asking for a plugins feed

I'm getting this error on dozens of my sites: PHP Notice: A feed could not be found at http://wordpress.org/plugins/rss/browse/popular/. A feed with an invalid mime type may fall victim to this ...
-1 votes
1 answer
482 views

Disable every rss feed except home feed

I would like to disable every feed (comments, category, tags, author) as detailed here: https://wordpress.org/support/article/wordpress-feeds/ except for the "home-page feed" that you can found here: ...
  • 155
1 vote
1 answer
306 views

Remove a div from RSS feed

If someone can help to remove a div from my RSS feed. I want to remove below code from my RSS feed. <div class="well"> <a class="btn" href="foo.com">foo</a></div> Thanks in ...
  • 11

1
2 3 4 5
8