Final. Deploy ready
This commit is contained in:
parent
efa0e97eaf
commit
67d59c1779
@ -13,7 +13,7 @@ get_header();
|
||||
$post_id = get_the_ID();
|
||||
$theme_uri = get_template_directory_uri();
|
||||
|
||||
// ─── ДАННЫЕ ОРГАНИЗАЦИИ: WP Options (primary) → Carbon Fields (fallback) ───
|
||||
// ─── ДАННЫЕ ОРГАНИЗАЦИИ: ───
|
||||
$opt_city_prep = get_option( 'branch_city_prep' ) ?: get_field( 'camp_city', $post_id ) ?: carbon_get_post_meta( $post_id, 'camp_city' ) ?: carbon_get_theme_option( 'site_city' ) ?: 'в городе';
|
||||
$opt_city = get_option( 'branch_city' ) ?: carbon_get_theme_option( 'site_city' ) ?: 'городе';
|
||||
$opt_region = get_option( 'branch_region' ) ?: carbon_get_theme_option( 'site_region' ) ?: 'Московская область';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user