This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GitHub_Login_Widget extends WP_Widget | |
{ | |
public function __construct() | |
{ | |
parent::__construct( "Github_login_widget", "GitHub Login", array( "description" => __("Display a GitHub Login Button" ) ) ); | |
} | |
public function form( $instance ) { | |
if ( $instance ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'genesis_entry_content', 'themeprefix_color_content' ); | |
// ACF Values | |
// themeprefix_colors Main Repeater Field | |
// themeprefix_color sub-field - list of color values in a single radio button field | |
// Other Sub fields | |
// themeprefix_session |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SubMenu > Sub Menu Vertical*/ | |
.genesis-nav-menu .sub-menu .menu-item:hover > .sub-menu { | |
left: auto; | |
right: initial; | |
margin: initial; | |
} | |
.menu .sub-menu .menu-item > a:focus + ul.sub-menu, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Template Name: Custom WordPress Login | |
*/ | |
global $user_ID; | |
if (!$user_ID) { | |
if($_POST){ | |
//We shall SQL escape all inputs |