WordPress.org

Ready to get started?Download WordPress

Forums

Simple Staff List
[resolved] Simple Staff NOT showing up on WPMU page (2 posts)

  1. tallmanproduction
    Member
    Posted 1 year ago #

    Installed on MU environment & initiated Network activation. Open up the proper site. Added staff with picture. All good. Entered shortcode in a created page & updated. When previewing page...NOTHING. Please help, we would love to us your plugin.

      On Simple Staff template tab, this is shown:

    Warning: Invalid argument supplied for foreach() in /hermes/bosoraweb018/b2152/ipg.************/wp-content/plugins/simple-staff-list/_inc/admin-views.php on line 208

    Warning: Invalid argument supplied for foreach() in /hermes/bosoraweb018/b2152/ipg.************/wp-content/plugins/simple-staff-list/_inc/admin-views.php on line 216

    Simple Staff List
    Templates
    Accepted Template Tags (UNFORMATTED)

    Accepted Template Tags (FORMATTED)

    These MUST be used inside the [staff_loop] wrapper. The unformatted tags will return plain strings so you will want to wrap them in your own HTML. The [staff_loop] can accept any HTML so be careful when adding your own HTML code. The formatted tags will return data wrapped in HTML elements. For example, [staff-name-formatted] returns <h3>STAFF-NAME</h3>, and [staff-email-link] returns STAFF-EMAIL.

    **Note: All emails are obfuscated using the antispambot() WordPress function.

    Staff Loop Template

    http://wordpress.org/extend/plugins/simple-staff-list/

  2. Brett Shumaker
    Member
    Plugin Author

    Posted 1 year ago #

    Hey tallmanproductions,

    The user here: http://wordpress.org/support/topic/staff-1?replies=5 had the same issue. My experience with MU is really limited. As I understand it, its a problem with the way options are handled in the MU environment.

    This is a really long-hackish work-around (but I've not tested this) and I apologize in advance:
    You may try opening up admin-views.php as well as admin-install-uninstall.php and replace every instance of 'update_option,' 'get_option,' and 'delete_option' with 'update_site_option,' get_site_option,' and 'delete_site_option' respectively. You may also need to copy the plugin files down to a local drive, then uninstall and delete the plugin via the WP admin. Then copy the plugin back up to the server and re-install.

    This should make sure that any stray options get deleted from the options table and the new options get added to the correct options table on the new install.

    Again, I haven't tested this but it sounds like it might work in my head. Haha.

    Let me know if this helps and I'll start thinking of a way to incorporate MU support in the next version.

    Thanks!
    Brett

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic