WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Displaying all events in MultiSite (5 posts)

  1. Nick Grant
    Member
    Posted 2 years ago #

    I have a somewhat pesky client who has asked that all the events from all three of her blogs be displayed on each event list, I think that I can edit the code to make this happen if I can figure out where the plugin determines if you are on the primary blog or not and having it always return true. Can anyone point me in the right direction as to where in the code I will find this?

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    You'd need to use PHP. Sub blogs normally can't access other sub blog event information. If you edit the theme template, you could just use:

    echo EM_Events::output(array('blog'=>false));

    and add extra arguments to that array. see the docs - http://wp-events-plugin.com/documentation/event-search-attributes/

  3. Nick Grant
    Member
    Posted 2 years ago #

    I was able to pass in blog = false in the shortcode, but now the links are not working. I have tried it bother with links set to open in sub blogs and without, and after regenerating my permalinks, any suggestions?

  4. Brian
    Member
    Posted 2 years ago #

    I am having the same issue, I used the blog = false and it lists all the events on each sub blog, but the links do not work for any event created on another sub blog.

    Also, this may be related…

    When I select NO (Yes Works) on Link sub-site events directly to sub-site?

    I get the following error when trying to view an Event on the Main blog:

    Warning: Cannot modify header information - headers already sent by (output started at …/genesis/lib/structure/header.php:24) in …/wp-includes/pluggable.php on line 866

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    will look into this asap

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic