Shubham Kumar

Hey, I am Shubham and i love Blogging, Coding and exploring new things and obviously sharing my experience with you.

You may also like...

3 Responses

  1. Nitesh says:

    Hello Shubham,
    Thanks for sharing this. Actually Harsh from shoutmeloud as also made a WordPress plugin that works like this but he has made it a paid plugin and yours is free. So, if you can really convert it into a WordPress Plugin and upload on WordPress Plugin directory. It will be of great use of many other WordPress users like me.

    Now coming to the solution that you provided. I tried everything but nothing seems working. First of all I tried to download and install the plugin from Github on my WordPress site but it doesn’t seem to be a WordPress plugin . So, it’s not working.

    Then I tried to insert the java script that you wrote above under the header of WordPress after body tag and then try to call subscribe button using ‘ytSubscribe-btn’ but it still didn’t work.

    Why don’t you write a post for using this trick by taking a WordPress site. Please do so and kindly explain me how can use this on my WordPress site.

    Thank you.

    Nitesh

    • Hi Nitesh,

      Thanks for your feedback. I’m also a reader of Harsh blog ShoutMeLoud, but didn’t know that he created a paid plugin.

      Coming to your question, I have also just copied and paste this code in this blog. I haven’t created any external plugin for this purpose.

      If you can share your code, then I can understand better, where is the fault.

      Best Regards,
      Shubham

      • Nitesh says:

        First of all thank you for creating the WordPress plugin. I was just asking that suppose I wouldn’t have made a WordPress plugin and if thought to use the jquery plugin and other codes that you have explained to my WordPress website. How can I do it ?
        Where should I put the .js file and how to recall it ? Do I need to add scripts under function.php or header.php?

        But first kindly check the WordPress plugin that you have just created. It’s no working for me? I have installed, edited and activated it correctly but still NO subscribe button below youtube videos 🙁

Leave a Reply

Your email address will not be published. Required fields are marked *