Search
Skip to content
  • Knowledge Base
Heateor Social Login

Heateor Social Login Shortcode and Widget

admin

If you are using Heateor Social Login plugin for Social Login, follow the steps mentioned below to enable social login in the content of individual page/post.

You would like to read this post to use the shortcode without causing any problems at your site.

Heateor Social Login Shortcode

Use [Heateor_Social_Login] Shortcode in the content of required page/post where you want to display Social Login interface.

Example
[Heateor_Social_Login]
You can use “style” attribute in the Shortcode to style the rendered Social Login interface.

Example
[Heateor_Social_Login style="background-color:#000;"]


You can use “title” attribute in the Shortcode to specify title above Social Login interface. This will be displayed if user is not logged in.

Example
[Heateor_Social_Login title="Login with your Social Account"]


You can use “show_username” attribute in the shortcode to show username, avatar and logout link to logged in users.

Example
[Heateor_Social_Login show_username="ON"]


You can use “redirect_url” attribute in the shortcode to specify a custom redirection url to redirect users to after social login.

Example
[Heateor_Social_Login redirect_url="https://yourwebsite.com/redirect-here-after-social-login"]

You can use shortcode in PHP file as following

<?php echo do_shortcode('SHORTCODE') ?>

Replace SHORTCODE in above code with the required shortcode like [Heateor_Social_Login style=”background-color:#000;”], so the final code looks like following
<?php echo do_shortcode('[Heateor_Social_Login style="background-color:#000;"]') ?>


Widget

You can navigate to the Appearance > Widgets section from the left sidebar and enable Heateor Social Login widget in the required area

Post navigation

Previous PostHow to Get Spotify Client ID and Client Secret?Next PostHow to Get Foursquare Client ID and Secret?

Get Social!!

Best social tools to boost user engagement at your WordPress website. Used by 150000+ websites

Try it now
Facebook
© 2025 Heateor | Terms | Privacy
Proudly powered by WordPress