Site icon Hip-Hop Website Design and Development

How do you employ a CPT because the default residence web page?

I’ve a consumer who’s website will probably be making heavy use of customized submit varieties to configure their website. However I am between a rock and a tough place for his or her requested residence web page.

In actuality, the house web page will probably be a stack of particular “pages” inside WordPress. Mainly, there will probably be pages for: Intro, Weblog, About Us, Portfolio, and Contact Us. They will all be stacked on high of each other so you possibly can scroll from one web page to a different.

My first intuition was to simply use a web page (referred to as Residence) and embed a shortcode that accepts web page slugs and outputs the correct order (i.e. [pageOrder]intro, weblog, about-us, portfolio, contact-us[/pageOrder]). The web page would use a customized web page template to put issues out, management the loop, and add navigation to the left aspect of the web page. However that every one appears klunky.

My supreme answer can be to create a customized submit sort (referred to as Stack) that enables the tip consumer to place the pages with drag-drop and have the CPT maintain format and navigation and such.

The issue with my supreme answer is settings. WordPress permits you to choose a web page for the default residence web page of the positioning. But it surely’s tied to a submit sort of web page, and I am unsure the place to hook in to switch that in order that customers might additionally choose a Stack because the default residence web page.

So, the place do I hook in to with the intention to add a CPT to the dropdown of accessible pages for the default residence web page?