{"id":19092,"date":"2012-05-30T05:23:49","date_gmt":"2012-05-30T09:23:49","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=19092"},"modified":"2013-05-23T09:09:53","modified_gmt":"2013-05-23T13:09:53","slug":"how-to-edit-the-under-construction-page","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/how-to-edit-the-under-construction-page.html","title":{"rendered":"How to edit the &#8220;Under construction&#8221; page"},"content":{"rendered":"<p>This tutorial is going to  show you  how to work on the &ldquo;<strong>Under Construction<\/strong>&rdquo; page of your template.<\/p>\r\n\r\n<p>The content of the page can  be  changed in the under.constrcution.html file located in your site_pro folder. On this page there is a ready-made counter.  If we need to change the default time left, add a message and put a redirect to  another url or page: <\/p>\r\n\r\n<ol>\r\n  <li>Go to  the <strong>&ldquo;\\site_pro\\site_pro\\js&rdquo;<\/strong>  folder of your template package and open a  file called <em><strong>countdown.js<\/strong><\/em> in your favorite code editor (e.g. Dreamweaver).<\/li>\r\n  <li>Scroll down to the very end of the  document and change the date in format: &quot;dd:hh:mm:ss&quot; where it says <\/li>\r\n  <pre class=\"brush:js\">$(function(){$('#counter').countdown({image:  'images\/digits.png',startTime: '<strong>09:23:00:00'<\/strong>});});<\/pre>\r\n  <li>To add a certain message and a redirect when your  counter has successfully finished its processing,  scroll up till you see a set of the extended options like:<\/li>\r\n<\/ol>\r\n\r\n<pre class=\"brush:php\"> \/\/ Default options\r\n  var options = {\r\n  stepTime: 60,\r\n  \/\/ startTime and format MUST follow the same  format.\r\n  \/\/ also you cannot specify a format  unordered (e.g. hh:ss:mm is wrong)\r\n  format: &quot;dd:hh:mm:ss&quot;,\r\n  startTime: &quot;01:12:32:55&quot;,\r\n  digitImages: 6,\r\n  digitWidth: 53,\r\n  digitHeight: 77,\r\n  timerEnd: function(){},\r\n  image: &quot;digits.png&quot;\r\n  };\r\n  var digits = [], interval;<\/pre>\r\n\r\n<p>and modify <strong>timerEnd:  function(){},<\/strong> to make it look like  timerEnd: function(){ alert (&#8216;<strong>We are opened!<\/strong>&#8216;); window.location=&#8217;<strong>index.html<\/strong>&#8216;; },\r\nwhere &#8216;We are opened! Stand  for the welcome message and &#8216;index.html&#8217; is the url of  your site.\r\n\r\nSave the changes and preview them on your site.<\/p>\r\n\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n\r\n<a href=\"\/help\/files\/js-animated\/under_construction_page_editing.htm\" target=\"blank\">How to edit the &#8220;Under construction&#8221; page<\/a>","protected":false},"excerpt":{"rendered":"<p>This tutorial is going to  show you  how to work on the &ldquo;<strong>Under Construction<\/strong>&rdquo; page of your template.<\/p>\n","protected":false},"author":30,"featured_media":19098,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1016,432],"tags":[1272,1048,572,1271],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/19092"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=19092"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/19092\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/19098"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=19092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=19092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=19092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}