{"id":39463,"date":"2015-10-21T15:29:02","date_gmt":"2015-10-21T15:29:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/loginizr\/"},"modified":"2015-10-21T15:33:40","modified_gmt":"2015-10-21T15:33:40","slug":"loginizr","status":"publish","type":"plugin","link":"https:\/\/pl.wordpress.org\/plugins\/loginizr\/","author":109967,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"4.3.34","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"Loginizr","header_author":"ontiuk","header_description":"","assets_banners_color":"","last_updated":"2015-10-21 15:33:40","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/tbc","header_plugin_uri":"http:\/\/on.tinternet.co.uk","header_author_uri":"http:\/\/on.tinternet.co.uk","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1396,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>Download the update and follow the install instructions, overwriting the files. Future versions via WordPress admin UI.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2768,602],"plugin_category":[38,43],"plugin_contributors":[130035],"plugin_business_model":[],"class_list":["post-39463","plugin","type-plugin","status-publish","hentry","plugin_tags-customizer","plugin_tags-login","plugin_category-authentication","plugin_category-customization","plugin_contributors-tifosi","plugin_committers-tifosi"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/loginizr.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin allows the user to completely customise the look and feel of the WordPress login page from the comfort of the WordPress admin customizer interface.<\/p>\n\n<ul>\n<li>Dynamically creates a custom login css file to override default values<\/li>\n<li>Fully integrated with WordPress Customiser<\/li>\n<li>Intuitive interface with sections &amp; settings<\/li>\n<li>Filters to override defaults via your parent\/child theme<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<ol>\n<li>Go to Appearance &gt; Customise<\/li>\n<li>Select the Login Customiser Menu Panel<\/li>\n<li>Select from the available sections and change the settings as required. Once changed the save &amp; publish button will be available. Select this to save changes. These will be available to the login screen when next logging in, or as below.<\/li>\n<\/ol>\n\n<p>The plugin dynamically creates a new login css file for the login page only which contains css settings that override the default styling.<\/p>\n\n<p>The login panel of course is only available to non logged-in users, so testing the changes can be done via logging out \/ in, or better via using a separate computer, or via testing with a different browser e.g. logged in via IE, not logged in on chrome.<\/p>\n\n<h3>Filters<\/h3>\n\n<p>The default values displayed in the Admin UI customiser can be modified via a selection of filters.<\/p>\n\n<p>Panel:\nloginizr_panel - Panel name, default: lognizr_panel\nadd_filter ( 'loginizr_panel', set_loginizr_panel, 10, 1);\nfunction set_loginizr_panel ( $default ) {\n    return 'loginizr';\n}<\/p>\n\n<p>loginizr_priority - Panel priority, default: 30\nadd_filter ( 'loginizr_priority', set_loginizr_priority, 10, 1);\nfunction set_loginizr_priority ( $default ) {\n    return 40; \/\/ put lower down order\n}<\/p>\n\n<p>loginizr_title - Panel title, default: Login Customizer\nadd_filter( 'loginizr_title',set_loginizr_title, 10, 1);\nfunction set_loginizr_title ( $title ) {\n    return __( 'Loginizr', 'wordpress' ); \n}<\/p>\n\n<p>loginizr_description - Panel description, default: Customize the generic WordPress login page\nadd_filter( 'loginizr_description', set_loginizr_description, 10, 1);\nfunction set_loginizr_title ( $desc ) {\n    return __( 'Customize your WordPress Login Page', 'wordpress' ); \n}<\/p>\n\n<p>Section: Each section has a filter for priority &amp; title<\/p>\n\n<p>add_filter( 'loginizr_section_priority', 'set_loginizr_section_priority', 10, 2 );\nfunction set_loginizr_section_priority( $priority, $section = '' ) {<\/p>\n\n<pre><code>\/\/ basic check, can also add check against set section names\nif ( empty( $section ) ) { return $priority; } \n\n\/\/check section name\nswitch( $section ) {\n    case 'background':\n        return 5;\n    case 'logo':\n        return 10;\n    case 'form_bg':\n        return 15;\n    case 'form':\n        return 20;\n    case 'field':\n        return 25;\n    case 'button':\n        return 30;\n    case 'other':\n        return 35;\n    default:\n        return $priority;\n}   \n<\/code><\/pre>\n\n<p>}<\/p>\n\n<p>add_filter( 'loginizr_section_title', 'set_loginizr_section_title', 10, 2 );\nfunction set_loginizr_section_title( $title, $section = '' ) {<\/p>\n\n<pre><code>\/\/ basic check, can also add check against set section names\nif ( empty( $section ) ) { return $title; } \n\n\/\/check section name\nswitch( $section ) {\n    case 'background':\n        return __( 'Background', 'txt' );\n    case 'logo':\n        return __( 'Logo', 'txt' );\n    case 'form_bg':\n        return __( 'Form Background', 'txt' );\n    case 'form':\n        return __( 'Form', 'txt' );\n    case 'field':\n        return __( 'Field', 'txt' );\n    case 'button':\n        return __( 'Button', 'txt' );\n    case 'other':\n        return __( 'Other', 'txt' );\n    default:\n        return $title;\n}   \n<\/code><\/pre>\n\n<p>}<\/p>\n\n<p>Settings: Some settings with default values also have available filters<\/p>\n\n<p>add_filter ( 'loginizr_bg_color', set_loginizr_bg_color, 10, 1);\nfunction set_loginizr_priority ( $default ) {\n    return '#fff'; \/\/ valid hex or rbg value, default #f1f1f1\n}<\/p>\n\n<p>add_filter ( 'loginizr_logo_width', set_loginizr_logo_width, 10, 1);\nfunction set_loginizr_logo_width ( $default ) {\n    return '100px'; \/\/default 125px\n}<\/p>\n\n<p>add_filter ( 'loginizr_logo_height', set_loginizr_logo_height, 10, 1);\nfunction set_loginizr_logo_height ( $default ) {\n    return '60px'; \/\/default 50px\n}<\/p>\n\n<p>add_filter ( 'loginizr_logo_padding', set_loginizr_logo_padding, 10, 1);\nfunction set_loginizr_logo_padding ( $default ) {\n    return '10px'; \/\/default 5px\n}<\/p>\n\n<p>add_filter ( 'loginizr_form_bg_color', set_loginizr_form_bg_color, 10, 1);\nfunction set_loginizr_form_bg_color ( $default ) {\n    return '#fff'; \/\/ calid hex or rgb value, default #fff\n}<\/p>\n\n<p>add_filter ( 'loginizr_form_width', set_loginizr_form_width, 10, 1);\nfunction set_loginizr_form_width ( $default ) {\n    return '400px'; \/\/valid css width default 320px \n}<\/p>\n\n<p>add_filter ( 'loginizr_form_height', set_loginizr_form_height, 10, 1);\nfunction set_loginizr_form_height ( $default ) {\n    return '100px'; \/\/default 194px\n}<\/p>\n\n<p>add_filter ( 'loginizr_form_padding', set_loginizr_form_padding, 10, 1);\nfunction set_loginizr_form_padding ( $default ) {\n    return '10px'; \/\/calid padding css, default 26px 24px 46px\n}<\/p>\n\n<p>add_filter ( 'loginizr_field_width', set_loginizr_field_width, 10, 1);\nfunction set_loginizr_field_width ( $default ) {\n    return '90%'; \/\/ percentage or px value, default 100%\n}<\/p>\n\n<p>add_filter ( 'loginizr_field_margin', set_loginizr_field_margin, 10, 1);\nfunction set_loginizr_field_margin ( $default ) {\n    return '10px'; \/\/ valid margin: css , default 2px 6px 16px 0px\n}<\/p>\n\n<p>add_filter ( 'loginizr_field_bg', set_loginizr_field_bg, 10, 1);\nfunction set_loginizr_field_bg ( $default ) {\n    return '#ccc'; \/\/ valid css hex\/rgb, default #fff \n}<\/p>\n\n<p>add_filter ( 'loginizr_field_color', set_loginizr_field_color, 10, 1);\nfunction set_loginizr_field_color ( $default ) {\n    return '#ccc'; \/\/valid hex\/rgb, default #333\n}<\/p>\n\n<p>add_filter ( 'loginizr_field_label_color', set_loginizr_field_label_color, 10, 1);\nfunction set_loginizr_field_label_color ( $default ) {\n    return '#ccc'; \/\/valid hex\/rgb, default #777\n}<\/p>\n\n<p>add_filter ( 'loginizr_button_color', set_loginizr_buttoncolor, 10, 1);\nfunction set_loginizr_button_color ( $default ) {\n    return '#ccc'; \/\/valid hex\/rgb, default #fff\n}<\/p>\n\n<p>add_filter ( 'loginizr_button_bg', set_loginizr_button_bg, 10, 1);\nfunction set_loginizr_button_bg ( $default ) {\n    return '#ccc'; \/\/valid hex\/rgb, default #2EA2CC \n}<\/p>\n\n<p>add_filter ( 'loginizr_button_border', set_loginizr_button_border, 10, 1);\nfunction set_loginizr_button_border ( $default ) {\n    return '#ccc'; \/\/valid hex\/rgb, default #0074A2\n}<\/p>\n\n<p>add_filter ( 'loginizr_button_hover_bg', set_loginizr_button_hover_bg, 10, 1);\nfunction set_loginizr_button_hover_bg ( $default ) {\n    return '#ccc'; \/\/valid hex\/rgb, default #1E8CBE\n}<\/p>\n\n<p>add_filter ( 'loginizr_button_hover_border', set_loginizr_button_hover_border, 10, 1);\nfunction set_loginizr_button_hover_border ( $default ) {\n    return '#ccc'; \/\/valid hex\/rgb, default #0074A2\n}<\/p>\n\n<p>add_filter ( 'loginizr_button_hover_shadow', set_loginizr_button_hover_shadow, 10, 1);\nfunction set_loginizr_button_hover_shadow ( $default ) {\n    return '#ccc'; \/\/valid hex\/rgb, default #78C8E6 \n}<\/p>\n\n<p>add_filter ( 'loginizr_other_color', set_loginizr_other_color, 10, 1);\nfunction set_loginizr_other_color ( $default ) {\n    return '#fff'; \/\/valid hex\/rgb, default #999 \n}<\/p>\n\n<p>add_filter ( 'loginizr_other_hover', set_loginizr_other_hover, 10, 1);\nfunction set_loginizr_other_hover ( $default ) {\n    return '#fff'; \/\/valid hex\/rgb, default #2EA2CC\n}<\/p>\n\n<!--section=installation-->\n<p>1a. Upload the plugin folder to the \/wp-content\/plugins\/ directory. Activate the plugin through the 'Plugins' menu in WordPress OR\/\n1.b. Upload the plugin zip file via the WordPress plugin interface, either by uploading the dowloaded zip file, or via installing directly from the WordPress repository.<\/p>\n\n<p>The Login Customizer panel will then be available via the Appearance &gt; Customize option to all users with at least edit_theme_options permission.<\/p>\n\n<!--section=faq-->\n<p>Support via github: https:\/\/github.com\/ontiuk\/Loginizr\/<\/p>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Control the look &amp; feel of your WordPress login page through the WordPress Customizer.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/39463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=39463"}],"author":[{"embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tifosi"}],"wp:attachment":[{"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=39463"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=39463"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=39463"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=39463"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=39463"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=39463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}