homepage – Display another page / custom post type as home page

Question

I want to display a custom post type page as my home page.

I have a site that I manage with lots of events that are custom post types. The company needed the site cloned as one of the events being spun out as as separate brand.

Currently I am displaying the event page in full width iFrame on the home page, which takes longer to load and has introduced other problems and is not great for SEO.

So the original site is like this

Home page
About
   Event 1 [custom post type]
       Event 1 child page [custom post type]
       Event 1 child page [custom post type]
   Event 2 [custom post type].....

So the new site is copy but with just one event and no other pages, the event home page needs to be the site home page.

Home page [i frame displaying event page]
   Event [custom post type]
       Event child page [custom post type]
       Event child page [custom post type]

Is there a way to override the Post ID and make a page display another page’s content and ignore its own?

0
lomokev 6 months 2021-06-07T04:09:46-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse