Add get theme posts before api