I made a multi-network WordPress website. Example site, The main site is: domainname.com The network subdomain site is: demo.domainname.com There are custom posts on my main site. How can I show those custom posts to my demo.domainname.com network site?
Asked
Active
Viewed 87 times
1 Answers
0
With the help of database query you can get custom posts easily.
//or
you can use below plugin and activate in network admin so with this plugin is available in both of your sites and you can create post type easily without any coding.

Therichpost
- 1,759
- 2
- 14
- 19
-
So i need to query for the custom post in my network subdomain site theme? – Muktar Ali May 30 '18 at 09:25
-
you can easily make database connections and get data. – Therichpost May 30 '18 at 09:26
-
@MuktarAli hope my idea helped you. – Therichpost May 30 '18 at 09:28
-
Thank you so much. If you have another idea to display data you can share with me so i will be surprised. :) – Muktar Ali May 30 '18 at 09:31
-
Yes i seen it. any another method? – Muktar Ali May 30 '18 at 09:36
-
Ok Thank you :) – Muktar Ali May 30 '18 at 09:40