WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Geo Mashup] no metabox in custom post type!

[Plugin: Geo Mashup] no metabox in custom post type!

  • arthurdent2003
    Member

    @arthurdent2003

    Hi!

    After the update to Geo Mashup 1.4 I can’t see the “Location” Box in Custom Post Types anymore. I tried the following code to add it in functions.php

    `function add_geo_mashup_location_editor() {
    if ( class_exists( ‘GeoMashupPostUIManager’ ) ) {
    $ui_manager = GeoMashupPostUIManager::get_instance();
    add_meta_box( ‘geo_mashup_post_edit’, __( ‘Location’, ‘GeoMashup’ ), array( &$ui_manager, ‘print_form’ ), ‘mytype’, ‘advanced’ );
    }
    }
    add_action( ‘admin_menu’, ‘add_geo_mashup_location_editor’ );`

    But I’m getting a strange text and – no map is showin up, and I can’t get the address…

    thanks!

    AD

  • The topic ‘[Plugin: Geo Mashup] no metabox in custom post type!’ is closed to new replies.