WordPress.org

Plugin Directory

Changeset 1667698


Ignore:
Timestamp:
05/31/17 13:09:29 (6 months ago)
Author:
sareiodata
Message:

added settings link to plugin action links and worked on a small css issue with the to the side template

Location:
custom-login-page-templates/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • custom-login-page-templates/trunk/custom-login-templates.php

    r1667452 r1667698  
    55 * Author: Cozmoslabs, Madalin Ungureanu, Antohe Cristian, 
    66 * Author URI:  https://www.cozmoslabs.com/ 
    7  * Version: 0.1 
     7 * Version: 1.0 
    88 
    99== Copyright == 
     
    7070} 
    7171 
     72/** 
     73 * Add Plugin Action Links to Custom Login Page settings 
     74 * 
     75 * @since v.1.0 
     76 * 
     77 * @return array 
     78 */ 
     79add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'clpt_add_action_links' ); 
     80 
     81function clpt_add_action_links ( $links ) { 
     82    $mylinks = array( 
     83        '<a href="' . admin_url('customize.php?autofocus[panel]=clpt_panel&url=') . wp_login_url() . '">Settings</a>', 
     84    ); 
     85    return array_merge( $links, $mylinks ); 
     86} 
     87 
    7288function clpt_admin_style() { 
    7389    wp_enqueue_style( 'admin_style', CLPT_URL . 'assets/admin.css',array(), CLPT_VERSION, false ); 
  • custom-login-page-templates/trunk/readme.txt

    r1667497 r1667698  
    33Donate link: http://www.cozmoslabs.com/ 
    44Tags: custom login, custom login page,wordpress custom login page 
    5  
    65Requires at least: 4.5 
    76Tested up to: 4.7.2 
    8 Stable tag: 0.1 
     7Stable tag: 1.0 
    98License: GPLv2 or later 
    109License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    3837* when using WordPress as a web-app, customize the login and registration to be similar to the look and feel of the rest of the site 
    3938* when managing multiple WordPress sites, having different logos makes it easier to differentiate between sites 
    40  
    41 = Extend Custom Login Page Templates = 
    42  
    43 The WordPress Custom Login Page Templates plugin is developer friendly. You can learn how to extend it by following our [step by step tutorial](http://www.cozmoslabs.com/wordpress-paid-member-subscriptions/?utm_source=wp.org&utm_medium=pms-description-page&utm_campaign=PMSFree) 
    44 on how we've created the plugin. 
    45  
    46 The tutorial goes through everything from : 
    47  
    48 * creating a customizer panel, sections and controls 
    49 * making the customizer work for wp-login.php 
    50 * adding an admin bar button that takes us directly to the customizer 
    51 * tips on how to use the customizer for plugin development in general 
    52  
    5339 
    5440== Installation == 
     
    8470 
    8571== Changelog == 
     72= 1.0 = 
     73* Link to the customization page from the Plugin install UI 
     74* Fix CSS bug for the To The Side Template 
    8675= 0.1 = 
    8776* Initial Version of WordPress Custom Login Page Templates 
  • custom-login-page-templates/trunk/templates/totheside/style.css

    r1667452 r1667698  
    11body{ 
    2     /*background: url(surreal_sunset_uhd.jpg) center center repeat #fff !important;*/ 
    32    background-size: cover; 
     3 
     4    display: flex; 
     5    align-items: stretch; 
    46} 
    57 
    68#login{ 
     9    display: block; 
    710    box-sizing: border-box; 
    8     padding: 8% 20px 0 20px; 
     11    padding: 20px 20px 0 20px; 
    912    width: auto; 
    1013    max-width: 400px; 
    1114    margin: 0; 
    12     height: 100%; 
    1315    background: #fff; 
    1416} 
Note: See TracChangeset for help on using the changeset viewer.