Hy everyone! I listed the all network posts on my multisite to my network-home's homepage with "WDS Multisite Aggregate" plugin. This works fine, but now I want to get the author/publisher subsite's domains above each posts, similar to: by Author_name, just in this case so: via subsite_url.
So now, if Author1 publishing on his own site, example [subsite1.network.com] a new post, this post immediately appears on the homepage of [network.com], and appear above of the post content the Author's username, thus: by Author1.
Besides this, the all "shared" post's link-title control to the publisher site, so example, when on the homepage of [network.com] a new post appears, this post title shows to [subsite.network.com/current-post-idx] when I use this
the_title( sprintf( '<h2 class="entry-title" style="" itemprop="headline"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); and if I open [network.com/current-post-idx], this redirect to [subsite.network.com/current-post-idx].
get_permalink() shows to the original post where the author publishing that.
Now I would like that similar to this appear above of the post content the Author's site, where can he publishing the current post, thus: via [subsite1.network.com].
get_permalink() = [subsite1.network.com/current-post-idx], in this same case how can I get simply [subsite1.network.com]?
get_site_url() obviously shows to [network.com] because that particular homepage it belongs this.
Sorry, this is my first question here, ago this I find everything on the subject on the internet, but about this I did't find anything anywhere.