Changeset 3447348
- Timestamp:
- 01/26/2026 08:06:01 PM (2 months ago)
- Location:
- hootkit/trunk
- Files:
-
- 9 edited
-
README.txt (modified) (2 diffs)
-
hootkit.php (modified) (2 diffs)
-
include/class-themes.php (modified) (3 diffs)
-
languages/hootkit.pot (modified) (5 diffs)
-
misc/import/assets/hootkitimport.css (modified) (5 diffs)
-
misc/import/assets/hootkitimport.scss (modified) (4 diffs)
-
misc/import/include/class-admin.php (modified) (1 diff)
-
misc/import/include/demopacks.php (modified) (2 diffs)
-
misc/tools/import.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
hootkit/trunk/README.txt
r3427771 r3447348 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 3.0. 37 Stable tag: 3.0.4 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html … … 47 47 48 48 == Changelog == 49 50 = 3.0.4 = 51 * Minor CSS and display fixes 52 * Updated new demopacks manifest for theme importer 49 53 50 54 = 3.0.3 = -
hootkit/trunk/hootkit.php
r3427771 r3447348 3 3 * Plugin Name: HootKit 4 4 * Description: HootKit is a great companion plugin for WordPress themes by wpHoot. 5 * Version: 3.0. 35 * Version: 3.0.4 6 6 * Requires at least: 6.0 7 7 * Requires PHP: 7.4 … … 64 64 65 65 // Plugin Info 66 $this->version = '3.0. 3';66 $this->version = '3.0.4'; 67 67 $this->name = 'HootKit'; 68 68 $this->slug = 'hootkit'; -
hootkit/trunk/include/class-themes.php
r3424880 r3447348 142 142 case 'archivetypepnote': 143 143 case 'singlemetapnote': 144 case 'topbar_colorscheme_pnote': 144 145 case 'menu_colorscheme_pnote': 146 case 'heading_size_pnote': 145 147 case 'article_background_pnote': 146 148 case 'article_maxwidth_pnote': … … 162 164 $ntx = esc_html__( 'The premium version comes with control to hide meta information for each individual Page/Post.', 'hootkit' ); 163 165 break; 166 case 'topbar_colorscheme_pnote': 164 167 case 'menu_colorscheme_pnote': 165 $ntx = esc_html__( 'The premium version allows custom font and background colors for Main Menu area.', 'hootkit' ); 168 $ntx = esc_html__( 'The premium version allows custom font/background colors for this area.', 'hootkit' ); 169 break; 170 case 'heading_size_pnote': 171 $ntx = esc_html__( 'Set Custom Sizes for H1–H6, Page titles, Blog titles and more in Premium version.', 'hootkit' ); 166 172 break; 167 173 case 'article_background_pnote': … … 176 182 if ( !empty( $placeholder ) && is_array( $placeholder ) && ( !isset( $placeholder['type'] ) || $placeholder['type'] === 'note' ) ) { 177 183 $options['settings'][ $filter ]['type'] = 'content'; 178 $options['settings'][ $filter ]['class'] = 'hootnote hootnote--us';184 $options['settings'][ $filter ]['class'] = !empty( $placeholder['class'] ) && is_string( $placeholder['class'] ) ? $placeholder['class'] : 'hootnote hootnote--us'; 179 185 $options['settings'][ $filter ]['content'] = $ntx; 180 186 } -
hootkit/trunk/languages/hootkit.pot
r3430756 r3447348 4 4 "Project-Id-Version: HootKit\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2026-01- 01 18:30+0530\n"6 "POT-Creation-Date: 2026-01-26 23:41+0530\n" 7 7 "PO-Revision-Date: 2021-12-04 00:48+0530\n" 8 8 "Last-Translator: wpHoot <admin@wphoot.com>\n" … … 438 438 msgstr "" 439 439 440 #: ../include/class-themes.php:15 0440 #: ../include/class-themes.php:152 441 441 msgid "The premium version comes with color and background options for different sections of your site like Header, Menu Dropdown, Logo background, Footer etc." 442 442 msgstr "" 443 443 444 #: ../include/class-themes.php:15 3444 #: ../include/class-themes.php:155 445 445 #, php-format 446 446 msgid "Premium comes with full typography control. Select size, color, style etc for different headings, tagline, menus, footer, sidebar, content sections and more... Choose from %1$sover 600+ Google Fonts%2$s to match your design." 447 447 msgstr "" 448 448 449 #: ../include/class-themes.php:15 6449 #: ../include/class-themes.php:158 450 450 #, php-format 451 451 msgid "Premium comes with full typography control. Select size, color, style etc for different %3$sheadings%4$s , %3$stagline%4$s , %3$smenus%4$s , %3$sfooter%4$s , %3$ssidebar%4$s , %3$scontent sections%4$s and more..." 452 452 msgstr "" 453 453 454 #: ../include/class-themes.php:1 59454 #: ../include/class-themes.php:161 455 455 #, php-format 456 456 msgid "The premium version comes with additional archive Layout styles including %1$sMosaic layouts%2$s." 457 457 msgstr "" 458 458 459 #: ../include/class-themes.php:16 2459 #: ../include/class-themes.php:164 460 460 msgid "The premium version comes with control to hide meta information for each individual Page/Post." 461 461 msgstr "" 462 462 463 #: ../include/class-themes.php:165464 msgid "The premium version allows custom font and background colors for Main Menu area."465 msgstr ""466 467 463 #: ../include/class-themes.php:168 464 msgid "The premium version allows custom font/background colors for this area." 465 msgstr "" 466 467 #: ../include/class-themes.php:171 468 msgid "Set Custom Sizes for H1–H6, Page titles, Blog titles and more in Premium version." 469 msgstr "" 470 471 #: ../include/class-themes.php:174 468 472 msgid "The premium version allows selecting article background for each individual Page/Post." 469 473 msgstr "" 470 474 471 #: ../include/class-themes.php:17 1475 #: ../include/class-themes.php:177 472 476 msgid "The premium version allows selecting article max-width for each individual Page/Post." 473 477 msgstr "" … … 798 802 799 803 #: ../misc/import/include/class-admin.php:497 800 msgid "You are importig the free version of the demo site. This may not include some of the features and widgets available in premium."804 msgid "You are importig the free version of the demo site. This may not include some of the premium widgets." 801 805 msgstr "" 802 806 … … 1077 1081 #: ../misc/import/include/demopacks.php:64 1078 1082 msgid "Booster Base" 1083 msgstr "" 1084 1085 #: ../misc/import/include/demopacks.php:71 1086 msgid "Booster Lucore" 1087 msgstr "" 1088 1089 #: ../misc/import/include/demopacks.php:78 1090 msgid "Booster News" 1091 msgstr "" 1092 1093 #: ../misc/import/include/demopacks.php:85 1094 msgid "Booster Byte" 1079 1095 msgstr "" 1080 1096 … … 1392 1408 msgstr "" 1393 1409 1394 #: ../misc/tools/import.php:44 ../misc/tools/import.php: 591410 #: ../misc/tools/import.php:44 ../misc/tools/import.php:61 1395 1411 msgid "Something went wrong. Customizer settings were not imported. Please try again later." 1396 1412 msgstr "" 1397 1413 1398 #: ../misc/tools/import.php:5 71414 #: ../misc/tools/import.php:59 1399 1415 #, php-format 1400 1416 msgid "%s Customizer Settings imported successfully." 1401 1417 msgstr "" 1402 1418 1403 #: ../misc/tools/import.php:7 51419 #: ../misc/tools/import.php:77 1404 1420 msgid "Import Settings" 1405 1421 msgstr "" -
hootkit/trunk/misc/import/assets/hootkitimport.css
r3422277 r3447348 14 14 background: #eee; 15 15 padding: 5px 10px; 16 } 17 18 /*** Layout ***/ 19 .hootabt-hkimp-multisingle.hootabt-widen .hootabt-gridgen, .hootabt-hkimp-multisingle.hootabt-widen .hootabt-gridbox, .hootabt-hkimp-multisingle.hootabt-widen .hootabt-gridconbox, .hootabt-hkimp-multisingle.hootabt-widen .hootabt-gridflex, 20 .hootabt-hkimp-multi.hootabt-widen .hootabt-gridgen, 21 .hootabt-hkimp-multi.hootabt-widen .hootabt-gridbox, 22 .hootabt-hkimp-multi.hootabt-widen .hootabt-gridconbox, 23 .hootabt-hkimp-multi.hootabt-widen .hootabt-gridflex { 24 max-width: 1350px; 25 } 26 27 .hootabt-hkimp-multisingle .hootimp-content { 28 max-width: 938px; 29 margin: 0 auto; 30 } 31 32 .hootabt-hkimp-multi .hootabt-blockid--grid-hki { 33 background: none; 34 padding: 0; 35 border: none; 36 } 37 .hootabt-hkimp-multi .hootkitimp_idx { 38 padding-left: 0; 39 padding-right: 0; 40 } 41 .hootabt-hkimp-multi .hootkitimp_idx .hootkitimp_idx-item { 42 overflow: hidden; 43 border-color: #c9d2d7; 44 transition: box-shadow 0.3s ease; 45 } 46 .hootabt-hkimp-multi .hootkitimp_idx .hootkitimp_idx-item:hover { 47 box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3); 48 } 49 .hootabt-hkimp-multi .hootkitimp_idx .hootkitimp_idx-ss { 50 height: 475px; 51 } 52 .hootabt-hkimp-multi .hootkitimp_idx .hootkitimp_idx-previewlink { 53 background: rgba(255, 255, 255, 0.5); 54 } 55 .hootabt-hkimp-multi .hootkitimp_idx .hootkitimp_idx-foot { 56 box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.2); 16 57 } 17 58 … … 83 124 text-transform: uppercase; 84 125 font-weight: 500; 85 background: rgba( 255, 255, 255, 0.7);126 background: rgba(0, 0, 0, 0.1); 86 127 } 87 128 .hootkitimp_idx-previewlink em { … … 91 132 border-radius: 5px; 92 133 border: solid 1px #ddd; 134 } 135 .hootkitimp_idx-previewlink em { 136 box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.3); 137 border-radius: 0; 93 138 } 94 139 … … 200 245 border: 1px solid; 201 246 position: relative; 202 border-color: #ddb9c4; 203 background: #f9f2f4; 247 border-color: #d1cecf; 248 background: #fffafb; 249 color: #7f3048; 204 250 } 205 251 … … 227 273 } 228 274 229 div.hootimp-footer.hootabt-gridgen { 230 margin-top: -15px; 275 div.hootimp-footer.hootabt-gridgen { /* margin-top: -15px; */ 231 276 margin-bottom: 0; 232 277 } -
hootkit/trunk/misc/import/assets/hootkitimport.scss
r3422277 r3447348 18 18 .hootimp-highlight { font-style: normal; color: $accent; } 19 19 .hootimp-highlightbg { background: #eee; padding: 5px 10px; } 20 21 22 23 /*** Layout ***/ 24 #hootabt-wrap.hootabt-hkimp-multi {} 25 #hootabt-wrap.hootabt-hkimp-multisingle {} 26 // == theme's div structure == 27 .hootabt-hkimp-multisingle, 28 .hootabt-hkimp-multi { 29 &.hootabt-widen { 30 .hootabt-gridgen, .hootabt-gridbox, .hootabt-gridconbox, .hootabt-gridflex { max-width: 1350px; } 31 } 32 } 33 // == hkit's div structure == 34 .hootabt-hkimp-multisingle { 35 .hootimp-content { max-width: 938px; margin: 0 auto; } // keeping same as 980px - 40px padding - 2px border when not widened 36 } 37 .hootabt-hkimp-multi { 38 .hootabt-blockid--grid-hki { 39 background: none; padding: 0; border: none; 40 } 41 .hootkitimp_idx { 42 padding-left: 0; padding-right: 0; 43 .hootkitimp_idx-item { 44 overflow: hidden; 45 border-color: #c9d2d7; 46 transition: box-shadow 0.3s ease; 47 &:hover { box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3); } 48 } 49 .hootkitimp_idx-ss { height: 475px; } 50 .hootkitimp_idx-previewlink { background: rgba(255, 255, 255, 0.5); } 51 .hootkitimp_idx-foot { box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.2); } 52 } 53 } 20 54 21 55 … … 72 106 justify-content: center; align-items: center; 73 107 font-size: 16px; text-decoration: none; text-transform: uppercase; font-weight: 500; 74 background: rgba( 255,255,255,0.7);108 background: rgba(0,0,0,0.1); 75 109 em { font-style: normal; background: #fff; padding: 7px 14px; border-radius: 5px; border: solid 1px #ddd; } 110 em { box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.3); border-radius: 0; } 76 111 } 77 112 .hootkitimp_idx-more .hootkitimp_idx-ss { … … 130 165 border: 1px solid; 131 166 position: relative; 132 border-color: #ddb9c4; 133 background: #f9f2f4; 167 border-color: #d1cecf; background: #fffafb; color: #7f3048; 134 168 } 135 169 … … 150 184 .hootabt-blockdesc { background: #fafafa; border: solid 1px #ddd; padding: 8px 25px; text-align: right; } 151 185 } 152 div.hootimp-footer.hootabt-gridgen { margin-top: -15px;margin-bottom: 0; }186 div.hootimp-footer.hootabt-gridgen { /* margin-top: -15px; */ margin-bottom: 0; } 153 187 154 188 /*** Demo Install ***/ -
hootkit/trunk/misc/import/include/class-admin.php
r3422277 r3447348 495 495 $mflogentry = get_option( 'hootkitimport_mflogs' ); 496 496 if ( !empty( $mflogentry ) && is_array( $mflogentry ) && empty( $mflogentry['proversion'] ) ) 497 echo '<p class="hootkitimp-single-warning"><span class="dashicons dashicons-info-outline"></span> ' . esc_html__( 'You are importig the free version of the demo site. This may not include some of the features and widgets available in premium.', 'hootkit' ) . '</p>';497 echo '<p class="hootkitimp-single-warning"><span class="dashicons dashicons-info-outline"></span> ' . esc_html__( 'You are importig the free version of the demo site. This may not include some of the premium widgets.', 'hootkit' ) . '</p>'; 498 498 } 499 499 ?> -
hootkit/trunk/misc/import/include/demopacks.php
r3430756 r3447348 54 54 55 55 'magazine-booster' => array( 56 'demos' => array( 'booster-base' ),56 'demos' => array( 'booster-base', 'booster-byte', 'booster-lucore', 'booster-news' ), 57 57 'demospro' => array( ), 58 'list' => array( 'booster-base' ),58 'list' => array( 'booster-base', 'booster-byte', 'booster-lucore', 'booster-news' ), 59 59 ), 60 60 'magazine-booster-premium' => array( 61 'demos' => array( 'booster-base-premium' )61 'demos' => array( 'booster-base-premium', 'booster-byte-premium', 'booster-lucore-premium', 'booster-news-premium' ) 62 62 ), 63 63 'booster-base' => array( … … 68 68 'plugins' => array( 'hootkit', 'contact-form-7', 'breadcrumb-navxt', 'woocommerce', 'newsletter' ) 69 69 ), 70 'booster-lucore' => array( 71 'name' => __( 'Booster Lucore', 'hootkit' ) . $suffix, 72 'img' => 'booster-lucore.jpg', 73 'thumb' => 'booster-lucore-thumb.jpg', 74 'preview' => 'https://demosites.wphoot.com/booster-lucore/', 75 'plugins' => array( 'hootkit', 'contact-form-7', 'breadcrumb-navxt', 'woocommerce', 'newsletter' ) 76 ), 77 'booster-news' => array( 78 'name' => __( 'Booster News', 'hootkit' ) . $suffix, 79 'img' => 'booster-news.jpg', 80 'thumb' => 'booster-news-thumb.jpg', 81 'preview' => 'https://demosites.wphoot.com/booster-news/', 82 'plugins' => array( 'hootkit', 'contact-form-7', 'breadcrumb-navxt', 'woocommerce', 'newsletter' ) 83 ), 84 'booster-byte' => array( 85 'name' => __( 'Booster Byte', 'hootkit' ) . $suffix, 86 'img' => 'booster-byte.jpg', 87 'thumb' => 'booster-byte-thumb.png', 88 'preview' => 'https://demosites.wphoot.com/booster-byte/', 89 'plugins' => array( 'hootkit', 'contact-form-7', 'breadcrumb-navxt', 'woocommerce', 'newsletter' ) 90 ), 70 91 71 92 ) ); -
hootkit/trunk/misc/tools/import.php
r3401386 r3447348 52 52 foreach ( $mods as $key => $value ) { 53 53 $key = sanitize_key( $key ); 54 set_theme_mod( $key, $value ); 55 $done++; 54 if ( $key !== 'sidebars_widgets' ) { 55 set_theme_mod( $key, $value ); 56 $done++; 57 } 56 58 } 57 59 ?><p class="hootabt-notice hootabt-notice--success"><span class="dashicons dashicons-yes"></span> <?php printf( esc_html__( '%s Customizer Settings imported successfully.', 'hootkit' ), $done ); ?></p><?php
Note: See TracChangeset
for help on using the changeset viewer.