conditionally echo in meta box data loop

$val will never == ” here, because $val is holding your field name, not the data. also, use get_the_value to have it returned, the_value will just echo the data out. foreach ($values as $val) { if ($artinfo_mb->get_the_value($val) != ”){ $artinfo_mb->the_value($val); echo ‘<br />’; } }

simplified explanation on child themes?

You are correct. The child theme would over-ride the parent theme’s loop.php if you made changes. As for a simple tutorial I did a simple Google search, after a quick overview this one seems pretty simple: http://op111.net/53/. Just in case you haven’t been there, here is the WordPress Codex Page.

Multiple Child Themes

No, this is not possible. You can only have one theme activated at any given time. However, you can add as many page templates to a single theme as you want. They just need to be in separate files. For example, my theme contains: page.php ← Standard page template page-archive.php ← Page template for special … Read more

Child Theme Variables

You can make your function filterable: function brickAlign() { $a = “true”; return apply_filters( ‘brick_align’, $a ); } Then, in your child Theme, add a filter callback: function child_theme_filter_brick_align( $a ) { return ‘false’; } add_filter( ‘brick_align’, ‘child_theme_filter_brick_align’ ); Alternately, you could pass a parameter to your function: function brickAlign( $value=”true” ) { // Note: … Read more