Fix deprecated function warnings
Added twitter sharing plugin