Skip to main content
10 events
when toggle format what by license comment
Jan 30, 2018 at 20:42 comment added Paranoia you're a genius!!
Jan 30, 2018 at 20:42 vote accept Paranoia
Jan 30, 2018 at 20:04 history edited Vlad Olaru CC BY-SA 3.0
Handle case for child pages.
Jan 30, 2018 at 20:04 comment added Vlad Olaru Yes. I haven't taken into account the case where there are child pages. Since your custom post type is not hierarchical, it is safe to exclude cases when there are child pages. I have modified my answer. Do let me know if it works and don't forget to market it as the right answer.
Jan 30, 2018 at 15:19 comment added Paranoia I'll change this back to the correct answer, if we have a solution. Unfortunately I am stuck :(
Jan 29, 2018 at 22:05 comment added Paranoia that didn't fully work, if I have a page with a parent (eg. domain.com/parent/page) i get a 404. If I change it to domain.com/page (without the parent) then it works again. Any idea what this could be?
Jan 29, 2018 at 18:27 history bounty ended Paranoia
Jan 29, 2018 at 18:27 vote accept Paranoia
Jan 30, 2018 at 15:10
Jan 29, 2018 at 18:27 comment added Paranoia that helped, I didn't even need to change or refresh the permalinks. Thank you!!
Jan 27, 2018 at 18:14 history answered Vlad Olaru CC BY-SA 3.0