#1709
AntKat
Spectator

Vladimir,
How might this work on a multisite with replicated content? We provide template websites where all sites have a set of pages (we use mirroring so that we can globally change these specific pages). We do not want anyone except super-admin to edit these pages but once created, individual sites can add more pages. So I can see that the code above would initially work across the network because the page IDs of the original blog template will be the same.

However, wouldn’t this be a problem in the future if we ever wanted to add new mirrored pages across the network because the page IDs for all of the sites will not be the same if some sites add their own pages.

Could the code be written to use slugs rather than IDs?