Questions tagged [rss]

RSS feeds are automatically generated by WordPress to allow readers to easily follow your blog using an RSS feed reader.

Filter by
Sorted by
Tagged with
0
votes
1answer
12 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
1answer
13 views

Remove password protected posts from default RSS feed

I want to remove all password protected posts from the default RSS feed. Unfortunately I was only able to find one code example, but it looks like something is missing. function rss_filter_protected( $...
0
votes
0answers
10 views

Is there a way to implement a newsletter service without Mailchimp?

https://wpforms.com/mailchimp-rss-to-email-newsletter-wordpress/ Is there a way to implement a newsletter service without Mailchimp? I was reading this, but then I realized Mailchimp isn't free and ...
0
votes
0answers
6 views

Managing custom styles for the RSS widget via a plugin?

I help maintain a website that uses the RSS widget to display a feed of status updates. We manage site layout using Elementor, and we apply a chunk of custom CSS to the RSS widget in order to make it ...
0
votes
0answers
14 views

How do you check where the feed is being instantiated?

I need to set up a RSS feed, so the first thing I did was to check if I had a feed: https://feedburner.google.com/fb/a/myfeeds?gsessionid=pVO3JdJC-QFJNqPlkoaNJtTYqY3Zlivw-RIJovo4Q4g I used this and ...
0
votes
0answers
18 views

WordPress / Custom ACF tag in WordPress RSS2 Feed [closed]

I have a ACF checkbox field set up ('kiemelt_cikk). I'm trying to add a custom tag in the WordPress RSS feed, that appears only, if the field is ticked. The issue is that while the tag gets added, it ...
0
votes
1answer
22 views

RSS audio enclosures have length of zero (podcast duration is missing)

I have had success at creating an RSS feed with enclosures containing episodes of my podcast by simply creating a post and inserting an mp3 file from my media library into it via the robust Add Media ...
0
votes
0answers
20 views

Custom feed (rss-gmerchant.php) for custom post type (product)

In a nut-shell, I'm trying to get a custom RSS feed for the post type 'product', so I can modify it and turn it into a Google merchant feed. 1. Using a separate (rss-gmerchant.php) file to generate ...
0
votes
0answers
13 views

How to show/add updated Posts to RSS Feed

I work with wordpress rss feeds and getresponse mail client to send automated E-Mails to subscribers. The Problem: It works only for new added blog posts, but not for older updated blog posts. ...
0
votes
0answers
18 views

How to exclude sticky posts from RSS feed?

I have this code trying to remove sticky posts from the RSS feed only. But it doesn't work. What could be wrong? add_action('pre_get_posts', 'ignore_sticky_in_feed'); function ignore_sticky_in_feed($...
0
votes
0answers
16 views

Rss Feed Description vs Content

We are using this code to modify our RSS feed, however the code modifies both <description> and <content> of the RSS feed. Is it possible to make the RSS <description> tag to have ...
1
vote
1answer
35 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
1answer
61 views

Rss error in first line of xml : not well-formed (invalid token)

I'm having a problem with my rss feed. Validator.w3.org is not accepting it, saying not well-formed (invalid token) on line 1. It seems that the name of the website appearing between <?xml ?> ...
0
votes
0answers
20 views

How to remove multiple resolutions in the <content:encoded> tag in custom RSS Feed

I want to remove unnecessary resolutions images link from my custom feed, only need 1st full resolution image. <figure id="attachment_23" aria-describedby="caption-attachment-23"...
0
votes
0answers
11 views

Rewrite Custom Post Type URL without breaking RSS Feed URL

I am rewriting the URLs for a custom post type as follows: In my register_post_type code I have: 'rewrite' => array( 'slug' => 'magazine/%magazine_categories%', 'feeds' => false, '...
0
votes
0answers
21 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
0answers
21 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 ...
0
votes
0answers
10 views

RSS feed can't be found!

UPDATE: I fixed it. I don't know what I did, but it works now. My RSS feed can't be validated. I don't know why. I've tried disabling plugins...but no cigar. Any help would be appreciated. WordPress ...
1
vote
0answers
5 views

Is there way to make conditional branch for Rss feed items?

I made custom field as Rss feed items. When I try to make conditional branch of these items, it does not work. This is code I made. Problem is that 'color2' is always ignored however value of 'color1'...
0
votes
0answers
16 views

How Can I Append Inline Style to Post Images in WordPress

Posts on our website get pulled into an RSS feed and get automatically emailed by an email service. This works great, except for one thing — normal web size images make our emailed posts look bad on ...
0
votes
0answers
8 views

Add Featured Image as Post URL Path Component Extension

I would like to append an extension component to my post URL that would allow me to get the featured image of a post while preserving the URL scheme. For example, if my final post URL was: https://my....
0
votes
2answers
156 views

Completely disable RSS feeds on WP 5.5.2 and show a 404 page instead of die();

I'd like to completely disable RSS feeds on my WP website. Can someone please guide me on how to throw a 404.php page and set the headers to 404, when someone types in https://example.com/feed/ here ...
0
votes
0answers
14 views

Beautify Feed URL for custom post type

I have news custom post type and I use this URL to check the news feed http://website.com/feed/?post_type=news Is There a way to change it to : http://website.com/news/feed/ <?php function ...
1
vote
0answers
28 views

Problem with getting RSS because of authentication

Im am trying to get the rss feed from a wordpress website that someone else has built. But I get stuck in authentication problems, and i am not able to find the right solution. When I put http://...
0
votes
0answers
59 views

Wordpress RSS feed image url replace string from raw url to CDN url

I have a Wordpress website that uses Cloudflare and Mailchimp. On Cloudflare I have scrape shield and hotlink protection activated. The Mailchimp campaign uses the Wordpress site RSS to automate a ...
0
votes
0answers
18 views

Code to mimic the RSS widget

Background - I was using a (paid) theme, and spent quite a bit of time with customizing it. The result was an aggregator page, 4 columns of RSS feeds for the topic. The theme issued an update which, ...
0
votes
0answers
13 views

WordPress auto RSS feed shows posts in unexpected order

WordPress auto RSS feed generator showing posts from different years although between the two dates I've been published 100 posts. https://www.secrettelaviv.com/feed?post_type=gd_place
0
votes
0answers
18 views

Exporting post info into a formatted table and into MailChimp as automated as possible

This is a complex one, and I'm ok if not every aspect of it can be automated but I'd like to try to get as close as possible. What I'm trying to do: I'm building a job site and I want to be able to ...
0
votes
2answers
584 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
0answers
44 views

Create custom feed for child pages of a parent page

I have been trying to create URL feed for all child pages of a parent page. Those child pages have featured image and excerpt info (+author, published date) I found here that is possible to create ...
0
votes
1answer
33 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 ...
1
vote
0answers
415 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+)', ...
1
vote
0answers
46 views

How to remove style attribute in WordPress RSS output?

I have tested my RSS using the W3C Feed Validator but it is outputting an error to fix: style attribute contains potentially dangerous content: max-width How can I fix this error and remove style ...
2
votes
0answers
128 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>...
0
votes
3answers
237 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: ...
0
votes
1answer
443 views

Get featured image from post on RSS feed

I want to add the featured image to my RSS feed. function rss_post_thumbnail($content) { global $post; if(has_post_thumbnail($post->ID)) { $content = '<p>' . ...
0
votes
1answer
27 views

Include only posts with meta key “add_in_rss” in RSS Feed

I edited this file like this, but it doesn't work ...do_action( 'rss2_head' ); while ( have_posts() ) : the_post(); $meta = get_post_meta($post->ID, "add_in_rss", false); ...
1
vote
1answer
564 views

Publish an XML feed from a CPT with ACF fields?

looking to develop a website for a recruitment agency and they want to sync their jobs board with Indeed. From chatting to the rep, they said we'll need to provide an XML feed to Indeed in the ...
0
votes
0answers
25 views

Modification of RSS feed is not consistent

I am using the following code in my child theme's functions.php file to replace the_author() value (dc:creator node) with the value of an Advanced Custom Fields text field named custom_byline. It ...
1
vote
1answer
126 views

how to protect Wordpress RSS Feed from “Feed Fetcher”

how to protect Wordpress RSS Feed from "Feed Fetcher" ? there is a plugin "disable Feed for wordpress but in want rss feed for seo. wat can i do to protect RSS FEED from copying without IP BANNING in ...
1
vote
1answer
76 views

Order RSS content by an advanced custom field value

I have created a custom post-type called "event". For this custom post-type I created an advanced custom field called "event_date". Now I am trying to display the list of my events in a RSS feed. ...
2
votes
2answers
189 views

Disable RSS Feed

I want to disable rss feed,my wordpress version is 5.2.4. see my code below to disable rss feed. function itsme_disable_feed() { wp_die( __( 'No feed available' ) ); } add_action('do_feed', '...
0
votes
1answer
106 views

How do I enable my Wordpress website RSS feed? My site doesn't seem to have an RSS feed

I need the RSS feed on my site but it doesn't seem to have one. All the articles I've read say Wordpress sites have a default RSS feed so I must be doing something wrong. To try to find my feed, I've ...
0
votes
1answer
22 views

Add extra content to RSS feed

I want to add some extra information to my RSS feed, it's an Array that I need to display only the "name" from. This is the code in my functions.php function crunchify_feed($content) { if(...
0
votes
1answer
44 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
1answer
82 views

Remove post content in RSS feed?

I want to remove the post content that is displayed in the RSS feed. How can I do this? I just only want it to show a list of post titles and not the content
0
votes
1answer
441 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
1answer
38 views

Preventing RSS feeds access to the authenticated uses only

I was trying to limit the access of feeds to the users who have user account on the website. i do not want unauthenticated users to get the feeds. My site will have multiple types of membership and ...
1
vote
1answer
394 views

Disable feed cache for custom RSS feed?

I created my custom RSS feed using the following code: add_action( 'init', 'MyCustomRSS' ); function MyCustomRSS(){ add_feed( 'examplecomrss', 'MyCustomFeedCallback' ); } /* This code seeks the ...
0
votes
1answer
17 views

How can I add certain pages (not posts) to my sites RSS feed?

How can I add specific pages content to my sites RSS feed? As of right now the RSS feed automatically displays all of the sites posts content, but I want to add the RSS functionality to certain pages ...

1
2 3 4 5
11