Changeset 1674848
- Timestamp:
- 06/09/2017 02:47:25 PM (9 years ago)
- Location:
- matrixseo
- Files:
-
- 45 added
- 5 edited
-
tags/1.0.4 (added)
-
tags/1.0.4/admin (added)
-
tags/1.0.4/admin/class-matrixseo-admin.php (added)
-
tags/1.0.4/admin/img (added)
-
tags/1.0.4/admin/img/actions_30days.png (added)
-
tags/1.0.4/admin/img/actions_files.png (added)
-
tags/1.0.4/admin/img/api_key.png (added)
-
tags/1.0.4/admin/img/debug.png (added)
-
tags/1.0.4/admin/img/error.png (added)
-
tags/1.0.4/admin/img/index.php (added)
-
tags/1.0.4/admin/img/logo_matrixseo.png (added)
-
tags/1.0.4/admin/img/search_engine_visits.png (added)
-
tags/1.0.4/admin/img/signature.png (added)
-
tags/1.0.4/admin/img/stop_words.png (added)
-
tags/1.0.4/admin/img/success.png (added)
-
tags/1.0.4/admin/img/title_separators.png (added)
-
tags/1.0.4/admin/img/visitors_search_engines.png (added)
-
tags/1.0.4/admin/img/warning.png (added)
-
tags/1.0.4/admin/index.php (added)
-
tags/1.0.4/admin/views (added)
-
tags/1.0.4/admin/views/index.php (added)
-
tags/1.0.4/admin/views/matrixseo-admin-css.php (added)
-
tags/1.0.4/admin/views/matrixseo-admin-js.php (added)
-
tags/1.0.4/admin/views/matrixseo-admin-notice.php (added)
-
tags/1.0.4/admin/views/matrixseo-admin-views.php (added)
-
tags/1.0.4/admin/views/matrixseo-admin-widget.php (added)
-
tags/1.0.4/includes (added)
-
tags/1.0.4/includes/class-matrixseo-activator.php (added)
-
tags/1.0.4/includes/class-matrixseo-deactivator.php (added)
-
tags/1.0.4/includes/class-matrixseo-loader.php (added)
-
tags/1.0.4/includes/class-matrixseo-uninstaller.php (added)
-
tags/1.0.4/includes/class-matrixseo-updater.php (added)
-
tags/1.0.4/includes/class-matrixseo.php (added)
-
tags/1.0.4/includes/index.php (added)
-
tags/1.0.4/index.php (added)
-
tags/1.0.4/lib (added)
-
tags/1.0.4/lib/class-matrixseo-api.php (added)
-
tags/1.0.4/lib/class-matrixseo-config.php (added)
-
tags/1.0.4/lib/class-matrixseo-reactor.php (added)
-
tags/1.0.4/lib/class-matrixseo-utils.php (added)
-
tags/1.0.4/lib/index.php (added)
-
tags/1.0.4/matrixseo.php (added)
-
tags/1.0.4/readme.txt (added)
-
tags/1.0.4/uninstall.php (added)
-
trunk/admin/class-matrixseo-admin.php (modified) (1 diff)
-
trunk/admin/views/matrixseo-admin-css.php (added)
-
trunk/admin/views/matrixseo-admin-views.php (modified) (2 diffs)
-
trunk/includes/class-matrixseo.php (modified) (2 diffs)
-
trunk/matrixseo.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
matrixseo/trunk/admin/class-matrixseo-admin.php
r1673306 r1674848 605 605 } 606 606 } 607 608 /** 609 * @since 1.0.4 610 * @access public 611 * @param void 612 * @return void 613 */ 614 public static function matrixseo_add_css(){ 615 if(isset($_GET['page']) && $_GET['page']==MatrixSeo_Utils::MATRIXSEO) { 616 ?> 617 <!-- <?php echo MatrixSeo_Utils::MATRIXSEO; ?> CSS --> 618 <style> 619 620 <?php include dirname( __FILE__ ) . DIRECTORY_SEPARATOR . "views" . DIRECTORY_SEPARATOR . "matrixseo-admin-css.php"; ?> 621 622 </style> 623 <!-- /<?php echo MatrixSeo_Utils::MATRIXSEO; ?> CSS --> 624 <?php 625 } 626 } 607 627 } -
matrixseo/trunk/admin/views/matrixseo-admin-views.php
r1673306 r1674848 1 1 <?php 2 3 2 /** 4 3 * Provide a admin area view for the plugin … … 18 17 19 18 ?> 20 <style> 21 @import url('https://fonts.googleapis.com/css?family=Voces'); 22 </style> 23 <style> 24 .enable-refs-box{ 25 float: right; 26 } 27 .enable-ips-box{ 28 float: right; 29 } 30 .form-buttons{ 31 margin-top: 32px; 32 width: 100%; 33 text-align: right; 34 clear:both; 35 } 36 p.submit{ 37 display: inline-block; 38 margin-top: 0px; 39 } 40 .button-success{ 41 margin-top: 10px; 42 } 43 .form-buttons p.submit{ 44 padding-top:0; 45 } 46 #ips, #referers { width:100%; } 47 .apiKeyValue { 48 width:100%; 49 display: inline-block; 50 float: right; 51 margin-top:9px; 52 } 53 label{ 54 width:330px !important; 55 display:block; 56 } 57 .header_wrap { 58 background-color: #ffffff; 59 width: 100%; 60 margin-left: -20px; 61 padding-left: 20px; 62 margin-top: 0px; 63 padding-top: 10px; 64 border-bottom: 1px solid #e2e2e2; 65 height: 103px; 66 position: relative; 67 } 68 .pull-left{ 69 float: left; 70 margin-top: 0px; 71 width:100%; 72 height: 100px; 73 } 74 .pull-right{ 75 float: right; 76 width: 20%; 77 } 78 ul.stats-container { 79 width:100%; 80 margin-left:7px; 81 } 82 ul.stats-container li { 83 width: calc((100% - 150px)/ 2); 84 margin-right: 2%; 85 float: left; 86 padding: 20px; 87 background-color: #fff; 88 margin-top: 20px; 89 border: 1px solid #e0e0e0; 90 position: relative; 91 } 92 ul.stats-container li img{ 93 position: absolute; 94 top: 24px; 95 } 96 ul.stats-container li strong{ 97 font-size:20px; 98 font-family: 'Voces', cursive; 99 margin-left: 45px; 100 } 101 .nav-tab-wrapper { 102 margin-bottom:-13px; 103 border-bottom: none; 104 } 105 .nav-tab-wrapper .nav-tab { 106 background: #fff; 107 border: none; 108 font-weight: bold; 109 font-size: 16px; 110 color: #4a4a4a; 111 font-family: 'Voces', cursive; 112 } 113 .nav-tab-wrapper .nav-tab-active { 114 border-bottom: 3px solid #25a9df; 115 } 116 .nav-tab:focus, .nav-tab:hover { 117 border-bottom: 3px solid #25a9df; 118 box-shadow:none; 119 } 120 div.half{ 121 width:43%; float:left; 122 margin-top:20px; 123 } 124 .half h2 { margin-top:0px;font-family:'Voces', cursive; display: inline-block; } 125 .left-half{ 126 float: left; 127 } 128 .right-half{ 129 float: right; 130 } 131 .msnotice{ 132 width: 102%; 133 margin-left: -20px; 134 padding: 10px 0px 10px 10px; 135 margin-top: 5px; 136 margin-bottom: 5px; 137 } 138 ul.stats-container li{ 139 padding: 30px 20px; 140 } 141 ul.stats-container li strong{ 142 font-size: 16px; 143 color: #505050; 144 } 145 .stats-content{ 146 text-align: right; 147 color:#ccc; 148 font-size:24px; 149 font-family:'Voces', cursive; 150 color:#196296; 151 } 152 .settings-form{ 153 margin-top:13px!important; 154 } 155 .nav-tab-wrapper{ 156 height: 24px; margin-top: 100px; 157 } 158 .pull-right-debug{ 159 float: right; 160 width: 45%; 161 } 162 .pull-right-debug label{ 163 width:auto!important; 164 display: inline-block; 165 } 166 .matrixseo-actions{ 167 padding-right:15px; 168 } 169 .matrixseo-actions .search-actions-form div{ 170 display: inline-block; 171 } 172 .matrixseo-actions .search-actions-form div input[type="submit"]{ 173 margin-top:-5px; 174 } 175 .matrixseo-actions table th{ 176 font-weight:700; 177 } 178 .matrixseo-debug h2{ 179 font-family:'Voces', cursive; 180 display: inline-block; 181 } 182 .pull-right-debug{ 183 float: right; 184 margin-top: 10px; 185 text-align: right; 186 } 187 .matrixseo-debug{ 188 padding-right:15px; 189 } 190 191 .full-width{ 192 padding:20px 20px 20px 10px; 193 border:1px solid #e0e0e0!important; 194 } 195 .full-width .left-half{ 196 width:43%; 197 } 198 .full-width .right-half{ 199 width:43%; 200 margin-top:50px; 201 } 202 .matrixseo-settings .full-width{ 203 padding-top:0; 204 } 205 .matrixseo-settings{ 206 padding-right:20px; 207 } 208 .matrixseo-settings .half{ 209 width: 50%; 210 padding: 0; 211 margin: 0; 212 float: left; 213 } 214 .half{ 215 width: 50%!important; 216 padding: 0; 217 margin: 0; 218 float: left; 219 } 220 .matrixseo-settings .half .inside{ 221 padding:20px; background-color:#ffffff; margin:20px; 222 border:1px solid #e0e0e0; 223 min-height:100px!important; 224 position: relative; 225 } 226 .matrixseo-settings .half .inside span{ 227 position: absolute; 228 bottom:0; 229 left:0; 230 } 231 .matrixseo-settings .left-half .inside{ 232 margin: 20px 20px 20px 10px; 233 } 234 .matrixseo-settings .right-half .inside{ 235 margin-left:0; 236 } 237 .half .inside{ 238 padding:20px; background-color:#ffffff; margin:20px; 239 border:1px solid #e0e0e0; 240 } 241 242 .matrixseo-settings .half.right-half{ 243 margin-right:0; 244 float:right; 245 width:50%!important; 246 } 247 .matrixseo-actions .pull-right{ 248 width:30%; 249 text-align:right; 250 padding-right:15px; 251 } 252 .full-inside{ 253 padding:20px; 254 background: #fff; 255 border:1px solid #e0e0e0; 256 } 257 .apiKey img{ 258 float:left; 259 } 260 .title-sep-container{ 261 position: relative; 262 } 263 .title-sep-container h2{ 264 position: absolute; 265 top:-9px; 266 left:42px; 267 } 268 .sw-container h2{ 269 top: -12px; 270 } 271 .third{ 272 display: inline-block; 273 width:33%; 274 vertical-align: top; 275 } 276 .third .inside{ 277 padding:20px; 278 background-color:#ffffff; 279 margin:20px; 280 border:1px solid #e0e0e0; 281 position: relative; 282 min-height:258px; 283 } 284 .third .inside .element-info{ 285 position: absolute; 286 bottom:22px; 287 width:90%; 288 } 289 .titles-box{ 290 margin-bottom:15px; 291 } 292 .bar-container{ 293 position: relative; 294 margin-bottom: 15px; 295 margin-top: 15px; 296 } 297 .bar-container h2{ 298 position: absolute; 299 top: -7px; 300 left: 38px; 301 } 302 .msnotice{ 303 position: absolute; 304 width: 30%; 305 right: 5px; 306 background: #fff; 307 padding: 15px; 308 border-radius: 7px; 309 box-shadow: 1px 1px 2px #e8e8e8; 310 font-size: 14PX; 311 z-index:999; 312 } 313 .msnotice span{ 314 position: absolute; 315 top:17px; 316 } 317 .msnotice-success, div.updated{ 318 border-left-color: #3e9e21; 319 } 320 .debug-title-cont{ 321 position: relative; 322 } 323 .debug-title-cont h2{ 324 position: absolute; 325 top: 10px; 326 left: 44px; 327 } 328 .need-premium{ 329 padding-top:9px; 330 height:53px; 331 } 332 .need-premium img{ 333 margin-left:-5px; 334 margin-right:5px; 335 } 336 .need-premium span{ 337 top:9px; 338 } 339 .header_wrap .pull-left img{ 340 margin-left:7px; 341 } 342 .full-inside{ 343 position: relative; 344 } 345 .full-inside img{ 346 position: absolute; 347 } 348 .full-inside h2{ 349 display: inline-block; 350 padding: 0; 351 margin: 0; 352 margin-left: 45px; 353 height: 47px; 354 margin-top: 5px; 355 } 356 .hamburger{ 357 display: none; 358 } 359 /*.hide{ 360 display: none; 361 }*/ 362 .element-info{ 363 color:#909090; 364 border-top:1px solid #e6e6e6; 365 height:auto; 366 float:left; 367 margin-top:10px; 368 padding-top:4px; 369 width:100%; 370 font-size:14px; 371 font-family:'Voces', cursive; 372 } 373 .element-info a{ 374 font-size:14px; 375 font-family:'Voces', cursive; 376 } 377 @media only screen 378 and (max-device-width : 768px) { 379 ul.stats-container{ 380 widows:auto; 381 } 382 .stats-content{ 383 display: block; 384 width: 100%!important; 385 text-align: center; 386 margin-top: 20px; 387 font-size: 34px; 388 } 389 ul.stats-container li strong{ 390 font-size:16px; 391 color: #505050; 392 text-align:center; 393 width:100%; 394 display:block; 395 margin-left:15px; 396 } 397 ul.stats-container li img{ 398 top:40px; 399 } 400 ul.stats-container li{ 401 width:83%; 402 margin-right:0%; 403 } 404 .header_wrap .pull-left img{ 405 box-shadow: none; 406 outline: 0; 407 } 408 .matrixseo-settings .half{ 409 width:100%!important; 410 } 411 .matrixseo-settings .half.right-half { 412 width:100%!important; 413 } 414 .matrixseo-settings .right-half .inside{ 415 overflow: hidden!important; 416 } 417 .full-width .left-half{ 418 width:100%; 419 } 420 .full-width .right-half{ 421 width:100%; 422 } 423 .enable-ips-box{ 424 padding-top:10px; 425 } 426 .enable-refs-box{ 427 padding-top:10px; 428 } 429 .half .inside .apiKey{ 430 margin-bottom:20px; 431 } 432 .matrixseo-actions .pull-right{ 433 /*width:100%;*/ 434 width:70%; 435 } 436 .matrixseo-actions .bar-container .pull-right{ 437 width:100%; 438 padding: 20px 0px 0px 0px; 439 text-align: center; 440 margin: 0 auto; 441 } 442 .third{ 443 width:100%; 444 } 445 .pull-right-debug { 446 width:50%; 447 } 448 .pull-right-debug span{ 449 display: block; 450 } 451 .nav-tab-wrapper{ 452 background: white; 453 margin-top: 55px; 454 margin-left: -9px; 455 border-bottom:1px solid #ccc; 456 display: none; 457 position: relative; 458 z-index: 9999; 459 } 460 .msnotice{ 461 top: 51px!important; 462 width: 90%; 463 } 464 .nav-tab-wrapper .nav-tab{ 465 width: 90%; 466 } 467 .nav-tab-wrapper .nav-tab:focus{ 468 box-shadow:none; 469 } 470 .hamburger{ 471 display: inline-block; 472 float:left; 473 } 474 .btn-hamburger{ 475 position: absolute; 476 right: 20px; 477 /*top: 14px!important;*/ 478 border: 1px solid #a9a9a9; 479 padding: 10px; 480 background: #fff; 481 color: #25a9df; 482 text-decoration: none; 483 font-size: 22px; 484 border-radius: 7px; 485 } 486 .pull-right.hamburger{ 487 float:left; 488 } 489 .btn-hamburger:active, .btn-hamburger:focus{ 490 box-shadow: none; 491 } 492 .matrixseo-settings .right-half .inside{ 493 margin-left:11px; 494 margin-top:0px; 495 } 496 .matrixseo-settings .inside{ 497 margin-right:10px!important; 498 } 499 .matrixseo-settings .full-inside{ 500 margin-right:-10px!important; 501 } 502 .matrixseo-settings{ 503 padding-right:10px; 504 } 505 .enable-refs-box{ 506 margin-bottom:15px; 507 } 508 .widefat td{ 509 overflow: hidden; 510 text-overflow: ellipsis; 511 } 512 .stats-content .pull-right{ 513 width:10%; 514 } 515 .header_wrap .pull-left img{ 516 max-width:50%; 517 } 518 .header_wrap{ 519 height:65px; 520 } 521 .pull-right-debug { 522 display: block; 523 width: 45%; 524 margin-bottom: 15px; 525 float: right; 526 margin-top: 0; 527 } 528 .third .inside{ 529 min-height:160px; 530 margin-right:30px; 531 } 532 .matrixseo-debug textarea{ 533 font-size:14px; 534 min-height: 100px; 535 } 536 .matrixseo-settings table{ 537 margin:0 auto; 538 } 539 .nav-tab-wrapper .nav-tab-active{ 540 border-bottom:none; 541 border-left: 3px solid #25a9df; 542 } 543 .nav-tab:focus, .nav-tab:hover{ 544 border-bottom:none!important; 545 border-left: 3px solid #25a9df!important; 546 } 547 } 548 @media only screen 549 and (min-device-width: 350px) 550 and (max-device-width: 667px) 551 and (-webkit-min-device-pixel-ratio: 2) 552 and (orientation: landscape) { 553 .matrixseo-settings a{ 554 font-size: 14px!important; 555 } 556 .matrixseo-actions table td a{ 557 font-size: 14px!important; 558 } 559 .hamburger{ 560 float:left; 561 top:14px; 562 } 563 .element-info a{ 564 font-size:inherit!important; 565 font-family:'Voces', cursive; 566 } 567 } 568 569 @media only screen 570 and (min-device-width: 350px) 571 and (max-device-width: 667px) 572 and (-webkit-min-device-pixel-ratio: 2) 573 and (orientation: portrait) { 574 .btn-hamburger{ 575 /*top:63px !important;*/ 576 top:10px !important; 577 } 578 } 579 580 /*@media only screen 581 and (min-device-width: 300px) 582 and (max-device-width: 450px){ 583 .btn-hamburger{ 584 top:14px !important; 585 } 586 }*/ 587 588 @media (min-device-width : 420px) 589 and (max-device-width : 600px) { 590 .btn-hamburger{ 591 top:63px !important; 592 } 593 .matrixseo-settings .right-half .inside table{ 594 width:100%; 595 } 596 .matrixseo-settings .right-half .inside table select{ 597 float:none!important; 598 } 599 ul.stats-container li{ 600 width: 88%; 601 } 602 } 603 @media only screen 604 and (min-device-width : 600px) 605 and (max-device-width : 768px) { 606 /*.btn-hamburger{ 607 top:14px !important; 608 }*/ 609 ul.stats-container li{ 610 width: 90%; 611 } 612 } 613 @media only screen 614 and (min-device-width : 1080px) { 615 ul.stats-container li{ 616 width: calc((100% - 180px)/ 2); 617 } 618 } 619 @media only screen 620 and (min-device-width : 768px) 621 and (max-device-width : 1024px) { 622 .stats-content.pull-right{ 623 width:10%; 624 } 625 .third{ 626 width:48%; 627 } 628 ul.stats-container li { 629 width: calc((100% - 122px) / 2); 630 } 631 } 632 @media only screen 633 and (max-device-width : 360px) { 634 .matrixseo-settings{ 635 padding-right:0px; 636 } 637 .stats-content.pull-right{ 638 width:10%; 639 } 640 ul.stats-container{ 641 margin-left:4px; 642 } 643 .header_wrap{ 644 height:60px; 645 } 646 .header_wrap .pull-left img{ 647 max-width:50%; 648 } 649 .pull-right-debug { 650 display: block; 651 margin-bottom: 15px; 652 } 653 .matrixseo-actions .bar-container .pull-right{ 654 display: block; 655 width:100%; 656 } 657 #wpcontent{ 658 overflow: hidden!important; 659 } 660 .third .inside{ 661 min-height:160px; 662 } 663 ul.stats-container li img { 664 display:none; 665 } 666 } 667 </style> 19 668 20 <div class="header_wrap"> 669 21 <div class="pull-left"> -
matrixseo/trunk/includes/class-matrixseo.php
r1673306 r1674848 62 62 public function __construct() { 63 63 $this->MatrixSeo = 'matrixseo'; 64 $this->version = '1.0. 3';64 $this->version = '1.0.4'; 65 65 $this->load_dependencies(); 66 66 $this->define_admin_hooks(); … … 121 121 $this->loader->add_filter( 'plugin_action_links', $plugin_admin, 'matrixseo_action_links', 10, 5); 122 122 $this->loader->add_action( 'admin_menu', $plugin_admin, 'matrixseo_add_menu_page' ); 123 $this->loader->add_action( 'admin_head', $plugin_admin, 'matrixseo_add_css'); 123 124 $this->loader->add_action( 'admin_footer', $plugin_admin, 'matrixseo_add_js'); 124 125 $this->loader->add_action( 'wp_ajax_matrixseo_ajax_actions', $plugin_admin, 'matrixseo_ajax_actions'); -
matrixseo/trunk/matrixseo.php
r1673306 r1674848 12 12 * Plugin URI: https://www.matrixseo.ai 13 13 * Description: Increase organic traffic with SEO 14 * Version: 1.0. 314 * Version: 1.0.4 15 15 * Author: MatrixSeo 16 16 * Author URI: https://www.matrixseo.ai -
matrixseo/trunk/readme.txt
r1673306 r1674848 3 3 Contributors: MatrixSEO 4 4 Requires at least: 4.0 5 Tested up to: 4. 75 Tested up to: 4.8 6 6 Stable tag: trunk 7 7 License: GPLv2 or later … … 9 9 10 10 == Description == 11 Probably the **bestSEO plugin** for WordPress11 Probably **the most advanced SEO plugin** for WordPress 12 12 13 13 == Screenshots == … … 31 31 32 32 == Changelog == 33 = 1.0.4 = 34 Admin CSS added through W.P. hook. Passed tests for W.P. 4.8. 35 33 36 = 1.0.3 = 34 37 AJAX improved for plugin admin.
Note: See TracChangeset
for help on using the changeset viewer.