Changeset 1854937
- Timestamp:
- 04/08/2018 08:43:27 PM (8 years ago)
- Location:
- geocoded-posts/trunk
- Files:
-
- 3 edited
-
geocoded-posts.php (modified) (2 diffs)
-
js/widget.js (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
geocoded-posts/trunk/geocoded-posts.php
r1854920 r1854937 11 11 * Plugin URI: https://github.com/svrooij/wp-geocoded-posts 12 12 * Description: Widget with geocoded posts and editing geo location on a post. 13 * Version: 0.0. 613 * Version: 0.0.7 14 14 * Author: Stephan van Rooij 15 15 * Author URI: https://svrooij.nl … … 26 26 * 27 27 */ 28 const VERSION = '0.0. 6';28 const VERSION = '0.0.7'; 29 29 30 30 /** -
geocoded-posts/trunk/js/widget.js
r1854920 r1854937 1 1 jQuery(document).ready(function ($) { 2 2 var baseUrl = $('link[rel="https://api.w.org/"]').attr('href') 3 $('.widget_geocoded_posts_widget ').each(function (key, value) {4 var ul = $(this) .first('ul')3 $('.widget_geocoded_posts_widget ul').each(function (key, value) { 4 var ul = $(this) 5 5 var count = parseInt(ul.attr('data-count')) 6 var author = (ul.attr('data-author') === ' true')6 var author = (ul.attr('data-author') === '1') 7 7 var url = baseUrl + 'geocoded-posts/v1/basic' 8 8 $.getJSON(url, function (data, status, jqXHR) { -
geocoded-posts/trunk/readme.txt
r1854920 r1854937 5 5 Requires at least: 4.4 6 6 Tested up to: 4.9.5 7 Stable tag: 0.0. 67 Stable tag: 0.0.7 8 8 License: MIT 9 9 License URI: https://raw.githubusercontent.com/svrooij/wp-geocoded-posts/master/LICENSE … … 45 45 == Changelog == 46 46 47 = 0.0. 6=47 = 0.0.7 = 48 48 * Remove numbers from formatted address. 49 49 * Option to show author in widget.
Note: See TracChangeset
for help on using the changeset viewer.