2022 Developer Survey is open! Take survey.

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
0 answers
24 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), '...
user avatar
  • 299
2 votes
0 answers
17 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/...
user avatar
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 ...
user avatar
0 votes
1 answer
11 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 ...
user avatar
  • 1,672
1 vote
3 answers
152 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 ...
user avatar
  • 1,672
0 votes
0 answers
13 views

How to fetch common posts from two feeds?

I'm trying to get an RSS feeds that combines author and category. These are the two feeds I have. https://candid.technology/author/yadullah/feed https://candid.technology/in-news/feed As you can ...
user avatar
0 votes
1 answer
47 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 -...
user avatar
0 votes
0 answers
24 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('...
user avatar
0 votes
1 answer
35 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 ...
user avatar
0 votes
0 answers
29 views

Unset category in query

I'm doing the following to limit my rss feed to certain post categories: function exclude_category($query) { if ( $query->is_feed ) { $query->set('cat', array(6, 48)); } return $query;...
user avatar
0 votes
1 answer
68 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 ...
user avatar
  • 41
0 votes
1 answer
77 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 ...
user avatar
  • 13
1 vote
0 answers
35 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$ /...
user avatar
  • 877
0 votes
0 answers
21 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?
user avatar
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 ...
user avatar
0 votes
1 answer
25 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 ...
user avatar
0 votes
1 answer
85 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 ...
user avatar
1 vote
1 answer
100 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 ...
user avatar
0 votes
1 answer
11 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.
user avatar
  • 1
0 votes
0 answers
60 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=...
user avatar
0 votes
1 answer
124 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 ...
user avatar
  • 913
0 votes
0 answers
61 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 ...
user avatar
  • 1
0 votes
0 answers
44 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" ...
user avatar
  • 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> ...
user avatar
0 votes
2 answers
18 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
user avatar
0 votes
1 answer
380 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 ...
user avatar
  • 3
0 votes
1 answer
43 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 ...
user avatar
  • 11
1 vote
0 answers
808 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+)', ...
user avatar
  • 145
2 votes
0 answers
200 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>...
user avatar
  • 21
1 vote
1 answer
48 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 ...
user avatar
  • 247
0 votes
3 answers
505 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: ...
user avatar
0 votes
1 answer
193 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 ...
user avatar
  • 4,855
4 votes
2 answers
818 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['...
user avatar
0 votes
1 answer
50 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( $...
user avatar
0 votes
1 answer
594 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/...
user avatar
0 votes
1 answer
135 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 ...
user avatar
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 ...
user avatar
0 votes
1 answer
644 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 ...
user avatar
  • 13
1 vote
1 answer
609 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 ...
user avatar
4 votes
1 answer
108 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 ...
user avatar
  • 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 ...
user avatar
-1 votes
1 answer
414 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: ...
user avatar
  • 155
1 vote
1 answer
269 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 ...
user avatar
  • 11
0 votes
0 answers
626 views

RSS - This XML file does not appear to have any style information associated with it. The document tree is shown below

i have a problem with my feed on wordpress that shows this message before the feed This XML file does not appear to have any style information associated with it. The document tree is shown below. ...
user avatar
-1 votes
1 answer
475 views

Feed RSS problem on Wordpress, need it for Google News

I need my feed to work, but i have problem with feed validator, that send me out this message https://www.rnbjunk.com/feed/ It looks like this is a web page, not a feed. I looked for a feed ...
user avatar
0 votes
0 answers
90 views

Replace category titles inside RSS feed

I need to replace titles in <category> ... </ category> tag inside the default RSS feed (mywebsite.com/feed/). Of course, it would be more convenient to just rename the categories, but ...
user avatar
  • 1
0 votes
1 answer
837 views

Remove Default Read More Link in Manual Excerpt RSS Feed

I have a site that displays manual excerpts on the blog post page: https://teralynnchilds.com/blog. I added a custom read more link using the snippet found here: https://wpmayor.com/add-read-link-...
user avatar
1 vote
1 answer
156 views

Why is my oembed function modifying Twitter embed?

Building a theme with Boostrap 4 and WordPress 5.0.1. Under Bootstrap's documentation for embed video the following format is required for responsive videos: <div class="embed-responsive embed-...
user avatar
0 votes
1 answer
173 views

RSS feed site image custom resolution

I want to update the resolution of my site image for my RSS feed. Right now it is 32px. How can I update the resolution without plugins? <image> <url>https://evenwerk.com/wp-content/...
user avatar
  • 101
0 votes
1 answer
276 views

RSS feed has stopped updating

One of my users just alerted me that my RSS feed is 6 posts behind my website. Feed is served directly by the WordPress install (didn't install Feedburner or anything), and located at http://www....
user avatar
  • 1

1
2 3 4 5
8