{"id":18231,"date":"2021-06-01T11:42:15","date_gmt":"2021-06-01T11:42:15","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=18231"},"modified":"2021-06-01T11:43:12","modified_gmt":"2021-06-01T11:43:12","slug":"how-to-add-current-year-in-amp-footer","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-add-current-year-in-amp-footer\/","title":{"rendered":"How to add current year in AMP Footer"},"content":{"rendered":"\n<p><strong>In this tutorial, we will show you how to add the current year in AMP Footer, and to add that follow the below instructions.<\/strong><\/p>\n\n\n\n<p>With the help of this shortcode &#8211; 2026 &#8211; you can add the current year in AMP Footer<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;php&quot;,&quot;mime&quot;:&quot;text\/x-php&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;PHP&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;php&quot;}\">2026<\/pre><\/div>\n\n\n\n<p>You will find this option in the\u00a0<strong>WordPress dashboard<\/strong>\u00a0->\u00a0<strong>AMP Option Panel -> Go to Settings -> Translation Panel<\/strong> -> In this<strong> Footer<\/strong> option you need to enter a shortcode like below the screenshot. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"395\" height=\"591\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/28.png\" alt=\"\" class=\"wp-image-18234\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/28.png 395w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/28-201x300.png 201w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/28-33x50.png 33w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/28-40x60.png 40w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/28-67x100.png 67w\" sizes=\"(max-width: 395px) 100vw, 395px\" \/><\/figure><\/div>\n\n\n\n<p>Scroll down little to see this option<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"842\" height=\"275\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/29.png\" alt=\"\" class=\"wp-image-18235\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/29.png 842w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/29-300x98.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/29-768x251.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/29-50x16.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/29-60x20.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/29-100x33.png 100w\" sizes=\"(max-width: 842px) 100vw, 842px\" \/><\/figure>\n\n\n\n<ul><li><strong>Footer: <\/strong>If you want to add the current year then use this shortcode 2026 and then click on the &#8220;<strong>Save Changes<\/strong>&#8221; button.<\/li><\/ul>\n\n\n\n<h4>The Output of the current year in AMP Footer<\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"477\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/30-1024x477.png\" alt=\"\" class=\"wp-image-18236\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/30-1024x477.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/30-300x140.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/30-768x357.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/30-50x23.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/30-60x28.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/30-100x47.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2021\/06\/30.png 1347w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.<\/p>\n\n\n\n<p><\/p>\n<div id=\"div-1\" class=\"hkb-feedback\">\n\t\t\t<strong class=\"ht-mobile-exit__title\">Ask your Questions Directly!<\/strong><br>\n\t\t\t<div class=\"hkb_widget_exit__content\" style=\"font-size: 14px;\">If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!<\/div>\n\t\t\t<a href=\"https:\/\/ampforwp.com\/support\/#contact\" id=\"button\" target=\"_blank\" rel=\"noopener noreferrer\"><button>Yes, I have a Question<\/button><\/a>\n\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will show you how to add the current year in AMP Footer, and to add that follow the below instructions. With the help of this shortcode &#8211; &#8211; you can add the current year in AMP Footer You will find this option in the\u00a0WordPress dashboard\u00a0->\u00a0AMP Option&#8230;<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[34],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/18231"}],"collection":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/comments?post=18231"}],"version-history":[{"count":3,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/18231\/revisions"}],"predecessor-version":[{"id":18237,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/18231\/revisions\/18237"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=18231"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=18231"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=18231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}