Changeset 2443968
- Timestamp:
- 12/21/2020 11:53:03 PM (5 years ago)
- Location:
- remixd-voice
- Files:
-
- 12 added
- 3 edited
-
tags/1.0.6 (added)
-
tags/1.0.6/README.txt (added)
-
tags/1.0.6/assets (added)
-
tags/1.0.6/assets/css (added)
-
tags/1.0.6/assets/css/remixd-admin.css (added)
-
tags/1.0.6/assets/images (added)
-
tags/1.0.6/assets/images/remixd-icon.svg (added)
-
tags/1.0.6/index.php (added)
-
tags/1.0.6/lib (added)
-
tags/1.0.6/lib/remixd-player.php (added)
-
tags/1.0.6/lib/settings.php (added)
-
tags/1.0.6/remixd.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/lib/remixd-player.php (modified) (1 diff)
-
trunk/remixd.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
remixd-voice/trunk/README.txt
r2431936 r2443968 6 6 Tested up to: 5.6 7 7 Requires PHP: 5.6 8 Stable tag: 1.0. 58 Stable tag: 1.0.6 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 56 56 == Changelog == 57 57 58 = 1.0.6= 59 * AMP (Accelerated Mobile Pages) support 60 58 61 = 1.0.5 = 59 62 * Fixed version control -
remixd-voice/trunk/lib/remixd-player.php
r2431935 r2443968 49 49 $player_tag = '<div class="wp-remixd-voice-wrapper">' . $this->get_player_tag() . '</div>'; 50 50 51 if ($this->options['display'] == 1) : 52 $content_with_remixd = $player_tag . $content; 53 return $content_with_remixd; 54 endif; 51 if (function_exists( 'is_amp_endpoint' ) && is_amp_endpoint()) : 52 global $post; 53 $player_amp_tag = '<div class="wp-remixd-voice-wrapper">' . str_replace("STANDARD_PAGE_PERMALINK", esc_url( get_permalink() ), REMIXD_AMP_TAG) . '</div>'; 55 54 56 global $post; 57 $remixd_voice = get_post_meta($post->ID, 'remixd_voice', true); 58 59 if (isset($remixd_voice) && $remixd_voice == 'on') : 60 $content_with_remixd = $player_tag . $content; 61 return $content_with_remixd; 62 endif; 55 return $player_amp_tag . $content; 56 else : 57 if ($this->options['display'] == 1) : 58 $content_with_remixd = $player_tag . $content; 59 60 return $content_with_remixd; 61 endif; 62 63 global $post; 64 $remixd_voice = get_post_meta($post->ID, 'remixd_voice', true); 65 66 if (isset($remixd_voice) && $remixd_voice == 'on') : 67 $content_with_remixd = $player_tag . $content; 68 69 return $content_with_remixd; 70 endif; 71 endif; 63 72 64 73 return $content; -
remixd-voice/trunk/remixd.php
r2431936 r2443968 4 4 * Plugin URI: https://www.remixd.com/ 5 5 * Description: Remixd’s Audicles™ utilize publisher text and converts it into playable audio for easy and convenient on page consumption. 6 * Version: 1.0. 56 * Version: 1.0.6 7 7 * Author: Remixd Voice 8 8 **/ … … 32 32 } 33 33 34 if (!defined('REMIXD_AMP_TAG')) { 35 define('REMIXD_AMP_TAG', '<amp-ad type="remixd" height="100" width="640" data-version="5" style="max-width: 100%;" data-url="STANDARD_PAGE_PERMALINK"></amp-ad>'); 36 } 37 34 38 35 39 require_once REMIXD_PLUGIN_DIR . 'lib/settings.php';
Note: See TracChangeset
for help on using the changeset viewer.