<?php

// Adding Stylesheet both parent and child theme

function load_theme_stylesheet(){
    wp_enqueue_style('parent-style', get_template_directory_uri() . '/style.css');
    wp_enqueue_style('child-style', get_stylesheet_directory_uri() . '/style.css');
}

add_action('wp_enqueue_scripts', 'load_theme_stylesheet');

if( function_exists('acf_add_options_page') ) {
	
	acf_add_options_page(array(
		'page_title' 	=> 'NPS Top Bar',
		'menu_title'	=> 'NPS Top Bar Settings',
		'menu_slug' 	=> 'nps-tb-settings',
		'capability'	=> 'edit_posts',
		'redirect'		=> false
	));
	
}