Changeset 2007562
- Timestamp:
- 01/07/2019 09:09:01 AM (7 years ago)
- File:
-
- 1 edited
-
albnet-shortcodes/trunk/albnet-shortcodes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
albnet-shortcodes/trunk/albnet-shortcodes.php
r2007350 r2007562 146 146 'item_class' => '' 147 147 ], $atts ); 148 149 /**150 * For show is required Albet Video plugin151 */152 if($a['show_video'] || $a['post_type'] == 'videos') {153 if ( ! is_plugin_active( 'albnet-videos/albnet-videos.php' ) && current_user_can( 'activate_plugins' ) ) {154 echo ('Sorry, but this plugin requires the Albnet Vídeos to be installed and active.');155 } else {156 include 'shortcode-' . $a['layout'] . '.php';157 }158 }159 148 160 149 }
Note: See TracChangeset
for help on using the changeset viewer.