I've solved this bug issue by using return value from fnc_slidershowing function. When we use echo, its contents will be appear in header or top portion of website. Now its working well. Details code https://wordpress.com/post/mamuncse0057.wordpress.com/127