WordPress.org

Ready to get started?Download WordPress

Forums

Wordbooker
Conflict with WordTwit Pro (4 posts)

  1. edwardnh
    Member
    Posted 3 years ago #

    I installed WordTwit Pro in a WordPress installation that contains Wordbooker as well. Each time since I installed WordTwit Pro I get multiple posts to the pages. I am not sure why this happens as I have checked to see if there is any interaction between WordTwit and Facebook.

    The WordTwit people told me that under the hood, WordTwit Pro adds a custom post with "ok" in the body. That custom post is set to be private so other plugins shouldn't be doing anything with it.

    They advised me to disable posting for custom post types. Can I do this with WordBooker. If not, they suggested I may need to contact you to see if you can change WordBooker not to post private post data to Facebook.

    I hope that makes sense as this is what they have advised.

    http://wordpress.org/extend/plugins/wordbooker/

  2. edwardnh
    Member
    Posted 3 years ago #

    The developers at WordTwit told me to add this code at the top of the wordbooker_process_post_data function in wordbooker.php and it fixed the problem:

    if ( $post->post_status == 'publish' && $post->post_type != 'post' ) {
    $post_type_info = get_post_type_object( $post->post_type );
    if ( $post_type_info && !$post_type_info->public ) {
    return;
    }
    }

  3. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    OK thanks for that - i've added it to the codebase

  4. edwardnh
    Member
    Posted 2 years ago #

    Steve,

    The WordTwit problem has returned. I am getting multiple custom Tweets on my Facebook page again. Has something changed to delete this code?

    Edward

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags