You should return the div element as a variable, like
$subscribe="<div>...</div>"; return $subscribe;
By doing echo function, the output is sometimes on top.
You should return the div element as a variable, like
$subscribe="<div>...</div>"; return $subscribe;
By doing echo function, the output is sometimes on top.