Friday, October 7, 2022
HomeWordPress Developmentcustomized put up varieties - Can I add a wordpress web page...

customized put up varieties – Can I add a wordpress web page utilizing the slug for a CPT rewrite


I’ve a customized put up kind rt_services. I’ve rewritten the slug to simply companies. I am not utilizing an archive so I created a web page at /companies and added code for a customized wp_query to name my customized posts. From there customers can click on to totally different companies.

Ex Construction.

/companies – is a web page (not set as an archive) with customized WP_Query

/companies/first-service

/companies/another-service

That is all working correctly.

I hoped to have the ability to create a 2nd WordPress web page in regards to the packages (not CPT) referred to as recommendation and place it below the companies guardian web page. I do not need it to point out in any of the queries or loops for companies which is why I do not need it to be an precise service CPT. Nevertheless its URL construction can be:

/companies/service-advice

I haven’t got a CPT referred to as Service Recommendation (service-advice).

Nevertheless I believe WorpdPress is in search of it as a result of after I click on that hyperlink (or from the web page edit display screen if I click on Preview web page) it brings me to the 404 web page as an alternative. I did verify that the web page slug is appropriate too.

Is it potential to position a web page as a baby to a reserved re-write like this?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments