WordPress.org

Ready to get started?Download WordPress

Forums

ThreeWP Broadcast
[resolved] Custom Post types form broken (5 posts)

  1. Joost
    Member
    Posted 1 year ago #

    When I install the plugin, everything works fine. But when I then try to add a custom post type, everything falls apart. There isn't even a broadcast box anymore next to the default post types.

    Turns out there's a mistake in ThreeWP_Broadcast.php, in the root of the plugin.

    Find the function "admin_post_types" on line 381. And replace line 394:
    $input_post_types = array(
    with
    $input_post_types = array(array(

    and also add an extra closing bracket on line 402, so change

    );
    to
    ));

    http://wordpress.org/extend/plugins/threewp-broadcast/

  2. bws-online
    Member
    Posted 1 year ago #

    Thanks -- I was getting multiple errors about this when I clicked on the "Post types" option in Settings/Broadcast. Your fix removed the errors and I see the proper Settings screen now.

    Hope this gets fixed in an update!

  3. sta777
    Member
    Posted 1 year ago #

    Brilliant thanks : )

  4. gmorales
    Member
    Posted 1 year ago #

    Joost - THANK YOU!

  5. andrebalza
    Member
    Posted 1 year ago #

    Had the same issue, wp 3.5.1 and plugin v1.13
    Now ThreeWP_Broadcast_post_types gets filled correctly.
    I suggest this patch, waiting for an official update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic