WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. arthurdent2003
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by arthurdent2003
  • This topic is not resolved
  • WordPress version: 3.2.1

Tags

No tags yet.