How to make Social Share & Icons, with Ultimatum & Intense Shortcodes; the second post in the series I started a few days ago when I made my first post about the new bundled ‘premium’ plugin for Ultimatum Theme; Intense Shortcodes. This follow-up post, which I had promised some of you on the Ultimatum theme member forums, is about how to set up social share and social (link) icons. Why even make the post, when Ultimatum comes bundled with a plug to add social share and also a widget to make the link icons? I, and others, have found that the bundled plugin, based as it is on a deprecated Facebook function (sharrre.js), does not always work, and I wanted to explore Intense Shortcodes a bit more. The problem with the Intense Shortcodes Social Share shortcode is that it is intended to be used on individual posts, not to be applied to all single post pages. Can it do this? Yes, was the answer I found. Let’s first take a look at the Social Share shortcode itself, as it is used when writing a post.

Intense Shortcodes - Social ShareIntense Shortcodes - Social Share - Insert ShortcodeIntense Shortcodes - Social Share - Done

Having selected Social Share, the next modal popup box gives you a choice of up to nine different social media types;

  • Facebook
  • Google+
  • Twitter
  • Pinterest
  • LinkedIn
  • StumbleUpon
  • Reddit
  • Tumblr
  • Email

(more…)

So, if you have read my earlier posts, you will see that I wanted the site a bit more secure by using Google Two Factor Authentication (2FA). I thought that it would be easy. Install the plugin and go. But no, any plugins you have that handle user login and user profiles need to take account of whether 2FA is installed, and whether you have it set per user, or per user type. Amazingly, none of the paid plugins supports Google 2FA, and few of the free ones do. So far, I have only found the SimpleModal Login plugin that does support 2FA, but only if 2FA activated; it cannot cope if you set 2FA on a per user basis.

On the premise that the easiest solution is best, I am going to see if I can modify the simple User Frontend plugin to work with it. I have written the PHP needed to check whether 2FA is activated, and whether the per user basis is set. Now I need to hack the code of the plugin to see if I can use this. The reason I chose this plugin to hack is that the writer has helpfully split all the functionality down to separate php files. Nice one.