Changeset 1345035
- Timestamp:
- 02/07/2016 07:49:05 AM (10 years ago)
- Location:
- mapme/trunk
- Files:
-
- 1 deleted
- 6 edited
-
admin.php (modified) (3 diffs)
-
css/style.css (modified) (1 diff)
-
index.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
screenshot-1.png (modified) (previous)
-
screenshot-2.png (modified) (previous)
-
screenshot-3.png (deleted)
Legend:
- Unmodified
- Added
- Removed
-
mapme/trunk/admin.php
r1337945 r1345035 24 24 } 25 25 add_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 /* 27 Start Add Mapme Button on Editor 28 */ 29 function mapme_add_my_tc_button() { 38 30 global $typenow; 39 31 // check user permissions … … 46 38 // check if WYSIWYG is enabled 47 39 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'); 52 42 } 53 43 } 54 44 55 function gavickpro_add_tinymce_plugin($plugin_array) {56 $plugin_array[' gavickpro_tc_button'] = plugins_url( '/text-button.js', __FILE__ ); // CHANGE THE BUTTON SCRIPT HERE45 function mapme_add_tinymce_plugin($plugin_array) { 46 $plugin_array['mapme_tc_button'] = plugins_url( 'js/text-button.js', __FILE__ ); 57 47 return $plugin_array; 58 48 } 59 49 60 function gavickpro_register_my_tc_button($buttons) {61 array_push($buttons, " gavickpro_tc_button");50 function mapme_register_my_tc_button($buttons) { 51 array_push($buttons, "mapme_tc_button"); 62 52 return $buttons; 63 53 } 64 54 65 add_action('admin_head', ' gavickpro_add_my_tc_button');55 add_action('admin_head', 'mapme_add_my_tc_button'); 66 56 67 57 function 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__)); 70 59 } 71 60 72 61 add_action('admin_enqueue_scripts', 'mapme_settings_css'); 73 62 74 63 /* 64 End Add Mapme Button on Editor 65 */ 75 66 76 67 /* … … 80 71 81 72 function 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>"; 83 75 ?> 84 76 <h1><?php esc_html_e( 'Mapme Wordpress Plugin', 'mapme' ); ?></h1> -
mapme/trunk/css/style.css
r1337945 r1345035 1 1 2 i. gavickpro-own-icon {2 i.mapme-own-icon { 3 3 background-image: url('mapme_logo_round_m.svg'); 4 4 height: 25px !important; -
mapme/trunk/index.php
r1337945 r1345035 5 5 Description: 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 6 6 Version: 1.2 7 Author: Rami Yushuvaev8 Author URI: http:// GenerateWP.com/7 Author: Mapme 8 Author URI: http://mapme.com/ 9 9 Text Domain: mapme 10 10 Domain Path: /languages -
mapme/trunk/readme.txt
r1337950 r1345035 1 1 === Mapme === 2 Contributors: ramiy,mapme2 Contributors: mapme 3 3 Tags: Mapme, embed, map, maps, community, shortcode, shortcodes 4 4 Requires at least: 3.5 5 5 Tested up to: 4.2 6 Stable tag: 1.3 7 Stable version:1.2 6 Stable tag: 1.3.1 7 Stable version:1.2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Embed community maps from Mapme.com into your WordPress site 11 Build Smart Maps. Simple. Free. No coding. 12 12 13 13 == Description == 14 14 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. 16 16 17 Using Mapme WordPress plugin you can embed your [community maps](http://mapme.com/content/maps/) from Mapme into your WordPress site. 17 Create Your Map - Customize your very own map with our [Map Creation Wizard](http://mapme.com/mapcreation/createmap/details) 18 Populate your Map - Easily add content to your map, crowdsource or import an Excel 19 Promote Your Map - Embed your map on your Website, share the map and watch it grow 20 21 Mapme is designed to work perfectly across smartphones, tablets and computers. 22 23 Mapme is used by thousands or organizations across the globe to build amazing maps. 24 25 The Mapme WordPress plugin is designed to easily embed your [maps](http://mapme.com/) into your WordPress website. 18 26 19 27 = Usage = 20 28 21 First you need to go to the plugin setting page at Setting->Mapme, to enter the map id. 29 There are 2 ways you can use the plugin to embed your map 22 30 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. 31 Use 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 32 or 33 Use the Mapme button in the editor tool bar to embed your map 28 34 29 35 == Installation == … … 49 55 50 56 == Screenshots == 51 2. Mapme settings page. 52 2. The shortcode in the text editor. 53 3. The embedded map in the front end. 57 1. Mapme settings page 58 2. Mapme button in the editor tool bar 54 59 55 60 == Changelog == 56 61 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 57 73 = 1.2 (2015-05-12) = 58 74 * 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 68 76 69 77 = 1.0 (2015-04-01) =
Note: See TracChangeset
for help on using the changeset viewer.