Bootstrap Templates Bundle

Sunday, April 7, 2013

Auto install plugins on theme activation or Bundling Plugins with Themes

If any one wants to add a plugins with his theme, below steps will help him

1. At first download a plugins which you want to add with your theme ,suppose facebook-like-box-widget

2.Make a folder, suppose iclt, and put the plugins file into your iclt folder

3. Then In the ‘functions.php’ file of the template add this line at the end:

               include TEMPLATEPATH . '/iclt/facebook-like-box-widget.php';


4. That's all , check your widget options. There you can find the facebook-like-box-widget


No comments:

Post a Comment

Wokiee React eCommerce Template