Timeline for Adding custom post types to archive
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 12, 2020 at 16:11 | answer | added | Nicola Modugno | timeline score: 0 | |
S Mar 25, 2020 at 2:45 | history | suggested | WordPress Speed | CC BY-SA 4.0 |
make the question more readable
|
Mar 25, 2020 at 0:23 | review | Suggested edits | |||
S Mar 25, 2020 at 2:45 | |||||
Jan 6, 2020 at 0:57 | comment | added | Jacob Peattie |
You shouldn't need any code. As long as has_archive is true when registering the post type you will get an archive automatically at /asana/
|
|
Jan 5, 2020 at 12:25 | comment | added | Timothy Burgin | No, I just want to show 1 cpt in the archive. The specific name is "asana" and if I change this nothing shows in the archive. | |
Jan 5, 2020 at 5:50 | comment | added | Michael | what are the names of your custom post types? are you trying to include more than one custom post type into the archive? | |
Jan 4, 2020 at 15:54 | history | asked | Timothy Burgin | CC BY-SA 4.0 |