Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
322 views
in Technique[技术] by (71.8m points)

networking - Display blog posts in a multisite network (Wordpress) across websites

First of all: I don't know if I'm just too stupid for this, but I've already googled it and tried various solutions (codes inserted in the functions.php or even downloaded plugins) but my problem hasn't been solved. Maybe you know more.

My setup:

  • Wordpress Multisite installation with two websites: --> One website is the "main site" --> The other website is the "blog site"

  • The websites were created with Elementor.

Now I would like to display the posts from the "blog website" on the home page of the "main website" using the default Elementor layout for posts.

Isn't it possible that Wordpress simply accesses these posts? As far as I know, they are even in the same database? The few plugins that are available have to be styled too much with CSS - that wouldn't be worth it. Above all, the plugin I tested didn't even work (Network Posts Extended).

What I also don't want is that the posts are simply duplicated, because then I wouldn't need two websites. So ideally when you click on a post, you get redirected to the "blog website".

Hope you know what I mean. Thanks


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Try [netsposts post_type='post'] with Network Posts Extended plugin. That worked for me.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...