Changeset 2332378
- Timestamp:
- 06/29/2020 01:19:22 PM (6 years ago)
- Location:
- wha-wordsearch/trunk
- Files:
-
- 4 edited
-
readme.txt (modified) (1 diff)
-
res/wordsearch.css (modified) (1 diff)
-
res/wordsearch.js (modified) (1 diff)
-
wha-wordsearch.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wha-wordsearch/trunk/readme.txt
r2297700 r2332378 1 1 === Word Search Puzzles game === 2 2 Contributors: webhelpagency 3 Version: 1.1. 73 Version: 1.1.8 4 4 Donate link: http://webhelpagency.com/ 5 5 Tags: wordsearch, search, game, crossword, puzzles 6 6 Requires at least: 4.0.1 7 Tested up to: 5. 2.38 Requires PHP: 5.57 Tested up to: 5.4.2 8 Requires PHP: 7.4 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
wha-wordsearch/trunk/res/wordsearch.css
r2157649 r2332378 2 2 display: inline-block; 3 3 line-height: normal 4 } 5 6 .wha-hidden{ 7 visibility: hidden; 4 8 } 5 9 -
wha-wordsearch/trunk/res/wordsearch.js
r2157649 r2332378 864 864 var wha_ws_grid_width = jQuery('.wha-ws-grid').width(); 865 865 866 jQuery('.wha-dir-bottom .wha-word-list').css('max-width', wha_ws_grid_width+'px') 867 jQuery('.wha-dir-top .wha-word-list').css('max-width', wha_ws_grid_width+'px') 866 jQuery('.wha-dir-bottom .wha-word-list').css('max-width', wha_ws_grid_width+'px'); 867 jQuery('.wha-dir-top .wha-word-list').css('max-width', wha_ws_grid_width+'px'); 868 jQuery('.wha-wordsearch-row').removeClass('wha-hidden'); 868 869 869 870 -
wha-wordsearch/trunk/wha-wordsearch.php
r2297700 r2332378 4 4 * Plugin Name: WHA Wordsearch 5 5 * Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area. 6 * Version: 1.1. 76 * Version: 1.1.8 7 7 * Author: WHA 8 8 * Author URI: http://webhelpagency.com/ … … 39 39 } 40 40 41 define('WHAWS_VERSION', '1.1. 6');41 define('WHAWS_VERSION', '1.1.8'); 42 42 43 43 function whaws_activation() … … 75 75 { 76 76 global $post; 77 77 global $shortcode_tags; 78 78 79 79 wp_enqueue_media(); 80 80 81 if (is_a($post, 'WP_Post') && has_shortcode($post->post_content, 'game-wordsearch') ) { //include scripts/style only on pages with shortcode81 if (is_a($post, 'WP_Post') && has_shortcode($post->post_content, 'game-wordsearch') || in_array("game-wordsearch", array_keys($shortcode_tags))) { //include scripts/style only on pages with shortcode 82 82 83 83 wp_enqueue_style('wha-wordsearch-style', plugins_url('res/wordsearch.css', __FILE__)); … … 234 234 $rows = json_decode($wordsearch, true, 512, JSON_UNESCAPED_UNICODE); 235 235 236 $html .= '<div class="row wha-wordsearch-row ">236 $html .= '<div class="row wha-wordsearch-row wha-hidden"> 237 237 238 238 <div class="wha-wordsearch-container">';
Note: See TracChangeset
for help on using the changeset viewer.