Changeset 2261404
- Timestamp:
- 03/15/2020 07:07:46 PM (6 years ago)
- Location:
- bingewith/trunk
- Files:
-
- 2 edited
-
bingewith.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bingewith/trunk/bingewith.php
r2239459 r2261404 34 34 } 35 35 } 36 var BingeIframeRan = true; 36 37 </script>'); 37 38 … … 46 47 $permalink = get_permalink(); 47 48 if (get_post_meta(get_post()->ID, 'bingewith', true) !== "false") { 48 $msg = "<iframe class='binge-iframe' height='70' width='100%' frameBorder='0' style='margin-top: 10px!important; margin-bottom: 10px!important; opacity: 0;' src='https://bingewith.com/article/::_wp&permalink=$permalink' scrolling='no'></iframe>"; 49 $iframe_id = "binge-iframe-" . get_post()->ID; 50 $onload_handler = 'if (typeof BingeIframeRan === "undefined") { document.getElementById("' . $iframe_id . '").style.opacity = 1 } '; 51 $msg = "<iframe id='$iframe_id' class='binge-iframe' height='70' width='100%' frameBorder='0' onload='$onload_handler' style='margin-top: 10px!important; margin-bottom: 10px!important; opacity: 0;' src='https://bingewith.com/article/::_wp&permalink=$permalink' scrolling='no'></iframe>"; 49 52 // Preprend our iframe to the post content. 50 53 $content = $msg . $content; -
bingewith/trunk/readme.txt
r2239459 r2261404 3 3 Tags: audio blogs 4 4 Requires at least: 4.6 5 Tested up to: 5.3 .25 Tested up to: 5.3 6 6 Requires PHP: 5.2.4 7 7 Stable tag: 1.4 … … 28 28 == Changelog == 29 29 30 = 1.3 =31 *Showing audio player on posts only. Excludes product pages or other post types.32 *Reduces size of widget to 70px height taking the full 100% width;30 = 1.3= 31 Showing audio player on posts only. Excludes product pages or other post types. 32 Reduces size of widget to 70px height taking the full 100% width; 33 33 34 34 = 1.1 =
Note: See TracChangeset
for help on using the changeset viewer.