Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

RSS Feed Manipulation

Featured Replies

Basically I am writing on other blogs at the minute and I want to create a post on my site that just links to the original post on the second site (rather than my own permalink). This bit is easy as I am just using a custom field to change the permalink of the post to that of the second site.

 

Now the issue comes that the RSS feed would only be linking to the post on my site.

 

So, is there a way that I can manipulate the WordPress feed creation to change the link to be that of the second site also using the custom field?

 

Looking through the codex and searching online I have a few ideas of being able to add filters into the functions files perhaps or use template tags but many of the ones that I would use are deprecated.

 

Any help is welcome

  • Author

sorry probably made a right pigs ear of explaining this as my head is awash with different scenarios or way it could in theory be done.

 

I use Feedburner, but that just uses the RSS feed. In the RSS feed rather than my blog I would want to show the external link (the custom field) not the one generated on the site as this would be noindexed and 301'd to the external post as well as being ignored by any sitemap.

 

Anyone got any ideas?

You can customise the WordPress feed by copying the appropriate feed template in wp-includes and using the load_template() function to include the modified version in a plugin (preferably) or in a theme. There is some more information about customising feeds here https://codex.wordpress.org/Customizing_Feeds

 

You could also probably use one of these hooks https://codex.wordpress.org/Plugin_API/Action_Reference#Feed_Actions to modify the feed.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.