Replace for depriciated getbaseurl template plugin