Comprehensive Google Map Plugin
Geo Mashup for Custom Post Types? (2 posts)

  1. 416BC
    Posted 4 years ago #

    Wouldn't it be a simple change of a line of PHP code? Just to make it able to work with my specific custom post types? It's rather limiting to only use posts and pages. I am making a database of offroad trails, and I have a content type called trail. Thanks for any help.


  2. 416BC
    Posted 4 years ago #

    I've made the change here, but it didn't seem to change anything.

    update_option(CGMP_DB_GEOMASHUP_CONTENT, '');
    			cgmp_get_content_from_db_by_type("post", CGMP_DB_PUBLISHED_POST_IDS, false);
    			cgmp_get_content_from_db_by_type("page", CGMP_DB_PUBLISHED_PAGE_IDS, false);
    			cgmp_get_content_from_db_by_type("trail",CGMP_DB_PUBLISHED_PAGE_IDS, false);

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Comprehensive Google Map Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.