Monday, December 12, 2022
HomeWordPress DevelopmentCreate WP multisites as a customized publish sort

Create WP multisites as a customized publish sort


I’ve a multisite community and have ACF website choices on every subsite. The subsites are associated eg some is perhaps in the identical space. I want to add an ACF relationship discipline to every subsite the place a listing of all subsites might be displayed and websites might be picked from that.

To do that, the checklist of subsites must be a customized publish sort. I’ve seemed however cant appear to search out anyway to avoid wasting checklist of all websites below a multisite community as posts below a customized publish sort. I’m able to use get_sites() and switch_to_blog() to get primary information in regards to the subsites however saving them as a cpt is the blocker. It could even be good to have a few of the website choices saved as customized fields below that publish sort.

Anybody finished one thing related or any thought find out how to obtain this please?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments