Plugin Directory

Changeset 1854145


Ignore:
Timestamp:
04/06/2018 01:03:37 PM (8 years ago)
Author:
gianemi2
Message:

update logo

Location:
xml-multilanguage-sitemap-generator
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • xml-multilanguage-sitemap-generator/trunk/admin/js/main.js

    r1854013 r1854145  
    33    function mirrorSync() {
    44        var el = $('.syncronize-with-name');
     5        var syncLink = $(el).parent('a');
     6        var baseLink = $(syncLink).attr('href');
    57        var target = $(el).data('synctarget');
    6 
    78        //Scrivo subito il nome della sitemap di default
    89        $(el).each(function(){
    910            $(this).text($(target).val());
     11            $(syncLink).attr('href', baseLink + $(target).val() + '.xml');
    1012        });
    1113
  • xml-multilanguage-sitemap-generator/trunk/includes/functions.php

    r1854013 r1854145  
    292292            elseif ( is_plugin_active( 'polylang/polylang.php' ) ){
    293293                include('loop/polylang/polylang-taxonomies.php');
    294                 //_xmg_debug($tax_args);
    295                 //exit;
    296294                $multilanguage = true;
    297295            }
  • xml-multilanguage-sitemap-generator/trunk/includes/option.php

    r1854013 r1854145  
    8383    } ?>
    8484
    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>
    8686
    8787<?php }
Note: See TracChangeset for help on using the changeset viewer.