McPace
Member
Posted 9 months ago #
I have multisite on the root level with a few pages.
/events
/case-studies
The pages hold overview content and are tied to the menu of blog 1 and display posts from blog 2.
I want to create blog 2 at /events so that all posts are event listings and live at x.com/events/slug.
However if you visit x.com/events, I want the page from blog 1 to show not the homepage of blog 2. What's the best way to have that happen?
Don; tmake it a page. Make a blog liek you want, and then just link to that blog from your menu.
visitors won;t be able to tell it;s not a page, because it just looks like a page with the same theme.
FYI, if you have your own topic it's considered poor taste to post the SAME question in someone else's thread.
Anyway. You can't have BOTH a page AND a subsite with the same name. Rename one of 'em.
McPace
Member
Posted 9 months ago #
Sorry Ipstenu, realized it was off topic on that other thread so I started a new one stating clearer.
Andrea, I would use the homepage of the blog but am switching to blog 1 to grab the menu, so when on the homepage of blog 2, the menu from blog 1 shows and that custom link doesn't highlight as the selected page b/c it's showing another blog. Guess I could just add the selected class while on that blog...?
Guess I could just add the selected class while on that blog...?
yes.
and switch_to_blog is not the best or cleanest way to have a global menu.
McPace
Member
Posted 9 months ago #
"switch_to_blog is not the best or cleanest way to have a global menu"
will you point me to the better way?
McPace
Member
Posted 9 months ago #
Thank you both very much.