<settings module="basic_sitemaps">
  <section name="general">
    <option type="status" name="dpc_status_basic_sitemaps" module="basic_sitemaps" title="{@text:Sitemaps}" description-intro="{@text:Sitemaps are construction plans of your site and make it easier for search engines to index it. Submit them in the Google Search Console and other webmaster tools.}" helplink-de="https://delucks.com/wordpress-seo-plugin/optimierung-anleitung/sitemaps/" helplink-en="https://delucks.com/en/wordpress-seo-plugin/optimization-tips-tutorial/sitemaps/">
      <value label="{@text:Activated}" class="btn btn-success" value="1" addToDom="class,value"/>
      <value label="{@text:Deactivated}" class="btn btn-warning" addToDom="class,value,data-target" toggle="posttypes"/>
    </option>

    <option type="section" section="defaultSitemap section-toggable five-margin" />
    <option type="section" section="defaultToggle five-margin" />
    <option type="section" section="imageSitemap five-margin" />
    <option type="section" section="videoSitemap five-margin" />
    <option type="section" section="videoToggle five-margin" />
    <option type="section" section="googleNewsSitemap section-toggable five-margin" />
    <option type="section" section="customSitemap section-toggable five-margin" />
    <option type="section" section="googleToggle five-margin" />
    <option type="section" section="advancedSettings five-margin" />
    <option type="section" section="indexNow five-margin" />
  </section>

  <section name="advancedSettings five-margin">
    <option type="wrapper" width="12" hide="true" displayElement="googlenews][status" displayValue="on">
      <option type="hinweis" text="{@text:You can apply your website for Google News at the end of the following link, if it fulfils the there mentioned requirements}:" link="https://support.google.com/news/publisher/answer/40787?hl=en#ts=3179198" link-text="https://support.google.com/news/publisher/answer/40787?hl=en#ts=3179198" text-after-link=" {@text:Please note that your permalinks must meet the required structure for Google News: Every post needs a three-digit number in the URL. We recommend to use a combination of category and date for the permalink Custom Structure, with all the important keywords to appear as early as possible (category post name before date): /% category% /% postname% _% year% -% monthnum % -% day%}"/>
    </option>
  </section>

  <section name="defaultSitemap section-toggable five-margin">
    <option type="wrapper" width="1" class="col-sm-1 col-xs-1">
      <option type="checkbox" id="activeDefault" name="default][status" label="" class="icheckbox_square-green form-control" color="green" value="on" addToDom="class" />
    </option>
    <option type="wrapper" width="3" class="col-sm-3 col-xs-3">
      <option type="paragraph" text="{@text:Standard sitemap}" />
    </option>
    <option type="wrapper" width="3" class="col-sm-3 col-xs-3">
      <option type="link" link="/sitemap.xml" text="/sitemap.xml" target="_blank" addToDom="target" />
    </option>
    <option type="wrapper" width="4" class="col-sm-4 col-xs-4">
      <!-- option type="button" id="dpc-basic-sitemap-button-default-google" class="btn btn-sitemap btn-google space-right-20" label="Google" addToDom="class,id"/ -->
      <!-- option type="button" id="dpc-basic-sitemap-button-default-bing" class="btn btn-sitemap btn-bing" label="Bing" addToDom="class,id"/ -->
    </option>
    <option type="wrapper" width="1" class="col-sm-1 col-xs-1" data-expert_mode="true" addToDom="data-expert_mode">
      <option type="toggleButton" class="toggle-button btn btn-link black" data-toggle="defaultToggle" addToDom="class,data-toggle"/>
    </option>
  </section>
  <section name="defaultToggle five-margin" hide="true">
    <option type="each" source="@function:getCustomPostTypes" namespace="type" sourceParams="attachment,revision,nav_menu_item,product_variation,shop_order,shop_coupon">
      <option type="wrapper" width="1" class="col-sm-1 col-xs-1"></option>
      <option type="wrapper" width="3" class="col-sm-4 col-xs-12">
        <option type="checkbox" id="cpt_{@ns:type|name}" name="default][cpt][{@ns:type|name}][status" label="{@ns:type|label}" ul-class="space-bottom" class="icheckbox_square-blue form-control" addToDom="value,placeholder,class" />
      </option>
      <option type="wrapper" width="2" class="col-sm-3 col-xs-12">
        <option type="select" name="default][cpt][{@ns:type|name}][priority" label="{@text:Priority}" class="form-control" addToDom="class">
          <value label="0.1" value="0.1" />
          <value label="0.2" value="0.2" />
          <value label="0.3" value="0.3" />
          <value label="0.3" value="0.3" />
          <value label="0.4" value="0.4" />
          <value label="0.5" value="0.5" />
          <value label="0.6" value="0.6" />
          <value label="0.7" value="0.7" />
          <value label="0.8" value="0.8" />
          <value label="0.9" value="0.9" />
          <value label="1.0" value="1.0" />
        </option>
      </option>
      <option type="wrapper" width="3" class="col-sm-4 col-xs-12">
        <option type="select" name="default][cpt][{@ns:type|name}][frequence" label="{@text:Frequency}" class="form-control" addToDom="class">
          <value label="{@text:daily}" value="daily" />
          <value label="{@text:weekly}" value="weekly" />
          <value label="{@text:monthly}" value="monthly" />
          <value label="{@text:yearly}" value="yearly" />
        </option>
      </option>
      <option type="nextRow" />
    </option>
  </section>
  <section name="imageSitemap five-margin">
    <option type="wrapper" width="1" class="col-sm-1 col-xs-1">
      <option type="checkbox" id="activeImage" name="images][status" label="" class="icheckbox_square-green form-control" color="green" value="on" addToDom="class" />
    </option>
    <option type="wrapper" width="3" class="col-sm-3 col-xs-3">
      <option type="paragraph" text="{@text:Image sitemap}" />
    </option>
    <option type="wrapper" width="3" class="col-sm-3 col-xs-3">
      <option type="link" link="/image-sitemap.xml" text="/image-sitemap.xml" target="_blank" addToDom="target" />
    </option>
    <option type="wrapper" width="5" class="col-sm-5 col-xs-5">
      <!-- option type="button" id="dpc-basic-sitemap-button-image-google" class="btn btn-sitemap btn-google space-right-20" label="Google" addToDom="class,id"/ -->
      <!-- option type="button" id="dpc-basic-sitemap-button-image-bing" class="btn btn-sitemap btn-bing" label="Bing" addToDom="class,id"/ -->
    </option>
  </section>
  <section name="videoSitemap five-margin">
    <option type="wrapper" width="1" class="col-sm-1 col-xs-1">
      <option type="checkbox" id="activeVideo" name="videos][status" label="" class="icheckbox_square-green form-control" color="green" value="on" addToDom="class" />
    </option>
    <option type="wrapper" width="3" class="col-sm-3 col-xs-3">
      <option type="paragraph" text="{@text:Video sitemap}" />
    </option>
    <option type="wrapper" width="3" class="col-sm-3 col-xs-3">
      <option type="link" link="/video-sitemap.xml" text="/video-sitemap.xml" target="_blank" addToDom="target" />
    </option>
    <option type="wrapper" width="5" class="col-sm-5 col-xs-5">
      <!-- option type="button" id="dpc-basic-sitemap-button-video-google" class="btn btn-sitemap btn-google space-right-20" label="Google" addToDom="class,id"/ -->
      <!-- option type="button" id="dpc-basic-sitemap-button-video-bing" class="btn btn-sitemap btn-bing" label="Bing" addToDom="class,id"/ -->
    </option>
  </section>
  <section name="googleNewsSitemap section-toggable five-margin">
    <option type="wrapper" width="1" class="col-sm-1 col-xs-1">
      <option type="checkbox" id="activeGoogle" name="googlenews][status" label="" class="icheckbox_square-green form-control" color="green" value="on" addToDom="class" />
    </option>
    <option type="wrapper" width="3" class="col-sm-3 col-xs-3">
      <option type="paragraph" text="{@text:Google news sitemap}" />
    </option>
    <option type="wrapper" width="3" class="col-sm-3 col-xs-3">
      <option type="link" link="/news-sitemap.xml" text="/news-sitemap.xml" target="_blank" addToDom="target" />
    </option>
    <option type="wrapper" width="4" class="col-sm-4 col-xs-4">
      <!-- option type="button" id="dpc-basic-sitemap-button-news-google" class="btn btn-sitemap btn-google space-right-20" label="Google" addToDom="class,id"/ -->
    </option>
    <option type="wrapper" width="1" class="col-sm-1 col-xs-1" data-expert_mode="true" addToDom="data-expert_mode">
      <option type="toggleButton" class="toggle-button btn btn-link black" data-toggle="googleToggle" addToDom="class,data-toggle"/>
    </option>
  </section>
  <section name="customSitemap section-toggable five-margin">
    <option type="wrapper" width="1" class="col-sm-1 col-xs-1">
      <option type="checkbox" id="activeCustom" name="custom][status" label="" class="icheckbox_square-green form-control" color="green" value="on" addToDom="class" />
    </option>
    <option type="wrapper" width="3" class="col-sm-3 col-xs-3">
      <option type="paragraph" text="{@text:Custom URL}" />
    </option>
    <option type="wrapper" width="3" class="col-sm-3 col-xs-3">
      <option type="text" name="custom][url" label="{@text:Podcast / RSS Feed}" class="form-control" addToDom="class" />
    </option>
    <option type="wrapper" width="4" class="col-sm-4 col-xs-4"></option>
    <option type="wrapper" width="1" class="col-sm-1 col-xs-1" data-expert_mode="true" addToDom="data-expert_mode"></option>
  </section>


  <section name="googleToggle five-margin" hide="true">
    <option type="wrapper" width="1" class="col-sm-1 col-xs-1"></option>
    <option type="wrapper" width="4">
      <option type="text" name="googlenews][name" placeholder="News" label="{@text:Publication name}" class="form-control" addToDom="placeholder,class" />
    </option>
    <option type="wrapper" width="7">
      <option type="link" target="_blank" link="https://support.google.com/news/publisher/contact/suggest_content_website" icon-class="fa fa-arrow-right" class="widget-area" text="{@text:Join Google News}" style="padding: 0px; border-left: none;" addToDom="target,style"/>
    </option>
    <option type="each" source="@function:getPostCategories" namespace="type">
      <option type="wrapper" width="1" class="col-sm-1 col-xs-1"></option>
      <option type="wrapper" width="3" class="col-sm-3 col-xs-12">
        <option type="checkbox" id="cpt_{@ns:type|uniqid}" name="googlenews][category][{@ns:type|name}][status" label="{@ns:type|label}" ul-class="space-bottom" class="icheckbox_square-blue form-control" addToDom="class" />
      </option>
      <option type="wrapper" width="4" class="col-sm-5 col-xs-12">
        <option type="select" name="googlenews][category][{@ns:type|name}][access" label="{@text:Restrict access to}" class="form-control" tooltip-placement="bottom" addToDom="class">
          <value label="{@text:public}" value="public" />
          <value label="{@text:registered}" value="Registration" />
          <value label="{@text:subscription}" value="Subscription" />
        </option>
      </option>
      <option type="wrapper" width="4" class="col-sm-2 col-xs-12">
        <option type="select" name="googlenews][category][{@ns:type|name}][genre" label="{@text:Genre}" class="form-control" tooltip-placement="bottom" multiple="multiple" addToDom="class,multiple">
          <value label="{@text:Genre}" value="PressRelease" />
          <value label="{@text:Satire}" value="Satire" />
          <value label="{@text:Blog}" value="Blog" />
          <value label="{@text:Opinion}" value="Opinion" />
          <value label="{@text:User generated}" value="UserGenerated" />
        </option>
      </option>
      <option type="htmlelement" element="clear" />
    </option>
    <option type="wrapper" width="1" class="col-sm-1 col-xs-1"></option>
    <option type="wrapper" width="4">
      <option type="select" name="googlenews][image_type" label="{@text:Use as preview image}" class="form-control" tooltip-placement="bottom" addToDom="class">
        <value label="{@text:Post image}" value="post" />
        <value label="{@text:embedded images}" value="content" />
      </option>
    </option>
    <option type="wrapper" width="7" />
  </section>

  <section name="_DIST_manager" skipWrapper="true">
    <option type="var" key="object_id" value="@function:getObejctId" />
    <option type="var" key="keyword" value="@function:getPostData" params="{@var:object_id}|dpc_keyword|true" />
    <option type="var" key="title" value="@function:getPostData" params="{@var:object_id}|post_title" />
    <option type="var" key="description" value="@function:getPostData" params="{@var:object_id}|dpc-textopt-description|true" />
    <option type="wrapper" width="6" class="">
      <option type="postAction" module="basic_metadata" action="managerUpdate" />
      <option type="hidden" name="object_id" value="{@var:object_id}" />
      <option type="checkbox" id="addToSitemap" name="addToSitemap" label="{@text:Add to Sitemap}" class="icheckbox_square-blue form-control" addToDom="value,placeholder,class" />
      <option type="wrapper" width="12" class="no-padding no-margin" hide="true" displayElement="addToSitemap" displayValue="on">
        <option type="wrapper" width="6" class="no-padding no-margin">
          <option type="select" name="priority" label="{@text:Prio.}" class="form-control" addToDom="class" >
          <value label="0.1" value="0.1" />
          <value label="0.2" value="0.2" />
          <value label="0.3" value="0.3" />
          <value label="0.3" value="0.3" />
          <value label="0.4" value="0.4" />
          <value label="0.5" value="0.5" />
          <value label="0.6" value="0.6" />
          <value label="0.7" value="0.7" />
          <value label="0.8" value="0.8" />
          <value label="0.9" value="0.9" />
          <value label="1.0" value="1.0" />
          </option>
        </option>
        <option type="wrapper" width="6" class="no-padding no-margin">
          <option type="select" name="frequency" label="{@text:Freq.}" class="form-control" addToDom="class" >
            <value label="{@text:daily}" value="daily" />
            <value label="{@text:weekly}" value="weekly" />
            <value label="{@text:monthly}" value="monthly" />
            <value label="{@text:yearly}" value="yearly" />
          </option>
        </option>
      </option>
      <option type="checkbox" id="doIndex" name="doIndex" label="{@text:Do index}" class="icheckbox_square-blue form-control" addToDom="value,placeholder,class" />
    </option>
  </section>

  <!-- IndexNow Feature  -->
  <section name="indexNow five-margin">
    <option type="wrapper" width="1" class="col-sm-1 col-xs-1">
      <option type="checkbox" id="activeIndexNow" name="indexNow][status" label="" class="icheckbox_square-green form-control" color="green" value="on" addToDom="class" />
    </option>
    <option type="wrapper" width="3" class="col-sm-3 col-xs-3">
      <option type="paragraph" text="{@text:Index Now}" />
    </option>
    <option type="wrapper" width="3" class="col-sm-3 col-xs-3">
      <option type="text" name="indexNow][apiKey" label="{@text:API Key}" class="form-control" addToDom="class" />
    </option>
    <option type="wrapper" width="3" class="col-sm-4 col-xs-12">
      <option type="link" link="https://www.bing.com/indexnow/getstarted#implementation" text="{@text:Generate the IndexNow API Key}" class="form-group" target="_blank" addToDom="target,class"/>
    </option>
  </section>

  <section name="indexNowToggle five-margin" hide="true">
    <option type="wrapper" width="1" class="col-sm-1 col-xs-1"></option>
    <option type="wrapper" width="11">
      <option type="paragraph" text="{@text:Submit your URLs directly to search engines using the Index Now protocol. Make sure your API Key is correct and the endpoint is properly configured.}" />
    </option>
  </section>


  <defaults>
    <var name="default][status" value="on" />
    <var name="default][cpt][post][status" value="on" />
    <var name="default][cpt][post][priority" value="0.6" />
    <var name="default][cpt][post][frequence" value="weekly" />
    <var name="default][cpt][page][status" value="on" />
    <var name="default][cpt][page][priority" value="1.0" />
    <var name="default][cpt][page][frequence" value="monthly" />
    <var name="googlenews][image_type" value="post" />
    <var name="split" value="1000" />
  </defaults>
</settings>
