Where do I add my RSS feed into WordPress -


I have a feed burner code to insert in WordPress, but it is not known where to put it in WordPress.

Put yourself in the following file: wp-include / general-template.php < / Code>

  function feed_link ($ args) {// - endurance of the function}  

Note the two (2) rows just before the end of the function:

  echo & lt; Link rel = "alternate" type = "'.' 'Title ="' Esc_attr (sprintf ($ args ['feedtitle'], get_bloginfo ('name'), $ args ['separator']).). ' 'Href =' '. Get_feed_link). "\" / & Gt; \ N "; echo" & lt; link rel = "alternate" type = "'. Feed_content_type () '' Title = "'. Esc_attr (sprintf ($ args [' comstitle '], get_bloginfo (' name '), $ args [' separator '])).' '' Href = ''. Get_feed_link ('comments_'. Get_default_feed ()). "\" / "; \ N";  

Edit the first line with your FeedBurner URL, such as (for clarity the lines are broken and to prevent you from scrolling like code block above):

  echo '& lt; Link rel = "alternate" type = "'. Feed_content_type ().' 'Title ="'. Esc_attr (sprintf ($ args ['feedtitle'], get_bloginfo ('name'), $ args ['separator'])). '' Href = "http://feeds.feedburner.com/example" '/'; & gt; \ n ";  

Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -