Changeset 2557877
- Timestamp:
- 07/02/2021 07:21:54 PM (5 years ago)
- Location:
- floating-related-posts/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (1 diff)
-
floating-related-posts-pro.php (modified) (2 diffs)
-
resources/js/floating-related-posts-pro.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
floating-related-posts/trunk/README.txt
r2441344 r2557877 2 2 Tags: related, floating, related posts, similar posts, related articles, contextual 3 3 Requires at least: 3.3.1 4 Tested up to: 5. 65 Stable tag: 1.0. 54 Tested up to: 5.7 5 Stable tag: 1.0.7 6 6 License: GPLv2 or later 7 7 -
floating-related-posts/trunk/floating-related-posts-pro.php
r2402353 r2557877 4 4 * Plugin URI: 5 5 * Description: Shows a floating banner with a list of related posts 6 * Version: 1.0. 56 * Version: 1.0.7 7 7 * Author: Fransoft 8 8 * Text Domain: floating-related-posts-pro … … 14 14 15 15 16 define ('FRPOSTPRO_VERSION', '1.0. 5');16 define ('FRPOSTPRO_VERSION', '1.0.7'); 17 17 define ('FRPOSTPRO_DEF_PLUGIN_NAME', 'Floating Related Posts'); 18 18 define ('FRPOSTPRO_DEF_PLUGIN', 'floating-related-posts-pro'); -
floating-related-posts/trunk/resources/js/floating-related-posts-pro.js
r2402353 r2557877 4 4 $(function() { 5 5 6 6 7 7 8 if(frpostpro_js.length > 0 ){ 9 10 8 11 9 12 var cookieName = 'frpostpro_close'; … … 17 20 18 21 var counter = 0; 22 23 function shuffle(a) { 24 var j, x, i; 25 for (i = a.length - 1; i > 0; i--) { 26 j = Math.floor(Math.random() * (i + 1)); 27 x = a[i]; 28 a[i] = a[j]; 29 a[j] = x; 30 } 31 return a; 32 } 33 34 if(frpostpro_settings['frpostpro-order'] == 'random'){ 35 frpostpro_js = shuffle(frpostpro_js); 36 } 19 37 20 38 function showSlide() {
Note: See TracChangeset
for help on using the changeset viewer.