Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m having a very similar issue. I’ve explored the plugin files and I’ve found logo files, but I’m not sure where to put the icon for a login option.

    You might be interested in Generate wsl widget with Font Awesome icons from the code snipets page.

    function wsl_use_fontawesome_icons( $provider_id, $provider_name, $authenticate_url )
    {
    	?>
    	<a
    		rel           = "nofollow"
    		href          = "<?php echo $authenticate_url; ?>"
    		data-provider = "<?php echo $provider_id ?>"
    		class         = "wp-social-login-provider wp-social-login-provider-<?php echo strtolower( $provider_id ); ?>"
    		>
          <span>
             <i class="fa fa-<?php echo strtolower( $provider_id ); ?>"></i>
             Sign in with <?php echo $provider_name; ?>
          </span>
    	</a>
    <?php
    }
    
    add_filter( 'wsl_render_auth_widget_alter_provider_icon_markup', 'wsl_use_fontawesome_icons', 10, 3 );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to change the icons’ is closed to new replies.