Plugin Directory

Changeset 1345035


Ignore:
Timestamp:
02/07/2016 07:49:05 AM (10 years ago)
Author:
mapme
Message:

new screenshot and descripton
fixed divi editor

Location:
mapme/trunk
Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • mapme/trunk/admin.php

    r1337945 r1345035  
    2424}
    2525add_action( 'admin_menu', 'mapme_add_admin_menu' );
    26 
    27 function load_javascript() {
    28     /*echo "<link rel='stylesheet' href='http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'>";*/
    29     echo "<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js'></script>";
    30     /*echo "<script src='http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js'></script>";*/
    31     echo "<script src='".plugins_url( 'script.js', __FILE__ )."'></script>";
    32     /*echo "<link rel='stylesheet' href='http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'>";*/
    33     /*echo "<script src='http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js'></script>";*/
    34 }
    35 add_action('admin_head', 'load_javascript');
    36 
    37 function gavickpro_add_my_tc_button() {
     26/*
     27Start Add Mapme Button on Editor
     28*/
     29function mapme_add_my_tc_button() {
    3830    global $typenow;
    3931    // check user permissions
     
    4638    // check if WYSIWYG is enabled
    4739    if ( get_user_option('rich_editing') == 'true') {
    48         /**********************************ADD CSS ON POST PAGE EDIT**********************************/
    49         //wp_enqueue_style('gavickpro-tc', plugins_url('/button.css', __FILE__));
    50         add_filter("mce_external_plugins", "gavickpro_add_tinymce_plugin");
    51         add_filter('mce_buttons', 'gavickpro_register_my_tc_button');
     40        add_filter("mce_external_plugins", "mapme_add_tinymce_plugin");
     41        add_filter('mce_buttons', 'mapme_register_my_tc_button');
    5242    }
    5343}
    5444
    55 function gavickpro_add_tinymce_plugin($plugin_array) {
    56     $plugin_array['gavickpro_tc_button'] = plugins_url( '/text-button.js', __FILE__ ); // CHANGE THE BUTTON SCRIPT HERE
     45function mapme_add_tinymce_plugin($plugin_array) {
     46    $plugin_array['mapme_tc_button'] = plugins_url( 'js/text-button.js', __FILE__ );
    5747    return $plugin_array;
    5848}
    5949
    60 function gavickpro_register_my_tc_button($buttons) {
    61    array_push($buttons, "gavickpro_tc_button");
     50function mapme_register_my_tc_button($buttons) {
     51   array_push($buttons, "mapme_tc_button");
    6252   return $buttons;
    6353}
    6454
    65 add_action('admin_head', 'gavickpro_add_my_tc_button');
     55add_action('admin_head', 'mapme_add_my_tc_button');
    6656
    6757function mapme_settings_css() {
    68     wp_enqueue_style('gavickpro-tc', plugins_url('/setting.css', __FILE__));
    69     //wp_enqueue_style('gavickpro-tc', plugins_url('/style.css', __FILE__));
     58    wp_enqueue_style('mapme-tc', plugins_url('css/setting.css', __FILE__));
    7059}
    7160
    7261add_action('admin_enqueue_scripts', 'mapme_settings_css');
    7362   
    74 
     63/*
     64End Add Mapme Button on Editor
     65*/
    7566
    7667/*
     
    8071
    8172function mapme_options_page() {
    82 
     73    echo "<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js'></script>";
     74    echo "<script src='".plugins_url( 'js/script.js', __FILE__ )."'></script>";
    8375    ?>
    8476    <h1><?php esc_html_e( 'Mapme Wordpress Plugin', 'mapme' ); ?></h1>
  • mapme/trunk/css/style.css

    r1337945 r1345035  
    11
    2 i.gavickpro-own-icon {
     2i.mapme-own-icon {
    33    background-image: url('mapme_logo_round_m.svg');
    44    height: 25px !important;
  • mapme/trunk/index.php

    r1337945 r1345035  
    55Description: Embed community maps from Mapme.com into your WordPress site,Create shortcode from setting page and use where you want,insert shortcode in page from admin by click the            mapme icon from toolbar
    66Version:     1.2
    7 Author:      Rami Yushuvaev
    8 Author URI:  http://GenerateWP.com/
     7Author:      Mapme
     8Author URI:  http://mapme.com/
    99Text Domain: mapme
    1010Domain Path: /languages
  • mapme/trunk/readme.txt

    r1337950 r1345035  
    11=== Mapme ===
    2 Contributors: ramiy, mapme
     2Contributors: mapme
    33Tags: Mapme, embed, map, maps, community, shortcode, shortcodes
    44Requires at least: 3.5
    55Tested up to: 4.2
    6 Stable tag: 1.3
    7 Stable version:1.2
     6Stable tag: 1.3.1
     7Stable version:1.2.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010
    11 Embed community maps from Mapme.com into your WordPress site
     11Build Smart Maps. Simple. Free. No coding.
    1212
    1313== Description ==
    1414
    15 [Mapme.com](http://mapme.com) is a platform that empowers passionate people to build, launch and grow community maps.
     15[Mapme](http://mapme.com) let you create highly interactive map without any coding needed.
    1616
    17 Using Mapme WordPress plugin you can embed your [community maps](http://mapme.com/content/maps/) from Mapme into your WordPress site.
     17Create Your Map - Customize your very own map with our [Map Creation Wizard](http://mapme.com/mapcreation/createmap/details)
     18Populate your Map - Easily add content to your map, crowdsource or import an Excel
     19Promote Your Map - Embed your map on your Website, share the map and watch it grow
     20
     21Mapme is designed to work perfectly across smartphones, tablets and computers.
     22
     23Mapme is used by thousands or organizations across the globe to build amazing maps.
     24
     25The Mapme WordPress plugin is designed to easily embed your [maps](http://mapme.com/) into your WordPress website.
    1826
    1927= Usage =
    2028
    21 First you need to go to the plugin setting page at Setting->Mapme, to enter the map id.
     29There are 2 ways you can use the plugin to embed your map
    2230
    23 The plugin works with three basic shortcodes: `[mapme]`, `[mapme-list]` and `[mapme-info]`. You need to create three pages, each page containing one of the shortcodes.
    24 
    25 * **[mapme]** - This shortcode is used the present the selected comunity map.
    26 * **[mapme-list]** - This shortcode is used to show the list of companies in the map.
    27 * **[mapme-info]** - If you want to show information about indevidual company, use this shortcode.
     31Use the Mapme setting page (Setting->Mapme) to generate your Mapme short code and simply paste the short code where you would like the map to appear
     32or
     33Use the Mapme button in the editor tool bar to embed your map
    2834
    2935== Installation ==
     
    4955
    5056== Screenshots ==
    51 2. Mapme settings page.
    52 2. The shortcode in the text editor.
    53 3. The embedded map in the front end.
     571. Mapme settings page
     582. Mapme button in the editor tool bar
    5459
    5560== Changelog ==
    5661
     62= 1.3.1 (2016-02-07) =
     63* New screenshots
     64* New description
     65* Fixed issue with DIVI editor
     66
     67
     68= 1.3 (2016-02-02) =
     69* Redesign setting page.
     70* Add Mapme button in tool bar
     71
     72
    5773= 1.2 (2015-05-12) =
    5874* Add i18n support.
    59 * Add hebrew (he_IL) traslation.
    60 * Add setting page.
    61 * Add [mapme-list] and [mapme-info] shortcodes.
    62 * Add company rewrite rules.
    63 * Auto generate companies pages using mapme API.
    64 * Add custom companies sitemap to "WordPress SEO by Yoast" plugin.
    65 * Add custom "meta" tags to companies auto-generated page.
    66 *Create shortcode from setting page and use where you want
    67 *Create shortcode from admin page by clicking mapeme icon from toolbar
     75
    6876
    6977= 1.0 (2015-04-01) =
Note: See TracChangeset for help on using the changeset viewer.