As a high performance polymer, PCA-poly(arylene ether ketone) (PAEK) was first used as a template to fabricate hybrid copper oxide (CuO)/cadmium oxide (CdO) nanofibers (NFs) via electrospinning and subsequent calcination. Porous NFs with a mean diameter of 463 nm were obtained. The formation of morphology was decided by the ion exchange reaction between the functional groups on polymer template and metal ions, which was proved by Fourier transform infrared spectra. Energy-dispersive X-ray spectrometer and X-ray powder diffractometry spectra demonstrated the obtained substance was CuO/CdO compound. The products were then investigated in detail for direct electrocatalytic oxidation of glucose, which was evaluated by cyclic voltammetry and chronoamperometry. Results revealed a similar anti-interference, higher sensitive, and faster response of glucose than the fibers produced from traditional template at +0.40 V. The improved performances were ascribed to the porous morphology which increased the surface-to-volume ratio. The porous morphology was found to be decided by the immobilization of metal ions onto PCA-PAEK. In conclusion, the functional group on PCA-PAEK side chain was the decisive factor to prepare CuO/CdO NFs with special morphology and good electrooxidation performances.