Plugin Directory

Changeset 3534693

Timestamp:
05/17/2026 05:26:01 PM (2 months ago)
Author:
hockyfan
Message:

Update Adslastica to version 1.6.1

Location:
adslastica/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • adslastica/trunk/adslastica.php

    r3529945 r3534693  
    33 * Plugin Name: Adslastica
    44 * Description: Simple AdSense helper for manual ad placements via shortcodes.
    5  * Version: 1.6.0
     5 * Version: 1.6.1
    66 * Author: digidepot
    77 * License: GPL2+
     
    1313}
    1414
    15 define( 'ADSLASTICA_VERSION', '1.6.0' );
     15define( 'ADSLASTICA_VERSION', '1.6.1' );
    1616
    1717add_action( 'admin_menu', 'adslastica_add_admin_menu' );
     
    138138                '
    139139                .adslastica-wrap {
    140                         max-width: 760px;
     140                        max-width: 900px;
    141141                }
    142142
     
    148148                        margin-top: 18px;
    149149                        border-radius: 8px;
    150                         max-width: 720px;
     150                        max-width: 860px;
    151151                        box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    152152                }
     
    160160                }
    161161
    162                 .adslastica-shortcode {
     162                .adslastica-shortcode-box {
     163                        width: 220px;
     164                        padding: 8px 10px;
     165                        font-size: 16px;
     166                        font-family: Consolas, Monaco, monospace;
     167                        background: #f6f7f7;
     168                        border: 1px solid #c3c4c7;
     169                        border-radius: 4px;
     170                        margin: 8px 0 14px;
    163171                        display: block;
    164                         margin-top: 14px;
    165                         padding-top: 4px;
    166                         font-size: 12px;
    167                         font-weight: 400;
    168                         color: #646970;
    169                         line-height: 1.6;
     172                        box-sizing: border-box;
    170173                }
    171174
     
    187190                .adslastica-card textarea {
    188191                        width: 100%;
    189                         max-width: 680px;
    190                         height: 140px;
    191                         min-height: 140px;
     192                        max-width: 820px;
     193                        height: 180px;
     194                        min-height: 180px;
    192195                        font-family: Consolas, Monaco, monospace;
    193                         font-size: 13px;
    194                         line-height: 1.5;
     196                        font-size: 15px;
     197                        line-height: 1.6;
    195198                        padding: 12px;
    196199                        background: #f6f7f7;
     
    227230
    228231                <div class="adslastica-card adslastica-card-ad-1">
    229                         <h3>
    230                                 Ad 1
    231                                 <span class="adslastica-shortcode">(Shortcode: [adslastica_ad_1])</span>
    232                         </h3>
     232                        <h3>Ad 1</h3>
     233
     234                        <input type="text" value="[adslastica_ad_1]" readonly onclick="this.select();" class="adslastica-shortcode-box">
    233235
    234236                        <form method="post" action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>">
     
    250252
    251253                <div class="adslastica-card adslastica-card-ad-2">
    252                         <h3>
    253                                 Ad 2
    254                                 <span class="adslastica-shortcode">(Shortcode: [adslastica_ad_2])</span>
    255                         </h3>
     254                        <h3>Ad 2</h3>
     255
     256                        <input type="text" value="[adslastica_ad_2]" readonly onclick="this.select();" class="adslastica-shortcode-box">
    256257
    257258                        <form method="post" action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>">
  • adslastica/trunk/readme.txt

    r3529945 r3534693  
    44Requires at least: 5.0
    55Tested up to: 6.9
    6 Stable tag: 1.6.0
     6Stable tag: 1.6.1
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    8585== Changelog ==
    8686
    87 = 1.6.0 =
     87= 1.6.1 =
    8888* Improved admin panel design
    8989* Added shortcode support for Ad 2
Note: See TracChangeset for help on using the changeset viewer.