contentiskey on "CPT Archive is Not Found"

ساخت وبلاگ

pinksharpii
Member
Posted 11 minutes ago #

I created a custom post type press-release. Originally it had has_archive set to false but I changed that to true after I created the press release posts.
I have an option to change the url for the press releases to /press instead of /press-release.
`'rewrite' => array('slug' => '/press','with_front' => true),

The posts themselves all resolve fine. But the Archive page does not. I tried /press and /press-release and even /press-releases. Nothing works. I've saved the Permalink settings a handful of times.
I have an archive.php file. It's basic but it exists.

have you tried resetting your permalinks?

update your permalinks

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 211 تاريخ : چهارشنبه 29 ارديبهشت 1395 ساعت: 0:10