Plugin Directory

Changeset 2744168


Ignore:
Timestamp:
06/17/2022 02:03:22 PM (4 years ago)
Author:
hellowoofy10
Message:

Adding 1.0.8 version of plugin

Location:
hellowoofy-com/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • hellowoofy-com/trunk/assets/css/cards.css

    r2742936 r2744168  
    11  .woocommerce-page img {
     2
    23  height: inherit;
    3   }
     4
     5  }
     6
    47  #mwsBtn {
    5   <?php echo esc_html( $icon_pos ); ?>
     8
    69  display: none;
     10
    711  position: fixed;
     12
    813  bottom: 20px;
    9   z-index: 99;
     14
     15  z-index: 99999;
     16
    1017  font-size: 18px;
     18
    1119  border: none;
     20
    1221  outline: none;
     22
    1323  cursor: pointer;
    14   }
     24
     25  }
     26
    1527  a.max_slider_logo {
     28
    1629      text-decoration: none !important;
    17   }
     30
     31  }
     32
    1833  .max_small_device{
     34
    1935  display: none;
    20   }
     36
     37  }
     38
    2139  .max_large_device{
     40
    2241  display: block;
    23   }
     42
     43  }
     44
    2445  .modal-header{
     46
    2547  border:none !important;
    26   }
     48
     49  }
     50
    2751  .modal-dialog {
     52
    2853  width: 100%;
     54
    2955  height: 100%;
    30   }
     56
     57  }
     58
     59
     60
    3161
    3262
    3363.mws_modal_content_cont{
     64
    3465   width:100%; display: flex;
    35 }
     66
     67}
     68
    3669.modal_content_lft{
     70
    3771  width: 19%;
    38 }
     72
     73}
     74
    3975.modal_content_rght{
     76
    4077  width: 80%;
    41 }
     78
     79}
     80
    4281.modal_content_lft a{
     82
    4383    text-decoration: none;
     84
    4485    position: fixed;
     86
    4587    bottom: 20px;
     88
    4689    z-index: 99;
     90
    4791    border: none;
     92
    4893    outline: none;
     94
    4995    cursor: pointer;
    50 }
     96
     97}
     98
    5199.mwx_power_by{
     100
    52101  text-align: center;
     102
    53103  font-size: 24px;
     104
    54105  font-weight: 600;
     106
    55107  line-height: 31px;
    56 }
     108
     109}
     110
    57111.modal_content_lft a img{
     112
    58113  width: 220px;
    59 }
     114
     115}
     116
    60117.modal_content_lft a:hover{
     118
    61119  text-decoration: none;
    62 }
     120
     121}
     122
     123
    63124
    64125.entry-points {
     126
    65127  display: flex;
     128
    66129  overflow-y: visible;
     130
    67131  scrollbar-width: none;
     132
    68133  padding-right: 36px;
     134
    69135  padding-left: 36px;
    70 }
     136
     137}
     138
    71139.entry-point-card-img {
     140
    72141  object-fit: cover;
     142
    73143  width: 100%;
     144
    74145  height: 100%;
     146
    75147  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
     148
    76149  border-radius: 16px;
    77 }
     150
     151}
     152
    78153.entry-point-card-container:after {
     154
    79155  top: 0;
     156
    80157  right: 0;
     158
    81159  left: 0;
     160
    82161  bottom: 0;
     162
    83163  background: linear-gradient(
     164
    84165    180deg,
     166
    85167    rgba(0, 0, 0, 0.0001) 49.88%,
     168
    86169    rgba(0, 0, 0, 0.9) 100%
     170
    87171  );
     172
    88173  height: 100%;
     174
    89175  width: 100%;
     176
    90177  position: absolute;
     178
    91179  border-radius: 16px;
     180
    92181  content: "";
    93 }
     182
     183}
     184
    94185.entry-point-arrow {
     186
    95187  z-index: 1;
     188
    96189  cursor: pointer;
     190
    97191  background-repeat: no-repeat;
     192
    98193  background-position: 50%;
     194
    99195  background-size: 14px 24px;
     196
    100197  border: 0px;
     198
    101199  background-color: #000000;
     200
    102201  outline: transparent;
     202
    103203  height: 48px;
     204
    104205  width: 48px;
     206
    105207  min-width: 48px;
     208
    106209  position: absolute;
     210
    107211  border-radius: 50%;
     212
    108213  padding: 0px;
     214
    109215  box-shadow: 0px 0px 10px rgba(60, 64, 67, 0.3);
     216
    110217  visibility: hidden;
     218
    111219  background-image: url('data:image/svg+xml;charset=utf-8,<svg width="14" height="24" viewBox="0 0 14 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 2.82L8.65317 12L0 21.18L2.66397 24L14 12L2.66397 0L0 2.82Z" fill="white"/></svg>');
    112 }
     220
     221}
     222
     223
    113224
    114225.visible {
     226
    115227  visibility: visible;
    116 }
     228
     229}
     230
     231
    117232
    118233.entry-point-left-arrow {
     234
    119235  left: 68px;
     236
    120237  transform: rotate(-180deg);
    121 }
     238
     239}
     240
     241
    122242
    123243.entry-point-right-arrow {
     244
    124245  right: 68px;
    125 }
     246
     247}
     248
     249
    126250
    127251.entry-point-card-container {
     252
    128253  flex-shrink: 0;
     254
    129255  cursor: pointer;
     256
    130257  position: relative;
     258
    131259  width: 250px;
     260
    132261  height: 350px;
     262
    133263  opacity: 1;
     264
    134265  transform: scale(1);
     266
    135267  visibility: visible;
     268
    136269  transition: opacity 0.33s, transform 0.33s, visibility 0.33s;
    137 }
     270
     271}
     272
    138273.entry-point-card-container2 {
     274
    139275  flex-shrink: 0;
     276
    140277  cursor: pointer;
     278
    141279  position: relative;
     280
    142281  width: 220px;
     282
    143283  height: 350px;
     284
    144285  opacity: 1;
     286
    145287  transform: scale(1);
     288
    146289  visibility: visible;
     290
    147291  transition: opacity 0.33s, transform 0.33s, visibility 0.33s;
    148 }
     292
     293}
     294
    149295.max_width{
     296
    150297  width: 220px !important;
     298
    151299  height: 300px !important;
    152 }
     300
     301}
     302
     303
    153304
    154305.entry-point-card-container.hidden {
     306
    155307  opacity: 0;
     308
    156309  visibility: hidden;
    157 }
     310
     311}
     312
     313
    158314
    159315.background-cards {
     316
    160317  display: flex;
     318
    161319  align-items: center;
     320
    162321  z-index: -1;
     322
    163323  position: absolute;
     324
    164325  top: 0;
     326
    165327  right: 0;
     328
    166329  bottom: 0;
     330
    167331  transition: transform 0.2s;
     332
    168333  transform: translate3d(0px, 0px, 0px);
    169 }
     334
     335}
     336
     337
    170338
    171339.entry-point-card-container:hover .background-cards {
     340
    172341  transform: translate3d(24px, 0px, 0px);
    173 }
     342
     343}
     344
     345
    174346
    175347.background-card-1 {
     348
    176349  background: #000000;
     350
    177351  margin: 0px 2px;
     352
    178353  width: 10px;
     354
    179355  height: 368px;
     356
    180357  border-top-right-radius: 16px;
     358
    181359  border-bottom-right-radius: 16px;
    182 }
     360
     361}
     362
     363
    183364
    184365.background-card-2 {
     366
    185367  background: #4d4d4d;
     368
    186369  width: 10px;
     370
    187371  height: 336px;
     372
    188373  border-top-right-radius: 16px;
     374
    189375  border-bottom-right-radius: 16px;
    190 }
     376
     377}
     378
     379
    191380
    192381.author-container {
     382
    193383  position: absolute;
     384
    194385  display: flex;
     386
    195387  align-items: center;
     388
    196389  top: 24px;
     390
    197391  left: 24px;
    198 }
     392
     393}
     394
     395
    199396
    200397.card-headline-container {
     398
    201399  position: absolute;
     400
    202401  bottom: 2px;
     402
    203403  text-align: left;
     404
    204405  padding: 24px;
     406
    205407  z-index: 1;
    206 }
     408
     409}
     410
    207411.card-headline-container_admin {
     412
    208413  position: absolute;
     414
    209415  bottom: -24px;
     416
    210417  padding: 24px;
     418
    211419  z-index: 1;
     420
    212421  right: -15px;
    213 }
     422
     423}
     424
     425
    214426
    215427.entry-point-card-headline {
     428
    216429  color: #fff;
     430
    217431  font-weight: 700;
     432
    218433  font-family: "Poppins", sans-serif;
     434
    219435  text-transform: uppercase;
     436
    220437 /* font-size: 24px;*/
     438
    221439  line-height: 26px;
    222 }
     440
     441}
     442
     443
    223444
    224445.entry-point-card-subtitle {
     446
    225447  color: #fff;
     448
    226449  font-weight: 700;
     450
    227451  font-family: "Noto Sans", sans-serif;
     452
    228453  text-transform: uppercase;
     454
    229455  font-size: 11px;
     456
    230457  line-height: 15px;
    231 }
     458
     459}
     460
     461
    232462
    233463.logo-container {
     464
    234465  display: flex;
     466
    235467  align-items: center;
     468
    236469  justify-content: center;
     470
    237471  width: 38px;
     472
    238473  height: 38px;
     474
    239475  position: relative;
     476
    240477  margin-right: 10px;
    241 }
     478
     479}
     480
     481
    242482
    243483.logo-ring {
     484
    244485  width: 46px;
     486
    245487  height: 46px;
     488
    246489  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220' width='100%25' height='100%25' preserveAspectRatio='none'><defs><linearGradient id='gradient'><stop offset='0' style='stop-color:%232BAC95' /><stop offset='1' style='stop-color:%236EB6F9' /></linearGradient></defs><ellipse ry='100' rx='100' cy='110' cx='110' style='fill:none;stroke:url(%23gradient);stroke-width:6;' /></svg>");
     490
    247491  border-radius: 100%;
     492
    248493  position: absolute;
    249 }
     494
     495}
     496
     497
    250498
    251499.entry-point-card-logo {
     500
    252501  border-radius: 100%;
     502
    253503  width: 38px;
     504
    254505  height: 38px;
     506
    255507  filter: drop-shadow(0px 0px 20px rgba(255, 255, 255, 0.25));
    256 }
     508
     509}
     510
    257511.main_cont{
     512
    258513  display:flex;    flex-wrap: wrap; width:100%;
    259 }
     514
     515}
     516
    260517.single_story_cont {
     518
    261519width:25%; padding-top:20px;
    262 }
     520
     521}
     522
    263523.story_link{
     524
    264525display:flex;
     526
    265527justify-content:center;
    266 }
     528
     529}
     530
    267531/* The Modal (background) */
    268 .modal {
     532
     533.mws_modal {
     534
    269535display: none; /* Hidden by default */
     536
    270537position: fixed; /* Stay in place */
    271 z-index: 1000; /* Sit on top */
     538
     539z-index: 999999; /* Sit on top */
     540
    272541left: 0;
     542
    273543top: 0;
     544
    274545width: 100%; /* Full width */
     546
    275547height: 100%; /* Full height */
     548
    276549overflow: auto; /* Enable scroll if needed */
     550
    277551background-color: rgb(0,0,0); /* Fallback color */
     552
    278553background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    279 }
     554
     555}
     556
     557
    280558
    281559/* Modal Content/Box */
     560
    282561.modal-content {
     562
    283563background-color: #fefefe;  /* 15% from the top and centered */
     564
    284565padding: 20px;
     566
    285567border: 1px solid #888;
     568
    286569width: 100%;
     570
    287571min-height: -webkit-fill-available;
    288 }
     572
     573}
     574
     575
    289576
    290577/* The mwsClose Button */
     578
    291579.mwsClose {
     580
    292581color: #aaa;
     582
    293583float: right;
     584
    294585font-size: 28px;
     586
    295587font-weight: bold;
    296 }
     588
     589}
     590
     591
    297592
    298593.mwsClose:hover,
     594
    299595.mwsClose:focus {
     596
    300597color: black;
     598
    301599text-decoration: none;
     600
    302601cursor: pointer;
    303 }
     602
     603}
     604
     605
    304606
    305607@media only screen and (max-width: 1280px) {
     608
    306609  .entry-point-card-container{
     610
    307611  width: 234px !important;
     612
    308613  height: 350px !important;
    309   }
    310 }
     614
     615  }
     616
     617}
     618
    311619@media only screen and (max-width: 1024px) {
     620
    312621  .entry-point-card-container{
     622
    313623  width: 165px !important;
     624
    314625  height: 230px !important;
    315   }
     626
     627  }
     628
    316629  .modal_content_lft a img{
     630
    317631  width: 180px;
    318 }
     632
     633}
     634
    319635  .entry-point-card-container2 {
     636
    320637  flex-shrink: 0;
     638
    321639  cursor: pointer;
     640
    322641  position: relative;
     642
    323643  width: 220px;
     644
    324645  height: 350px;
     646
    325647  opacity: 1;
     648
    326649  transform: scale(1);
     650
    327651  visibility: visible;
     652
    328653  transition: opacity 0.33s, transform 0.33s, visibility 0.33s;
    329 }
    330 }
     654
     655}
     656
     657}
     658
    331659@media only screen and (max-width: 920px) {
     660
    332661  .single_story_cont {
     662
    333663    width: 33%;
    334   }
     664
     665  }
     666
    335667     .max_large_device{
     668
    336669      display: none;
     670
    337671    }
     672
    338673    .max_small_device{
     674
    339675      display: block;
     676
    340677    }
    341 }
     678
     679}
     680
    342681@media only screen and (max-width: 600px) {
     682
    343683  .single_story_cont {
     684
    344685    width: 49%;
    345   }
     686
     687  }
     688
    346689   .mwx_power_by{
     690
    347691    font-size: 16px;
    348   }
     692
     693  }
     694
    349695    .modal_content_lft a img{
     696
    350697  width: 100px;
    351 }
    352 
    353 }
     698
     699}
     700
     701
     702
     703}
     704
    354705@media only screen and (max-width: 420px) {
     706
    355707  .entry-point-card-container {
     708
    356709    width: 125px !important;
     710
    357711    height: 170px !important;
    358   }
     712
     713  }
     714
    359715  .mwx_power_by{
     716
    360717    font-size: 12px;
    361   }
     718
     719  }
     720
    362721  .mws_modal_content_cont{
     722
    363723    display: block;
    364   }
     724
     725  }
     726
    365727  .modal_content_lft {
     728
    366729     width: 100%;
     730
    367731     text-align: center;
    368 }
     732
     733}
     734
    369735.modal_content_rght{
     736
    370737  width: 100%;
    371 }
     738
     739}
     740
    372741.modal_content_lft a {
     742
    373743    text-decoration: none;
     744
    374745    z-index: 99;
     746
    375747    position: relative;
     748
    376749    border: none;
     750
    377751    outline: none;
     752
    378753    cursor: pointer;
     754
    379755    padding-left: 0px;
    380 }
     756
     757}
     758
    381759.entry-point-card-headline{
     760
    382761   display: none;
    383 }
    384 
    385 
    386 }
     762
     763}
     764
     765
     766
     767
     768
     769}
     770
     771
    387772
    388773/* Mobile CSS rules here*/
     774
    389775@media only screen and (hover: none) and (pointer: coarse) {
     776
    390777  .entry-point-card-container {
     778
    391779   /* width: 180px;
     780
    392781    height: 300px; */
    393   }
     782
     783  }
     784
     785
     786
    394787
    395788
    396789  .entry-point-card-container.hidden {
     790
    397791    transform: scale(1.2);
    398   }
     792
     793  }
     794
     795
    399796
    400797  .author-container {
     798
    401799    top: 16px;
     800
    402801    left: 16px;
    403   }
     802
     803  }
     804
     805
    404806
    405807  .logo-container,
     808
    406809  .entry-point-card-logo {
     810
    407811    width: 20px;
     812
    408813    height: 20px;
    409   }
     814
     815  }
     816
     817
    410818
    411819  .logo-ring {
     820
    412821    width: 26px;
     822
    413823    height: 26px;
    414   }
     824
     825  }
     826
     827
    415828
    416829  .entry-point-card-subtitle {
     830
    417831    font-size: 10px;
     832
    418833    line-height: 14px;
    419   }
     834
     835  }
     836
     837
    420838
    421839  .entry-point-card-headline {
     840
    422841    font-size: 18px;
     842
    423843    line-height: 20px;
    424   }
     844
     845  }
     846
     847
    425848
    426849  .card-headline-container {
     850
    427851    padding: 16px;
    428   }
     852
     853  }
     854
     855
    429856
    430857  .background-cards {
     858
    431859    display: none;
    432   }
    433 }
     860
     861  }
     862
     863}
  • hellowoofy-com/trunk/endpoints/class-mws-custom-endpoints.php

    r2742261 r2744168  
    158158        $user_id = stristr( $key_decode, '=', true );
    159159        $image_url = $request->get_param( 'journalPostFeaturedImage' );
     160        echo $image_url;
    160161
    161162        // create array for Post.
     
    231232     */
    232233    public function max_woofy_insert_attachment( $image_url, $post_id = null, $user_id ) {
    233         if ( ! function_exists( 'media_handle_upload' )
    234            && user_can( $user_id, 'edit_posts' ) ) {
    235234            require_once ABSPATH . 'wp-admin/includes/media.php';
    236235            require_once ABSPATH . 'wp-admin/includes/file.php';
     
    244243            }
    245244            return wp_get_attachment_image_src( $img_id );
    246         } else {
    247             return new WP_Error( 400, __( "Check 'media_handle_upload' failed", 'woofy' ) );
    248         }
     245       
    249246    }
    250247
  • hellowoofy-com/trunk/hellowoofy-com.php

    r2742936 r2744168  
    44 * Plugin URI: https://hellowoofy.com/hellowoofy-wordpress-plugin/
    55 * Description: Create marketing content automatically using data science.
    6  * Version: 1.0.7
     6 * Version: 1.0.8
    77 * Author: HelloWoofy.com
    88 * Author URI: https://hellowoofy.com
     
    3939}
    4040if ( ! defined( 'MWS_PLUGIN_VERSION' ) ) {
    41     define( 'MWS_PLUGIN_VERSION', '1.0.7' );
     41    define( 'MWS_PLUGIN_VERSION', '1.0.8' );
    4242}
    4343
  • hellowoofy-com/trunk/public/slider-html.php

    r2742936 r2744168  
    2525}
    2626$get_selected_pages = get_option( 'max_select_page' );
    27 if ( ! empty( $get_selected_pages ) ) {
     27if ( ! empty( $get_selected_pages ) && ! empty( $check_enable ) ) {
    2828    if ( in_array( $post_slug, $get_selected_pages ) ) {
    2929        wp_enqueue_style( 'mws_pubilc_card_css' );
     
    5757    <?php } ?>
    5858
    59     <div id="mwsModal" class="modal">                           
     59    <div id="mwsModal" class="mws_modal">                           
    6060        <!-- Modal content -->
    6161        <div class="modal-content">
  • hellowoofy-com/trunk/readme.txt

    r2742936 r2744168  
    55Requires at least: 3.5
    66Tested up to: 6.0
    7 Stable tag: 1.0.7
     7Stable tag: 1.0.8
    88Requires PHP: 5.6.20
    99License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.