Changeset 1854145
- Timestamp:
- 04/06/2018 01:03:37 PM (8 years ago)
- Location:
- xml-multilanguage-sitemap-generator
- Files:
-
- 5 edited
-
assets/icon-128x128.jpg (modified) (previous)
-
assets/icon-256x256.jpg (modified) (previous)
-
trunk/admin/js/main.js (modified) (1 diff)
-
trunk/includes/functions.php (modified) (1 diff)
-
trunk/includes/option.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
xml-multilanguage-sitemap-generator/trunk/admin/js/main.js
r1854013 r1854145 3 3 function mirrorSync() { 4 4 var el = $('.syncronize-with-name'); 5 var syncLink = $(el).parent('a'); 6 var baseLink = $(syncLink).attr('href'); 5 7 var target = $(el).data('synctarget'); 6 7 8 //Scrivo subito il nome della sitemap di default 8 9 $(el).each(function(){ 9 10 $(this).text($(target).val()); 11 $(syncLink).attr('href', baseLink + $(target).val() + '.xml'); 10 12 }); 11 13 -
xml-multilanguage-sitemap-generator/trunk/includes/functions.php
r1854013 r1854145 292 292 elseif ( is_plugin_active( 'polylang/polylang.php' ) ){ 293 293 include('loop/polylang/polylang-taxonomies.php'); 294 //_xmg_debug($tax_args);295 //exit;296 294 $multilanguage = true; 297 295 } -
xml-multilanguage-sitemap-generator/trunk/includes/option.php
r1854013 r1854145 83 83 } ?> 84 84 85 <p class="hidden-tutorial"><?php _e('This is the link for Google: ') ?> < b>/xml-sitemap/</b><b data-synctarget="#sitemap_name" class="syncronize-with-name"></b><b>.xml</b></p>85 <p class="hidden-tutorial"><?php _e('This is the link for Google: ') ?> <a target="_blank" href="<?php echo site_url('/'); ?>xml-sitemap/"><b>/xml-sitemap/</b><b data-synctarget="#sitemap_name" class="syncronize-with-name"></b><b>.xml</b></a></p> 86 86 87 87 <?php }
Note: See TracChangeset
for help on using the changeset viewer.