{"id":607,"date":"2019-01-09T18:19:10","date_gmt":"2019-01-09T18:19:10","guid":{"rendered":"https:\/\/wpgeodirectory.com\/docs-v2\/?post_type=docs&#038;p=607"},"modified":"2019-01-09T18:19:10","modified_gmt":"2019-01-09T18:19:10","slug":"front","status":"publish","type":"docs","link":"https:\/\/wpgeodirectory.com\/docs-v2\/geodirectory\/getting-started\/front\/","title":{"rendered":"Setup a Front Page"},"content":{"rendered":"<h3><a name=\"front\" href=\"#front\">Creating a Front Page<\/a><\/h3>\n<p><strong>NOTE\/WARNING: DO NOT set the WP Front Page to the GeoDirectory V2 Location page or Search page. Doing so will break search and other GeoDirectory functionality.<\/strong><\/p>\n<p>Every site needs a Front page, but GeoDirectory V2 does not provide a home page. <\/p>\n<p>Here is what most people do to create a new Front page.<\/p>\n<p>First, create a new WP page<\/p>\n<p><em><strong><\/p>\n<blockquote><p>WordPress &#8211; Pages &#8211; Add New<\/p><\/blockquote>\n<p><\/strong><\/em><\/p>\n<p>Call the page &#8220;My New Home Page&#8221; and then Publish it.<\/p>\n<p>Now set the new page as your site Front Page at:<\/p>\n<p><em><strong><\/p>\n<blockquote><p>WordPress &#8211; Settings &#8211; Reading &#8211; Your Homepage displays &#8211; A Static Page &#8211; Now choose the page you just created.<\/p><\/blockquote>\n<p><\/strong><\/em><\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/12\/setup-reading-menu.jpg\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/12\/setup-reading-menu.jpg\" alt=\"\" width=\"150\" class=\"alignnone size-full wp-image-529\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/12\/setup-reading-menu.jpg 315w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/12\/setup-reading-menu-300x247.jpg 300w\" sizes=\"(max-width: 315px) 100vw, 315px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/12\/setup-reading-settings.jpg\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/12\/setup-reading-settings-1024x462.jpg\" alt=\"\" width=\"400\" class=\"alignnone size-large wp-image-530\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/12\/setup-reading-settings-1024x462.jpg 1024w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/12\/setup-reading-settings-300x135.jpg 300w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/12\/setup-reading-settings-768x347.jpg 768w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/12\/setup-reading-settings.jpg 1046w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a> <\/p>\n<p>Now you can do anything you like with your new home page, but here are some shortcodes you can copy and paste there to display some GeoDirectory content. <\/p>\n<pre><code class='css'>\r\n[gd_map width=&quot;100%&quot; height=&quot;425px&quot; maptype=&quot;ROADMAP&quot; zoom=&quot;0&quot; map_type=&quot;auto&quot; post_settings=&quot;1&quot;]\r\n[gd_categories title=&quot;Popular Categories&quot; title_tag=&quot;h3&quot; post_type=&quot;0&quot; hide_empty=&quot;1&quot; sort_by=&quot;az&quot; max_level=&quot;1&quot; max_count=&quot;all&quot; max_count_child=&quot;0&quot;]\r\n[gd_listings title=&quot;Featured Places&quot; post_type=&quot;gd_place&quot; sort_by=&quot;az&quot; title_tag=&quot;h3&quot; layout=&quot;gridview_onefifth&quot; post_limit=&quot;5&quot; show_featured_only=&quot;1&quot;]\r\n[gd_listings title=&quot;Popular Places&quot; post_type=&quot;gd_place&quot; sort_by=&quot;az&quot; title_tag=&quot;h3&quot; layout=&quot;gridview_onefifth&quot; post_limit=&quot;15&quot;]\r\n<\/code><\/pre>\n<p>To add more yourself, open up your new home page and use the <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/geodirectory\/shortcode-builder\/\">shortcode builder<\/a> or the <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/integrations\/gutenberg\/\">GD Blocks<\/a> to add more <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/geodirectory\/design-elements\/\">GeoDirectory Design Elements<\/a>.<\/p>\n","protected":false},"featured_media":0,"parent":460,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/607"}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/comments?post=607"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/607\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/460"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/media?parent=607"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/doc_tag?post=607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}