TecPoster Social WordPress Plugin

Here is a tutorial to show you how to write a wordpress plugin for social media like facebook, twitter, linked and so on.

File Structure

Go to folder “wp-content/plugings”, create sub folders and files base on the plugin name:

Folder “tecposter-social” and File “tecposter-social.php”  are best to be unique, otherwise they will conflict with others when upload the plugin to the http://wordpress.org/plugins/  or other plugins repository.


The file “readme.txt” is necessary if want to host your Plugin on http://wordpress.org/extend/plugins/ . See http://wordpress.org/extend/plugins/about/readme.txt for a description of the format

Right now we just created a wordpress plugin but no use. We still can go to the page “/wp-admin/plugins.php” to check the new plugin.


Well begin is half done.

Linkedin profile sidebar widget

Widgets API: http://codex.wordpress.org/Widgets_API

Create widgets folder and files:

Go to linkedin profile plugin page: https://developer.linkedin.com/member-profile-plugin to get the embed js codes and modify the function “widget” in the file “widgets/linkedin-profile.php”:

Then add the following codes in the “tecposter-social.php”

Github: https://github.com/anthonyzhan/tecposter-social 

Leave a Reply

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