Skip to content

Conversation

@dhruvikpatel18
Copy link
Contributor

Closes #52202

What?

This PR adds a checkbox option "Link to the RSS feed of this site" when adding an RSS social icon, which automatically appends "/feed/" to the URL.

Why?

When users add an RSS icon to their Social Icons block, they often need to manually enter the default WordPress feed URL ("/feed/"). Since this is the standard WordPress RSS feed path, providing an automatic option improves the user experience.

Testing Instructions

  1. Add a Social Icons block to a post or page
  2. Add an RSS icon to the Social Icons block
  3. Click on the RSS icon to open the URL popover
  4. Notice the new checkbox "Link to the RSS feed of this site"
  5. Enter a URL (e.g., "https://example.com/")
  6. Check the checkbox and observe that "/feed/" is appended to the URL
  7. Uncheck the checkbox and observe that "/feed/" is removed from the URL
  8. Enter a URL that ends with "/feed/" manually and observe that the checkbox is automatically checked

Screenshots or screencast

RSS.feed.url.mov

@dhruvikpatel18 dhruvikpatel18 marked this pull request as ready for review April 4, 2025 12:41
@github-actions
Copy link

github-actions bot commented Apr 4, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: dhruvikpatel18 <dhruvik18@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: hanneslsm <hanneslsm@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@t-hamano t-hamano added [Block] Social Affects the Social Block - used to display Social Media accounts [Type] Enhancement A suggestion for improvement. labels Apr 5, 2025
@Mamaduka
Copy link
Member

Mamaduka commented Apr 7, 2025

Thanks for contributing, @dhruvikpatel18!

Closing this as "maybelater"; please see the issue for the related discussion.

@Mamaduka Mamaduka closed this Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Social Affects the Social Block - used to display Social Media accounts [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Social Icons: Add automatically RSS feed link

3 participants