Support » Plugin: Novo-Map : your WP posts on custom google maps » Change category list and post type

  • Resolved iosif13


    Hi there, your plugin is great guys. Keep up the good work!
    My website has a section of portfolio. I want to add into portfolio items(posts that their post-type is portfolio) novo-map but i can’t select the portfolio category that i use and i can’t see the novo-map section on portfolio item when i am creating them. The categories are taken from the same table (wp_terms) and the portfolio items are stored as posts( wp_posts). Is there something that we can do so that these item will be displayed on the map?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bluisier


    custom post type support is planned for a future version of the plugin… it is already on the list of things to do. But I unfortunately can’t give you any time frame

    I too would love this to work with a custom post type!

    A bit of poking around I figured out how to do it, but it involves hacking the plugin so it will be nice if/when they build it as a feature.

    You need to edit line 381 of admin/class-novo-map-admin.php:
    $screens = array( ‘post’, ‘page’ );
    change to
    $screens = array( ‘post’, ‘page’,’custom_post_type_slug’ );

    and admin/helpers/admin-helpers.php:
    Copy lines 61-69 and change elseif ( isset( $post[‘post_type’] ) && ‘post’ == $post[‘post_type’] ) {
    elseif ( isset( $post[‘post_type’] ) && ‘custom_post_type_slug’ == $post[‘post_type’] ) {

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change category list and post type’ is closed to new replies.