> <?php if (is_front_page()): ?><?php bloginfo( 'name' ); ?><?php else: ?><?php wp_title(''); ?> | <?php bloginfo( 'name' ); ?><?php endif; ?> get_var("SELECT parent FROM ".$wpdb->prefix."term_taxonomy WHERE term_id = $ccat"); $pcate = 'category_'.$pcat; } elseif (is_single()) { $cats = get_the_category(); if ( $cats && !is_wp_error( $cats ) ) { $cat = array_pop($cats); } $ccat = $cat; $ccate = 'category_'.$ccat->cat_ID; $pcat = $ccat->category_parent; $pcate = 'category_'.$pcat; } ?> name; } elseif (get_field('global',$pcate)) { $gid = get_field('global',$pcate); $menu = wp_get_nav_menu_object($gid)->name; } else { $menu = 'Gridglobal'; } ?> count; $fgm = wp_get_nav_menu_object('Global'); $fmw = 97/$fgm->count; ?>
get_var("SELECT ID FROM $wpdb->posts WHERE post_name = 'config'"); $pid2 = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE post_name = 'config2'"); ?>

<?php the_field('logoalt',$pid); ?>

<?php the_field('rightalt',$pid); ?>
'HeadMenu', 'container' => '', 'menu_class' => 'clearfix',)); ?>
get_var("SELECT parent FROM ".$wpdb->prefix."term_taxonomy WHERE term_id = $ccat"); ?> <?php single_cat_title(); ?> <?php single_cat_title(); ?> category_parent; ?> <?php the_title(); ?>> cat_ID)) { ?> term_id)) { $attachment_id = get_field('title','category_'.$ccat->term_id); $size = 'titles'; $image = wp_get_attachment_image_src( $attachment_id, $size ); ?><?php echo $ccat->cat_name; ?>term_id)) { $attachment_id = get_field('title','category_'.$pcat->term_id); $size = 'titles'; $image = wp_get_attachment_image_src( $attachment_id, $size ); ?> <?php echo get_cat_name($pcat); ?>