Remove default RSS feed link and add custom feed


I removed all default RSS links(<link> tags) from head, then I created new feed template. URL for new feed is like

Now I want to add new <link> tag in the head section.

<link rel="alternate" type="application/rss+xml" title="My Site &raquo; My custom feed" href="">

Is there any function that puts link tag in the head section or do I have to add it manually using hook like wp_head?

, norixxx 4 years 2020-03-25T04:50:56-05:00 0 Answers 121 views 0

Leave an answer