Not entirely sure. This is template tag and should be used in Loop, but for single post page it works fine most of the time even outside of Loop. Seems to from quick test.
Disregard that. The issue is you were forgetting to echo it. 🙂
Also there is specialized template tag for comment feeds: get_post_comments_feed_link().
and is there any plugin where as soon as i publish a new post, automatically the rss feed is also created of it???
Not sure what you mean here. When post is published it automatically appears in main site’s feed.
Related Posts:
- How do I create an HTML embed code to publish WP posts on other non-WP websites?
- PHP Deprecated: Non-static method should not be called statically
- How is the ” wp_get_update_data ” function used?
- Are there plugins that interfere with the admin part of Rss widget?
- What Plugin Do You Use to Turn WordPress based site to A Blog Aggregator
- Simple plugin for showing RSS subscription links?
- WordPress plugin changelog RSS
- How to style the RSS wordpress?
- how to protect WordPress RSS Feed from “Feed Fetcher”
- Blog titles from WP blog on plain html site?
- External RSS feed to WordPress Portfolio
- Setting up PubSubHubbub (PUSH) with WordPress
- How to reorder and display a feed to be chronological?
- How do I get a post author’s image/avatar via RSS from another blog?
- Which plugin can do horizontal scrolling of RSS feeds in WordPress [closed]
- WP RSS Aggregator plugins breaks after switch to HTTPS
- Best way to duplicate specific page content across two sites?
- Featured Image in RSS Feed
- how to convert XML from URL to HTML
- Replace image urls(absolute instead of relative) by using filter in single page
- How can I add rel=”nofollow” attributes on RSS widgets?
- WordPress Following? Social Users?
- RSS feeds for specific topics
- On my WordPress 5.4 website, how to remove all feeds? Including Category and Tags
- RSS icons have the same Alt tag. Lighthouse is failing these elements. How do I display different alt tags for each icon?
- “Share” Content from Another Site as Post
- Add HTML between feed items
- RSS Feed has no Items (Possible Plugins Conflict)
- What is the RSS feed link for the newest WordPress plugins?
- Simply Exclude – Category feed exclusion is excluding from category feed instead of just the main feed
- Pulling RSS from site and display it in posts
- Developing a Site Like AllTop.COM – RSS Reading Problem
- What are Seeds? [closed]
- Getting table to format properly in RSS feed emails
- Getting table to format properly in RSS feed emails
- accessing parent variables in child construct without executing action in parent
- Ajax : Call undefined function plugin_function() … can’t call any plugin function
- How to over-ride a file in a plugin? [closed]
- execute function after one completed
- How can I run a custom shortcode function on a live site and only run if the viewer is a specific machine?
- How Can I Safely Remove WP-Super Cache without messing my site up? [closed]
- Display Plugin Panels Outside of Admin Areas
- What are the correct permissions so WP doesn’t ask for FTP credentials if installing plugin?
- Super slow plugin page (lots of error 500)
- Looking for Gallery Plugin [closed]
- Notice: Undefined index: mtral_field_subscriber
- Delete free version plugin will also delete premium plugin
- URL rewrite with external JSON query
- How to delete a theme using AJAX
- Adding a responsive grid onto a page (without using a Bootstrap theme) [closed]
- Licensing a Plugin [closed]
- Add a function call after content automatically?
- Var_dump ACF “API”
- Equivalent of admin.php for public pages
- Detect plugin/theme installation (via upload)
- Engadget Like Featured Breaking Plugin
- sliding/fading header plugin or approach suggestion
- Google Analytics event tracking code being stripped out of links in Author box – WordPress site
- Elementor Sidebar not loading when PRO elements plugin is active
- how can we migrate wordpress 5.9 website from aws ec2 to new installed wp 5.9 oci compute
- Import Recent Posts Only and Ignore old ones if exist
- Security of a WordPress Plugin
- @wordpress/scripts advanced usage
- wp_post not working, keeps redirecting to posts page
- How to display ACF coustom field from category on author.php
- How to add Mobile field in Registration form using Theme my login Plugin
- Replace only the first CSS class
- prevent anonymous access to WordPress site (non-admin site)
- make p tag collapsed after 3 rows
- WPBakery Page Builder Shortcode Showing On Front Page For Post
- Student access credentials
- How to direct wordpress traffic to specific page
- Scroll to ID broken in main menu
- Comment restrictions Wodpress
- Generate and send ICS file through WordPress
- Gutenberg editor in WordPress 5.0.3 /wp-json/wp/v2/pages/4713/autosaves?_locale=user 500 (Internal Server Error)
- WP Plugin permissions – create new files
- How to capture customer’s credit card details via PayPal on my checkout page?
- Add code to page template on page built with Visual Composer
- .htaccess file doesn’t work, with hundred tries
- plugin translation is not working
- ACF Repeater Field Question [closed]
- A more elegant way to handle notices/warnings
- To set a post is new/old in vertical scrolling
- How can i see/log all requests coming from a registration form (not from the UI)?
- How to remove ‘View Details’ page & updates from third-party plugin?
- First argument is expected to be a valid callback for cp_admin_init and _canonical_charset
- Get the url of attachments from the post?
- WordPress User Frontend Editing Custom Fields
- W3 Total Cache and IIS7 not doing much [closed]
- Mystery URL http://#/ Listed in XML Sitemap Created by WordPress SEO by Yoast Plugin
- SMS messaging twordpress plugin [closed]
- Looking for a home page carousel [closed]
- Sell “create a post”, paid account for post creation
- WordPress isn’t sending welcome email with the password reset
- WordPress Homepage Login
- How can I get the permalink of a page on which shortcode has been used
- Fatal Error in my WP “Call to undefined function get_option()”
- Issue using form in Google app in mobile
- No WP-Content Folder in Website Files, No Ability to Disable Plugins Manually