get( 'Name' ); $version = $theme->get( 'Version' ); return sprintf( __( '%1$s v%2$s – a child theme of %3$s', 'arcanum' ), $theme, $version, $parent ); } // arcanum_admin_version_output() // this filter is applied in arcanum_setup() /** * Extend description to reference the use of the child theme */ function arcanum_custom_description( $description ) { // Child theme $theme = wp_get_theme(); $template = esc_attr( $theme->get( 'Template' ) ); $name = esc_attr( $theme->get( 'Name' ) ); // Parent theme $template_theme = wp_get_theme( $template ); $template_desc = $template_theme->get( 'Description'); $output = '

' . sprintf( esc_attr__( '%1$s is a child theme of %2$s', 'arcanum' ), $name, ucfirst( $template ) ) . '

'; return $output . $description . '



' . $template_desc . ''; } // arcanum_custom_description() // this filter is added in arcanum_setup() // FIN