Two ambipolar and thermally stable poly(triphenylamine)s with pendent anthraquinone acceptors were readily synthesized and prepared for the investigation of side-chain and linkage-mediated effects on the memory behaviour.