[resolved] Linking latest post from a Network Site TO that site? (3 posts)

  1. Michael
    Posted 1 year ago #


    I accomplished the task of listing ONE post from each network site via Multisite Posts plugin, but does anyone have an idea how to get these links working?

    For instance: Goose Creek Association Annual Report for 2013 should link to: http://www.goosecreek.org/2013/06/15/goose-creek-association-annual-report-for-2013/

    The plugin generates the links through get_post_permalink, but I need a way to "Send" them to the site in which the post was created. Here is the PHP code for the Multisite Posts:


    Also: The Multi-site is using subdomains, not directories

  2. So ... http://wordpress.org/plugins/wordpress-mu-sitewide-tags/ already does all that.

    But anyway. If you're using get_post_permalink then you'll want to remember to use switch_to_blog() when making the permalinks.

  3. Michael
    Posted 1 year ago #

    Thanks for the reply! I've been building custom themes for a couple years now, but this is my first real multi-site network.

Topic Closed

This topic has been closed to new replies.

About this Topic