We characterize the class of weights related to the boundedness of variable fractional maximal operator MI^2(⋅),r(⋅) on variable Lebesgue spaces. This extend previously known results, including those corresponding to the fractional operator MI^2(⋅),1. In addition, we introduce a class of kernels K satisfying a new variable Hörmander-type condition HI^2(⋅),r(⋅). For the fractional operator TI^2(⋅) given by a kernel in HI^2(⋅),r(⋅), we prove a Coifman-Fefferman inequality and weighted inequalities in variable Lebesgue space. Finally, we provide examples of kernels in this variable Hörmander class.