Changeset 969677
- Timestamp:
- 08/21/2014 12:43:10 PM (12 years ago)
- Location:
- ideal-interactive-map/trunk
- Files:
-
- 2 edited
-
interactive-map.php (modified) (8 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ideal-interactive-map/trunk/interactive-map.php
r969561 r969677 4 4 Plugin URI: http://idealwebgeek.com 5 5 Description: Interactive and Informative map 6 Version: 0.16 Version: 1.1 7 7 */ 8 8 define("PLUGINURL", dirname(__FILE__) ); … … 20 20 add_action("wp_ajax_mapsubpage", array($this, "ajax_mapsubpage"), 20); 21 21 add_action("wp_ajax_nopriv_mapsubpage", array($this, "ajax_mapsubpage"), 20); 22 //remove_filter( 'the_content', 'wpautop' );23 22 add_action( 'wp_enqueue_scripts', array($this, "header") ); 24 23 add_action("wp_footer", array($this, "footer"), 20); … … 46 45 wp_enqueue_script('jquery-ui-tabs'); 47 46 48 // wp_enqueue_style( 'Sans-narrow', 'http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700' , array(), '20140319', true );49 47 wp_enqueue_style( 'jquery-ui-css', '//code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css', false, '20140319', false); 50 48 wp_enqueue_style( 'scrollbar', plugins_url( 'src/perfect-scrollbar.css' , __FILE__ )); … … 66 64 </div> 67 65 <div id="mapreadmore"> 68 69 66 </div> 70 67 xxx; … … 91 88 $country_code = get_post_meta($id, "map_country", true); 92 89 if($country_code && isset($countries[$country_code])){ 93 94 90 95 91 $areas[] = array( 96 92 "id"=>$country_code, … … 131 127 132 128 if(!is_page($page) && $page == 0) return; 133 134 129 135 130 $image = plugins_url( 'ammap/images/' , __FILE__ ); … … 192 187 193 188 function zoomOut () { 194 map.zoomOut(); 195 189 map.zoomOut(); 196 190 } 197 191 … … 519 513 } 520 514 521 522 515 /** 523 516 * Add options page -
ideal-interactive-map/trunk/readme.txt
r969561 r969677 1 === Ideal Interactive Maps===1 === Ideal Interactive Map === 2 2 Contributors: Jhayghost 3 Tags: interactive map, maps, amcharts map, amcharts, map with country description 3 Tags: interactive map, maps, amcharts map, amcharts, map with country description, Interactive world, javascript maps, html5maps, non-flash map 4 4 Requires at least: 3.1 5 5 Tested up to: 3.9.2 6 Stable tag: 1. 06 Stable tag: 1.1 7 7 Author: Jhayghost 8 8 Author URI: http://www.idealwebgeek.com/ 9 9 License: GPLv2 or later 10 10 11 Easy Set Up: 12 13 This is a fully functional world map with clickable country links that will pop a dedicated individual description. Each country is represented by an auto generated flag. 14 15 This plugin requires a very easy settings elaborated on the Installations part. 11 Fully functional world map with a professional looking clickable country links that is very easy to set up. 16 12 17 13 … … 19 15 20 16 Have you come across the idea of implementing a map on your WordPress site, but found it difficult to implement and costly to be outsourced? I had thought the same way as well few months back. 17 18 This is a fully functional world map with clickable country links that will pop a dedicated individual description. Each country is represented by an auto generated flag. 21 19 22 20 This complete list of countries around the globe with distinctive maps will help you implement an interactive, professional and lavishly looking map. We owe amcharts.com for the fulfilment of this plugin. … … 29 27 30 28 Resources Used: 31 Custom Metabox: https://github.com/tammyhart/Reusable-Custom-WordPress-Meta-Boxes 32 Map: http://www.amcharts.com/javascript-maps/ 33 Flags: Phoca Flags 1.0.0 by Jan Pavelka http://www.phoca.cz 34 Perfect scrollbar: Hyeonje Alex Jun and other contributors 29 30 - Map: http://www.amcharts.com/javascript-maps/ 31 32 - Custom Metabox: https://github.com/tammyhart/Reusable-Custom-WordPress-Meta-Boxes 33 34 - Flags: Phoca Flags 1.0.0 by Jan Pavelka http://www.phoca.cz 35 36 - Perfect scrollbar: Hyeonje Alex Jun and other contributors 35 37 36 38 == Installation == 37 39 1) Upload the Ideal Interactive Map plugin to your website and Activate it. 40 38 41 2) Create new page and paste this shortcode [iwg_maps] to the wysiwyg WordPress Editor. 42 39 43 3) Take note of the page id for the page you have just created. 44 40 45 4) Go to Settings -> Interactive Map Settings and paste the Page ID on the field provided, hit Save Changes. 46 41 47 5) Once you had successfully set up the plugin, you should be able to find Manage Maps menu on the WordPress admin menu on the right hand side of your admin page. 48 42 49 6) Manage Maps section will give you the freedom to add the countries that you wanted to include in your map. You don’t have to worry about the lists of the country names as it is already completely laid upon in a drop down format. 43 50 … … 47 54 2. Active/clicked individual country 48 55 3. Manage Map admin part 49 50
Note: See TracChangeset
for help on using the changeset viewer.