"use strict";(globalThis.webpackChunkwp_seopress_pro=globalThis.webpackChunkwp_seopress_pro||[]).push([[603],{603:(e,s,t)=>{t.r(s),t.d(s,{default:()=>_});var l=t(609),r=t(723),o=t(427);const{FieldRow:a,TextareaField:p,ToggleField:n}=window.seopressComponents,_=()=>{const{settings:e,updateSetting:s}=window.seopressUseSettings(),t=((window.SEOPRESS_PRO_DATA||{}).SITE_URL||"")+"/feed";return(0,l.createElement)("div",{className:"seopress-tab-content"},(0,l.createElement)("p",null,(0,r.__)("Configure WordPress default feeds.","wp-seopress-pro")),(0,l.createElement)("p",null,(0,l.createElement)(o.Button,{variant:"secondary",href:t,target:"_blank",rel:"noopener noreferrer"},(0,r.__)("View my RSS feed","wp-seopress-pro")," ",(0,l.createElement)("span",{className:"dashicons dashicons-external"}))),(0,l.createElement)(a,{id:"seopress_rss_before_html",label:(0,r.__)("Display content before each post","wp-seopress-pro")},(0,l.createElement)(p,{value:e.seopress_rss_before_html||"",onChange:e=>s("seopress_rss_before_html",e),placeholder:(0,r.__)("Enter your HTML content","wp-seopress-pro"),help:(0,l.createElement)(l.Fragment,null,(0,r.__)("HTML tags allowed: strong, em, br, a href","wp-seopress-pro"),(0,l.createElement)("br",null),(0,r.__)("Dynamic variables: %%sitetitle%%, %%tagline%%, %%post_author%%, %%post_permalink%%, %%post_title%%","wp-seopress-pro"))})),(0,l.createElement)(a,{id:"seopress_rss_after_html",label:(0,r.__)("Display content after each post","wp-seopress-pro")},(0,l.createElement)(p,{value:e.seopress_rss_after_html||"",onChange:e=>s("seopress_rss_after_html",e),placeholder:(0,r.__)("Enter your HTML content","wp-seopress-pro"),help:(0,l.createElement)(l.Fragment,null,(0,r.__)("HTML tags allowed: strong, em, br, a href","wp-seopress-pro"),(0,l.createElement)("br",null),(0,r.__)("Dynamic variables: %%sitetitle%%, %%tagline%%, %%post_author%%, %%post_permalink%%, %%post_title%%","wp-seopress-pro"))})),(0,l.createElement)(a,{id:"seopress_rss_post_thumbnail",label:(0,r.__)("Add post thumbnail","wp-seopress-pro")},(0,l.createElement)(n,{label:(0,r.__)("Display post thumbnail for each post if available","wp-seopress-pro"),checked:e.seopress_rss_post_thumbnail,onChange:e=>s("seopress_rss_post_thumbnail",e),help:(0,l.createElement)("code",null,'<media:content medium="image" url="https://example.com/my-post-thumbnail.jpg" width="300" height="300" />')})),(0,l.createElement)(a,{id:"seopress_rss_disable_comments_feed",label:(0,r.__)("Disable comments RSS feed","wp-seopress-pro")},(0,l.createElement)(n,{label:(0,r.__)("Remove feed link in source code","wp-seopress-pro"),checked:e.seopress_rss_disable_comments_feed,onChange:e=>s("seopress_rss_disable_comments_feed",e),help:(0,l.createElement)("code",null,'<link rel="alternate" type="application/rss+xml" title="Site title Comments Feed" href="https://example.com/comments/feed/" />')})),(0,l.createElement)(a,{id:"seopress_rss_disable_posts_feed",label:(0,r.__)("Disable posts RSS feed","wp-seopress-pro")},(0,l.createElement)(n,{label:(0,r.__)("Remove feed link in source code (default WordPress RSS feed)","wp-seopress-pro"),checked:e.seopress_rss_disable_posts_feed,onChange:e=>s("seopress_rss_disable_posts_feed",e),help:(0,l.createElement)("code",null,'<link rel="alternate" type="application/rss+xml" title="Site title Feed" href="https://example.com/feed/" />')})),(0,l.createElement)(a,{id:"seopress_rss_disable_extra_feed",label:(0,r.__)("Disable extra RSS feed","wp-seopress-pro")},(0,l.createElement)(n,{label:(0,r.__)("Remove feed link in source code (author, categories, custom taxonomies, custom post type, comments feed for a single post...)","wp-seopress-pro"),checked:e.seopress_rss_disable_extra_feed,onChange:e=>s("seopress_rss_disable_extra_feed",e),help:(0,l.createElement)("code",null,'<link rel="alternate" type="application/rss+xml" title="Site title - My post title - Comments Feed" href="https://example.com/my-post-slug/feed/" />')})),(0,l.createElement)(a,{id:"seopress_rss_disable_all_feeds",label:(0,r.__)("Disable all RSS feeds","wp-seopress-pro")},(0,l.createElement)(n,{label:(0,r.__)("Disable all WordPress RSS feeds (all feeds will no longer be accessible and will be redirected to the homepage)","wp-seopress-pro"),checked:e.seopress_rss_disable_all_feeds,onChange:e=>s("seopress_rss_disable_all_feeds",e)})))}}}]);