{"id":25817,"date":"2012-11-19T06:38:14","date_gmt":"2012-11-19T11:38:14","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=25817"},"modified":"2016-04-12T06:28:08","modified_gmt":"2016-04-12T10:28:08","slug":"wordpress-how-to-change-defaultlanding-page","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-how-to-change-defaultlanding-page.html","title":{"rendered":"WordPress. How to change default\/landing page"},"content":{"rendered":"<p>\r\n<\/p>\r\n<p>This tutorial will show you how to change splash page in  WordPress template. <\/p>\r\n<p>A splash page, also known as a static page, is the first page you see when visiting a website.<\/p>\r\n<p>Let us see how to change it. <\/p>\r\n<p>1.  Access your server and reach the following folder:  <\/p>\r\n<p><strong>wp-content\/themes\/themexxxx\/js<\/strong><\/p>\r\n<p>2. Open <strong>&#8216;main.js&#8217;<\/strong> file in any php\/text editor.<\/p>\r\n<p>3. Locate the &#8216;startPage&#8217; variable, it should look like this (the splash page slug may differ depending on template):<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/11\/main_js.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/11\/main_js-300x73.png\" alt=\"\" title=\"main_js\" width=\"300\" height=\"73\" class=\"alignnone size-medium wp-image-25818\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/11\/main_js-300x73.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/11\/main_js-150x36.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/11\/main_js.png 880w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<pre class=\"brush:js\">startPage:&quot;#!\/parties&quot;,<\/pre>\r\n<p>4. Put your own page slug instead of &#8216;parties&#8217;, f.e:<\/p>\r\n<pre class=\"brush:js\">startPage:&quot;#!\/gallery&quot;,<\/pre>\r\n<p>5.  Save the changes.<\/p>\r\n<p>Splash page was successfully changed. Let us know if you have any questions.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"\/help\/files\/wordpress\/change_splash_page_in_wp _JS_template.htm\" target=\"blank\">WordPress. How to change default splash page<\/a><\/p>\r\n<\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to change splash page in  WordPress template. <\/p>\n","protected":false},"author":37,"featured_media":25821,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[1183,1117,572,1408,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/25817"}],"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\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=25817"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/25817\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/25821"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=25817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=25817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=25817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}