list child pages as slug

Ok, this code should set you on the right path. It’s not designed to do exactly what you want, but judging by your code above, you seem fairly compitent, so should be able to amend as required. I’d also recommend looking at the Walker_Page Class, that way you can compare the methods below to those … Read more

Should I use a Meta field or custom table?

I can’t really speak to the performance simply because I’ve not dug in to the internals. But from a pure logic approach the custom meta makes more sense to me. The reason being that, at least from your description, you only really need a single field for each post/page. All you’re doing is reading a … Read more

Custom metabox with App Store / Google Play links

Ok, with the use of this ‘plugin’ (JareDatch). It works like a charm. add_filter( ‘cmb_meta_boxes’, ‘cmb_sample_metaboxes’ ); /** * Define the metabox and field configurations. ** @param array $meta_boxes * @return array */ function cmb_sample_metaboxes( array $meta_boxes ) { // Start with an underscore to hide fields from custom fields list $prefix = ‘_cmb_’; $meta_boxes[] … Read more