WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Michael
    Member
    Posted 11 months ago #

    http://tdpnetwork.com/test-blog-featured/

    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:

    http://pastebin.com/gkvZP6bn

    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
    Member
    Posted 11 months 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.

Reply

You must log in to post.

About this Topic