Changeset 2888946
- Timestamp:
- 03/29/2023 08:00:50 AM (3 years ago)
- Location:
- linky/trunk
- Files:
-
- 5 edited
-
linky.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
src/Entity/Page.php (modified) (1 diff)
-
views/appareance.php (modified) (1 diff)
-
views/front/page.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
linky/trunk/linky.php
r2871722 r2888946 11 11 Plugin URI: https://www.undefined.fr 12 12 Description: Create & manage link’s hub for your social profile directly in your websites 13 Version: 1.4. 413 Version: 1.4.5 14 14 Author Name: Nicolas RIVIERE (hello@undefined.fr) 15 15 Author: Nicolas RIVIERE (Undefined) … … 23 23 use LinkyApp\Helper\WPLinkyHelper; 24 24 25 define('UNDFND_WP_LINKY_VERSION', '1.4. 4');25 define('UNDFND_WP_LINKY_VERSION', '1.4.5'); 26 26 define('UNDFND_WP_LINKY_DOMAIN', 'linky'); 27 27 define('UNDFND_WP_LINKY_SLUG', 'wp-linky'); -
linky/trunk/readme.txt
r2871722 r2888946 5 5 Requires at least: 4.0 6 6 Tested up to: 6.1.1 7 Stable tag: 1.4. 47 Stable tag: 1.4.5 8 8 Requires PHP: 5.4 9 9 License: GPLv2 or later … … 214 214 * add mastodon social 215 215 216 =1.4.5= 217 * footer does not display by default 218 216 219 == Upgrade Notice == 217 220 -
linky/trunk/src/Entity/Page.php
r2462845 r2888946 152 152 public $labels; 153 153 154 /** 155 * @var string $show_footer 156 */ 157 public $show_footer; 158 154 159 public function __construct($data = []) 155 160 { -
linky/trunk/views/appareance.php
r2716180 r2888946 250 250 <div class="clearfix"></div> 251 251 </div> 252 </div> 253 <div class="separator-form"></div> 254 <h3><?php echo __('Footer', 'linky'); ?></h3> 255 <div class="col-lr"> 256 <div class="fom-control"> 257 <div class="form-field"> 258 <?php $show_footer = WPLinkyHelper::getOptionValue('show_footer', $appareance); ?> 259 <label for="show_footer"><?php echo __('Display "Powered by Undefined"', 'linky'); ?></label> 260 <input type="radio" id="show_footer" value="yes" name="show_footer" <?php echo $show_footer == 'yes' ? 'checked' : ''; ?>> <span><?php echo __('Yes', 'linky'); ?></span> 261 <input type="radio" value="no" name="show_footer" <?php echo empty($show_footer) || $show_footer != 'yes' ? 'checked' : ''; ?>> <span><?php echo __('No', 'linky'); ?></span> 262 </div> 263 </div> 252 264 <div class="form-field"> 253 265 <div class="pull-right"> -
linky/trunk/views/front/page.php
r2784121 r2888946 38 38 </div> 39 39 <?php endif; ?> 40 <?php require_once UNDFND_WP_LINKY_PLUGIN_DIR . 'views/front/footer.php'; ?> 40 <?php if($page->get('show_footer') == 'yes'): ?> 41 <?php require_once UNDFND_WP_LINKY_PLUGIN_DIR . 'views/front/footer.php'; ?> 42 <?php else: ?> 43 <footer class="footer"></footer> 44 <?php endif; ?> 41 45 </div>
Note: See TracChangeset
for help on using the changeset viewer.