This is a strange question. Plugins are there only to extend WordPress functionality. If you have some problems in using plugins Why not you copy the whole plugin code and paste it in your theme files?