/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */


/**
 * Need To Talk — Clients CMS
 *
 * Creates a headless-only Clients post type with:
 * - Client name: Post title
 * - Client logo: Featured image
 * - Display order: ntt_client_order
 * - Status: Draft / Published
 * - REST endpoint: /wp-json/wp/v2/clients
 */

/* ---------------------------------------------------------
 * 1. Enable featured images for Clients
 * --------------------------------------------------------- */

add_action( 'after_setup_theme', 'ntt_clients_enable_thumbnails' );

function ntt_clients_enable_thumbnails() {
	add_theme_support( 'post-thumbnails', array( 'ntt_client' ) );
}


